Alter Backup

Alters an existing database backup containing a current snaphot of existing objects.

Input Parameter Description

NameTypeDescription
backup_namestringName of the backup object to be altered
actionstring

Operation to be applied

Supported ValuesDescription
checksumCalculate checksum for backup files
ddl_onlyOnly save the DDL, do not backup table data
max_incremental_backups_to_keepMaximum number of incremental backups to keep
mergeMerges all backup instances and creates a single full backup
purgePurges backup instances
valuestringAction specific argument.
datasink_namestringDatasink where backup will be stored.
optionsmap of string to strings

Optional parameters. The default value is an empty map ( {} ).

Supported Parameters (keys)Parameter Description
commentComments to store with the new backup instance
dry_run

Dry run of backup changes The default value is false. The supported values are:

  • false
  • true

Output Parameter Description

NameTypeDescription
backup_namestringValue of input parameter backup_name.
backup_idlongBackup ID.
total_byteslongTotal size of files affected by alter operation
total_recordslongTotal number of records affected alter operation
infomap of string to stringsAdditional information.