Performing a snapshot backup of Db2 Warehouse with the cpd-cli backup-restore

You can use the cpd-cli backup-restore command-line interface to perform a snapshot backup of your Db2 Warehouse persistent volumes.

For full details on using the cpd-cli backup-restore for snapshot backups, see Backing up volumes.

Table 1 shows the cpd-cli backup-restore actions that Db2 Warehouse supports.

Table 1. Table of cpd-cli backup-restore command-line interface actions supported by Db2
Action Example command Result
Quiesce cpd-cli backup-restore quiesce -n project Scales Db2 Warehouse down to 0
Unquiesce cpd-cli backup-restore unquiesce -n project Scales Db2 Warehouse up to the original replica count
Volume backup/snapshot   Both commands have a dependency on the quiesce/unquiesce flow above.
Note: Deployments that use the zen-databases and zen-databases-core pods might return an error during quiesce, but you can ignore the error. The pods might continue to run and be in a Not Ready state after a quiesce, but this state does not affect volume backup or restore because the pods do not use any volumes.