Executed when: Restoring the state.
Restores the state of Entrust 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/edm/20211009.bkp
Specifically, this command:
- Restores the state of Entrust PKI Hub along with the deployed Entrust solutions.
- In physical and VMware machines, enables
firewalld
and creates firewall rules for opening the Required open ports.
The command raises an exception when executed in a node with:
- A different hostname than the backed-up node.
- Entrust PKI Hub already installed.
If an option value contains spaces or special characters, you must surround the entire value with quotation marks.
-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.
Mandatory: No. When omitting this option, the command prompts for the password.