Follow the instructions of the DBMS vendor to back up the databases used by Entrust Solutions. Backing up the Certificate Hub database requires to additionally run the following command to back up the database encryption key.

sudo dbctl.sh backup -n <namespace> [--kubectl-cmd <kubectl-cmd>]

Where each parameter has the value described below.

Option

Value

Mandatory

<namespace>

The namespace of the Certificate Hub instance

Always

<kubectl-cmd>

The name of the kubectl client or equivalent command.

When the name of the command is not "kubectl"

For example:

sudo ./dbctl.sh backup -n certhub --postgres-user postgres