23.9. Procedure – Restoring PSM configuration and data

Purpose: 

The following procedure describes how to restore the configuration and data of PSM from a complete backup, for example, after a hardware replacement.

Warning

Do not enable audited traffic to PSM restoring the system backup is complete.

During the restore process, the REST-based search might not function properly, since the data to search in might still be incomplete.

To make sure that the import process has finished, check the logs.

Navigate to Basic Settings > Troubleshooting > View log files. Select syslog as Logtype, the day of the upgrade process as Day and enter Run metadb_importer.py in the Message field. Click View.

If the import process has been finished, the following line is displayed:

systemd[1]: Started Run metadb_importer.py to import data from metadb to elasticsearch if necessary...

Steps: 

  1. Connect to your backup server and locate the directory where PSM saves the backups. The configuration backups are stored in the config subdirectory in timestamped files. Find the latest configuration file (the configuration files are called PSM-timestamp.config).

  2. Connect to PSM.

    If you have not yet completed the Welcome Wizard, click Browse, select the configuration file, and click Import.

    If you have already completed the Welcome Wizard, navigate to Basic Settings > System > Import configuration > Browse, select the configuration file, and click Import.

  3. Navigate to Policies > Backup & Archive/Cleanup. Verify that the settings of the target servers and the backup protocols are correct.

  4. Navigate to Basic Settings > Management > System backup, click Restore now and wait for the process to finish. Depending on the amount of data stored in the backup, and the speed of the connection to the backup server, this may take a long time.

  5. Navigate to SSH Control > Connections, and click Restore ALL. Repeat this step for other traffic types. Depending on the amount of data stored in the backup, and the speed of the connection to the backup server, this may take a long time.