Creates a copy of a backup (or backup set).
CALL DBCloud.CreateBackupCopy ( backup=backup, host=host [, optional-parameters ] )
dbcloudcmd run CreateBackupCopy backup host [ optional-parameters ]
An output parameter. Internal use only.
The backup to make a copy of. Accepts a search query that identifies one backup. The search query can be a backup name or ID, or a full search. (Required)
The target host. (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 date that the backup expires (i.e. the earliest date it can be automatically deleted). Not specifying this parameter means the date will be calculated based on the database's maintenance plan, while specifying NULL means that there will be no expiry date. The default is to use the date calculated using the maintenance plan.
This task creates a copy of an existing backup on a different host. If the backup being copied (the source backup) is an incremental backup, a copy of the full backup and any prior incremental backups (in the same backup set) must already exist on the target host. If not, these backups are copied along with the source backup.
If any form of validation is requested, there must be a cloud server capable of running the database on the target host. If no validation is requested, no running cloud server is required.
Run the following task to create a copy of the backup with ID BP-m8f3 to host myhost.
dbcloudcmd run CreateBackupCopy backup=BP-m8f3 host=myhost