Create an S3 Instant Access endpoint
Creates an endpoint that provides instant access to a protection group backup at a specific backup point or arbitrary point-in-time if the S3 continuous backup is enabled.
- application/json
Request Body required
- expiry_timestamp string
The time that this endpoint expires at in RFC-3339 format.
- name string required
The user-assigned name of the S3 instant access endpoint.
source object required
The parameters for creating a S3 instant access endpoint.
backup_id stringThe Clumio-assigned ID of the protection group S3 asset backup or protection group backup to be restored. Use the endpoints GET /backups/protection-groups/s3-assets for protection group S3 asset backup, and GET /backups/protection-groups for protection group backups to fetch valid values.
Note that only one of eitherbackup_id
orpitr
must be provided.object_filters object
Search for or restore only objects that pass the source object filter.
etag stringFilter for objects with this etag.
latest_version_only boolean requiredIf set to true, filter for latest versions only. Otherwise, all versions will be returned.
max_object_size_bytes int64Filter for objects with at most this size in bytes.
min_object_size_bytes int64Filter for objects with at least this size in bytes.
object_key_contains stringFilter for objects whose key contains this string.
object_key_matches stringFilter for objects whose key matches this string.
object_key_prefix stringFilter for objects that start with this key prefix.
object_key_suffix stringFilter for objects that end with this key suffix.
storage_classes string[]Storage class to include in the restore. If not specified, then all objects across all storage classes will be restored. Valid values are:
S3 Standard
,S3 Standard-IA
,S3 Intelligent-Tiering
andS3 One Zone-IA
.version_id stringFilter for objects with this version ID.
pitr object
The parameters to initiate a point-in-time creation of S3 instant access endpoint.
Note that only one of eitherbackup_id
orpitr
must be provided.restore_end_timestamp stringThe end time of the period in which the objects must be restored in RFC-3339 format. Objects modified before this given time will be restored. If
restore_end_timestamp
is provided withoutrestore_start_timestamp
, then it is the same as a point-in-time restore.restore_start_timestamp stringThe start time of the period in which the objects must be restored in RFC-3339 format. Objects modified since the given time will be restored.
protection_group_s3_asset_id string requiredClumio-assigned ID of protection group S3 asset, representing the bucket within the protection group to restore from. Use the GET /datasources/protection-groups/s3-assets endpoint to fetch valid values.
- 202
- default
Success
- application/api.clumio.restored-protection-group-instant-access-endpoints=v1+json
- Schema
- Example (from schema)
Schema
_embedded object
Embedded responses related to the resource.
read-task Embeds the associated task of a resource in the response if requested using the `embed` query parameter.Embeds the associated task of a resource in the response if requested using the
embed
query parameter._links object
URLs to pages related to the resource.
_self object
The HATEOAS link to this resource.
href stringThe URI for the referenced operation.
templated booleanDetermines whether the "href" link is a URI template. If set to
true
, the "href" link is a URI template.type stringThe HTTP method to be used with the "href" link for the referenced operation.
read-protection-group-instant-access-endpointURL to the detailed information of the instant access endpoint
read-task object
A HATEOAS link to the task associated with this resource.
href stringThe URI for the referenced operation.
templated booleanDetermines whether the "href" link is a URI template. If set to
true
, the "href" link is a URI template.type stringThe HTTP method to be used with the "href" link for the referenced operation.
- id string
The Clumio-assigned ID of the S3 instant access endpoint.
- task_id string
The Clumio-assigned ID of the task created by this instant access creation request. The progress of the task can be monitored using the
GET /tasks/{task_id}
endpoint.
{
"_embedded": {},
"_links": {
"_self": {
"href": "string",
"templated": true,
"type": "string"
},
"read-task": {
"href": "string",
"templated": true,
"type": "string"
}
},
"id": "string",
"task_id": "string"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
A list of errors encountered during runtime.
error_code uint32error_message stringThe reason for the error.
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}