See below for backing up the Certificate Hub database.
Back up the databases regularly to restore your data in case of disaster recovery.
Vacuuming the database
Run this command once before any backup to release orphaned pages from the database and decrease its size.
sudo dbctl.sh vacuum -n certhub
Backing up the database contents
Back up the Certificate Hub database using the tools provided by the DBMS.
Backing up the database encryption key
Run the following command to back up the database encryption key.
sudo dbctl.sh backup -n certhub