2.2. Restoring by using the administrator password
You can restore the entire database of RHACS by using your administrator password.
Prerequisites
- You have a RHACS backup file.
- You have the administrator password.
-
You have installed the
roxctlCLI.
Procedure
Set the
ROX_ENDPOINTenvironment variable by running the following command:$ export ROX_ENDPOINT=<address>:<port_number>Restore the Central database by running the following command:
$ roxctl -p <admin_password> \ central db restore <backup_file>where:
<admin_password>- Specifies the administrator password.
<backup_file>- Specifies the name of the backup file that you want to restore.