Restore an S3 bucket whose Clumio Backtrack is enabled
Restores the specified S3 bucket to the specified target destination using Clumio Backtrack.
- application/json
Request Body required
source object required
target object required
- type string
Possible values: [
Rollback
,Undo delete marker
]Type to be used during restore. If not specified, the default value is "Rollback". "Rollback" and "Undo delete marker" values will be deprecated. Use "rollback" and "undo_delete_marker" respectively. The default value will be changed when old values are deprecated.
Responses
- 202
- default
Success
- application/api.clumio.restored-aws-s3-buckets=v1+json
- Schema
- Example (from schema)
Schema
_embedded object
_links object
- task_id string
The Clumio-assigned ID of the task created by this restore 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"
}
},
"task_id": "string"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}
POST /restores/aws/s3-buckets
Authorization
Request
Request
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/aws/s3-buckets' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-aws-s3-buckets=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"source": {
"bucket_id": "string",
"object_filters": {
"etag": "string",
"is_latest_version_only": true,
"max_object_size_bytes": 0,
"min_object_size_bytes": 0,
"object_key_contains": "string",
"object_key_matches": "string",
"object_key_prefix": "string",
"object_key_suffix": "string",
"storage_classes": [
"string"
],
"version_id": "string"
},
"point_in_time_recovery": {
"restore_end_timestamp": "string"
},
"undo_delete_marker_options": {
"start_timestamp": "string"
}
},
"target": {
"bucket_name": "string",
"environment_id": "string",
"prefix": "string",
"storage_class": "S3 Standard",
"tags": [
{
"key": "string",
"value": "string"
}
]
},
"type": "Rollback"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/aws/s3-buckets' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-aws-s3-buckets=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"source": {
"bucket_id": "string",
"object_filters": {
"etag": "string",
"is_latest_version_only": true,
"max_object_size_bytes": 0,
"min_object_size_bytes": 0,
"object_key_contains": "string",
"object_key_matches": "string",
"object_key_prefix": "string",
"object_key_suffix": "string",
"storage_classes": [
"string"
],
"version_id": "string"
},
"point_in_time_recovery": {
"restore_end_timestamp": "string"
},
"undo_delete_marker_options": {
"start_timestamp": "string"
}
},
"target": {
"bucket_name": "string",
"environment_id": "string",
"prefix": "string",
"storage_class": "S3 Standard",
"tags": [
{
"key": "string",
"value": "string"
}
]
},
"type": "Rollback"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/aws/s3-buckets' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-aws-s3-buckets=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"source": {
"bucket_id": "string",
"object_filters": {
"etag": "string",
"is_latest_version_only": true,
"max_object_size_bytes": 0,
"min_object_size_bytes": 0,
"object_key_contains": "string",
"object_key_matches": "string",
"object_key_prefix": "string",
"object_key_suffix": "string",
"storage_classes": [
"string"
],
"version_id": "string"
},
"point_in_time_recovery": {
"restore_end_timestamp": "string"
},
"undo_delete_marker_options": {
"start_timestamp": "string"
}
},
"target": {
"bucket_name": "string",
"environment_id": "string",
"prefix": "string",
"storage_class": "S3 Standard",
"tags": [
{
"key": "string",
"value": "string"
}
]
},
"type": "Rollback"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/aws/s3-buckets' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-aws-s3-buckets=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"source": {
"bucket_id": "string",
"object_filters": {
"etag": "string",
"is_latest_version_only": true,
"max_object_size_bytes": 0,
"min_object_size_bytes": 0,
"object_key_contains": "string",
"object_key_matches": "string",
"object_key_prefix": "string",
"object_key_suffix": "string",
"storage_classes": [
"string"
],
"version_id": "string"
},
"point_in_time_recovery": {
"restore_end_timestamp": "string"
},
"undo_delete_marker_options": {
"start_timestamp": "string"
}
},
"target": {
"bucket_name": "string",
"environment_id": "string",
"prefix": "string",
"storage_class": "S3 Standard",
"tags": [
{
"key": "string",
"value": "string"
}
]
},
"type": "Rollback"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/aws/s3-buckets' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-aws-s3-buckets=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"source": {
"bucket_id": "string",
"object_filters": {
"etag": "string",
"is_latest_version_only": true,
"max_object_size_bytes": 0,
"min_object_size_bytes": 0,
"object_key_contains": "string",
"object_key_matches": "string",
"object_key_prefix": "string",
"object_key_suffix": "string",
"storage_classes": [
"string"
],
"version_id": "string"
},
"point_in_time_recovery": {
"restore_end_timestamp": "string"
},
"undo_delete_marker_options": {
"start_timestamp": "string"
}
},
"target": {
"bucket_name": "string",
"environment_id": "string",
"prefix": "string",
"storage_class": "S3 Standard",
"tags": [
{
"key": "string",
"value": "string"
}
]
},
"type": "Rollback"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/aws/s3-buckets' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-aws-s3-buckets=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"source": {
"bucket_id": "string",
"object_filters": {
"etag": "string",
"is_latest_version_only": true,
"max_object_size_bytes": 0,
"min_object_size_bytes": 0,
"object_key_contains": "string",
"object_key_matches": "string",
"object_key_prefix": "string",
"object_key_suffix": "string",
"storage_classes": [
"string"
],
"version_id": "string"
},
"point_in_time_recovery": {
"restore_end_timestamp": "string"
},
"undo_delete_marker_options": {
"start_timestamp": "string"
}
},
"target": {
"bucket_name": "string",
"environment_id": "string",
"prefix": "string",
"storage_class": "S3 Standard",
"tags": [
{
"key": "string",
"value": "string"
}
]
},
"type": "Rollback"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/aws/s3-buckets' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-aws-s3-buckets=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"source": {
"bucket_id": "string",
"object_filters": {
"etag": "string",
"is_latest_version_only": true,
"max_object_size_bytes": 0,
"min_object_size_bytes": 0,
"object_key_contains": "string",
"object_key_matches": "string",
"object_key_prefix": "string",
"object_key_suffix": "string",
"storage_classes": [
"string"
],
"version_id": "string"
},
"point_in_time_recovery": {
"restore_end_timestamp": "string"
},
"undo_delete_marker_options": {
"start_timestamp": "string"
}
},
"target": {
"bucket_name": "string",
"environment_id": "string",
"prefix": "string",
"storage_class": "S3 Standard",
"tags": [
{
"key": "string",
"value": "string"
}
]
},
"type": "Rollback"
}'