Moves a backup to a new host.
CALL DBCloud.MoveBackupCopy ( backupcopy=backupcopy, host=host [, optional-parameters ] )
dbcloudcmd run MoveBackupCopy backupcopy host [ optional-parameters ]
The backup copy to move. Accepts a backup copy name, ID, or a search query that identifies one backup copy. (Required)
The host to move the backup copy to. Accepts a search query that identifies hosts. The search query can be a list of host names or IDs separated by semicolons (;), or a full search. An appropriate host is selected from this list and the backup is stored there. (Required)
The type of validation. The default is 'X'.
The following values are supported:
Validate that all pages in the database belong to the correct object, perform a checksum validation, and validate the correctness of indexes.
Perform a full validation.
Perform a checksum validation.
Perform an express validation.
Do not perform validation.
The MoveBackupCopy task only moves a single backup copy. To move multiple backups, use the Cloud Console.
When specifying a search query, the search query must identify a unique backup copy. An error is returned if a search query returns more than one matching backup copy.
The backupcopy parameter accepts a backup copy ID. To view a list of all backup copy IDs in the cloud, run the following:
dbcloudcmd describe type:backupcopy
Run the following task to move a full backup copy with the ID BC-q5v5 to the host cloud-host2:
dbcloudcmd run MoveBackupCopy backupcopy=BC-q5v5 host=cloud-host2