7.8. Backing Up and Restoring Configuration With Cluster Manager CLI

The Cluster Manager CLI provides scripts that you can use to backup and restore your configuration: cdbDump and cdbRestore. These scripts are installed in the /var/cluster/cmgr-scripts directory. You can modify these scripts to suit your needs.

The cdbDump script, as provided, creates compressed tar files of the /var/cluster/cdb/cdb.db# directory and the /var/cluster/cdb.db file.

The cdbRestore script, as provided, restores the compressed tar files of the /var/cluster/cdb/cdb.db# directory and the /var/cluster/cdb.db file.

When you use the cdbDump and cdbRestore scripts, you should follow the following procedures: