Copy DB snapshot (PUT /v1.0/{tenantId}/snapshots/{snapshotId})

Copies a DB snapshot.

Request URI

{tenantID}

Project ID of the owner of the instance

Data Type Cardinality
String 1..1

{snapshotId}

ID of the DB snapshot that will be the copy source

Data Type Cardinality
String 1..1

Request Parameters

snapshot

Data Type Cardinality Parent Element Child Element(s)
    None sourceSnapshotId

id

name

id

ID of the DB snapshot
  • Only alphanumeric characters and hyphens can be used
  • The string must start with a letter
  • A hyphen cannot be used at the end of the string
  • Two or more consecutive hyphens cannot be used
  • Up to 63 characters
Data Type Cardinality Parent Element Child Element(s)
string 0..1 snapshot None

name

Name of the DB snapshot
  • Only alphanumeric characters and hyphens can be used
  • The string must start with a letter
  • A hyphen cannot be used at the end of the string
  • Two or more consecutive hyphens cannot be used
  • Up to 255 characters
Data Type Cardinality Parent Element Child Element(s)
string 1..1 snapshot None

description

Description of the DB snapshot

Data Type Cardinality Parent Element Child Element(s)
String 0..1 snapshot None

Response Headers

Status

Returns the status of the request.

One of the following values will be returned.
400:
badRequest
401:
unauthorized
403:
forbidden
404:
itemNotFound
413:
overLimit
422:
unprocessableEntity
500:
instanceFault
501:
notImplemented
503:
serviceUnavailable
504:
gatewayTimeout
Data Type Cardinality
Int 1..1

Response Elements

created

The creation date and time

Data Type Cardinality Parent Element Child Element(s)
Date      

name

Name of the DB snapshot

Data Type Cardinality Parent Element Child Element(s)
String      

id

ID of the DB snapshot

Data Type Cardinality Parent Element Child Element(s)
String      

instanceId

ID of the virtual database server that is the source of this snapshot

Data Type Cardinality Parent Element Child Element(s)
String      

status

Status of the DB snapshot

Available | In_progress | Deleted | Error

Data Type Cardinality Parent Element Child Element(s)
String      

description

Description of the DB snapshot

Data Type Cardinality Parent Element Child Element(s)
String      

Example of Request


{
	"snapshot": {
		"name": "json-rack-instance-bkup2",
	}
}