Executed when: Restoring the state.
Restores the state of PKI Hub.
clusterctl backup restore --file <file> [--password <pwd>] See below for a description of each parameter.
For example:
$ sudo clusterctl backup restore --file /home/sysadmin/20241009.bkp Specifically, this command:
- Restores the state of PKI Hub along with the deployed Entrust solutions.
- In physical and VMware machines, enables
firewalldand creates firewall rules for opening the Required open ports.
When restoring a single-node installation, the command raises an exception if the node has a different hostname or IP address than the backed-up node.
-f, --file <file>
Restore the <file> backup, where <file> is the path of a file generated with the clusterctl backup create command.
Mandatory: Yes.
-p, --password <pwd>
Open the backup file with the <pwd> password, where <pwd> is the password passed to the clusterctl backup create command when exporting the backup.
If an option value contains spaces or special characters, you must surround the entire value with quotation marks.
Mandatory: No. When omitting this option, the command prompts for the password.