Alter Backup

Alters an existing database backup, accessible via the data sink specified by input parameter datasink_name.

Input Parameter Description

NameTypeDescription
backup_namestringName of the backup to be altered.
actionstring

Operation to be applied.

Supported ValuesDescription
checksumCalculate checksum for backed-up files.
ddl_onlyWhether or not to only save DDL and not back up table data, when taking future snapshots; set input parameter value to 'true' or 'false' for DDL only or DDL and table data, respectively.
max_incremental_backups_to_keepMaximum number of incremental snapshots to keep, when taking future snapshots; set input parameter value to the number of snapshots to keep.
mergeMerges all snapshots within a backup and creates a single full snapshot.
purgeDeletes a snapshot from a backup; set input parameter value to the snapshot ID to purge.
valuestringValue of the modification, depending on input parameter action.
datasink_namestringData sink through which the backup is accessible.
optionsmap of string to strings

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

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

Whether or not to perform a dry run of a backup alteration. The default value is false. The supported values are:

  • true
  • false

Output Parameter Description

NameTypeDescription
backup_namestringValue of input parameter backup_name.
backup_idlongID of the snapshot affected by the alter operation, if any.
total_byteslongTotal size of files affected by the alter operation.
total_number_of_recordslongTotal number of records affected by the alter operation.
infomap of string to stringsAdditional information.