Validates a copy of one or more backups.
CALL DBCloud.ValidateBackupCopy ( backupcopy_list=backupcopy_list [, optional-parameters ] )
dbcloudcmd run ValidateBackupCopy backupcopy_list [ optional-parameters ]
A list of backup copies to validate. Accepts a search query that identifies backup copies. The search query can be a list of backup copy names or IDs separated by semicolons (;), or a full search. (Required)
The type of validation. The default is 'F'.
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.
Validating a backup copy involves creating a temporary copy of the backup files, and validating that copy. Once the validation has completed, the temporary copy of the backup files is removed.
The backupcopy_list parameter accepts a list of backup copy IDs. To view a list of all backup copy IDs in the cloud, run the following command:
dbcloudcmd describe type:backupcopy
Run the following task to run an express validation on a backup copy with the ID BC-q5v5:
dbcloudcmd run ValidateBackupCopy backupcopy_list=BC-q5v5 validation_type=X