Restore an RDS resource
Restores the specified RDS resource backup or snapshot to the specified target destination.
Query Parameters
- embed string
Embeds the details of each associated resource. Set the parameter to one of the following embeddable links to include additional details associated with the resource.
For more information about embedded links, refer to the Embedding Referenced Resources section of this guide.Embeddable Link Description read-task Embeds the associated task in the response. For example, ?embed=read-task
- application/json
Request Body required
source object required
The RDS resource backup or snapshot to be restored. Only one of these fields should be set.
backup object
The parameters for initiating an RDS restore from a backup.
backup_id string requiredThe Clumio-assigned ID of the RDS backup to be restored. Use the GET /backups/aws/rds-resources endpoint to fetch valid values.
snapshot object
The parameters for initiating an RDS restore from a snapshot.
resource_id string requiredThe Clumio-assigned ID of the RDS resource to be restored. Use the GET /datasources/aws/rds-resources endpoint to fetch valid values.
timestamp string requiredA point in time to be restored in RFC-3339 format.
target object required
The configuration of the RDS resource to be restored.
environment_id stringThe Clumio-assigned ID of the AWS environment to be used as the restore destination. Use the GET /datasources/aws/environments endpoint to fetch valid values.
instance_class stringThe instance class of the RDS resources to be created. Possible values include
db.r5.2xlarge
anddb.t2.small
.is_publicly_accessible booleanDesignates whether the restored RDS resource also has a public IP address in addition to the private IP address.
kms_key_native_id stringThe AWS-assigned ID of the KMS encryption key used to encrypt data in this RDS resource.
name string requiredThe name given to the restored RDS resource. The name must follow AWS RDS naming conventions: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints
option_group_name stringOption group name to be added to the restored RDS resource
security_group_native_ids string[]The AWS-assigned IDs of the security groups to be associated with the restored RDS resource.
subnet_group_name stringThe AWS-assigned name of the subnet group to be associated with the restored RDS resource.
tags object[]
The AWS tags to be applied to the restored instance.
key string requiredThe AWS-assigned tag key.
value stringThe AWS-assigned tag value.
- 202
- default
Success
- application/api.clumio.restored-aws-rds-resources=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-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.
- 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[]
A list of errors encountered during runtime.
error_code uint32error_message stringThe reason for the error.
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}