Restore a Configuration Backup
Required User Role: Root user
For more information about the backup and restore process and the configurations included in a configuration backup, see Backup and Restore.
Note: For best performance, after restoring a configuration backup, ensure the hostname associated with the configuration backup file matches the hostname on the receiving
Before you begin:
-
Perform a configuration backup of your Tenable Security Center, as described in Perform a Configuration Backup.
-
Confirm your receiving Tenable Security Center meets the requirements described in Backup and Restore.
To restore a configuration backup file:
-
Log in to Tenable Security Center via the command line interface (CLI).
-
Stop Tenable Security Center, as described in Start, Stop, or Restart Tenable Security Center.
Tenable Security Center stops.
-
In the CLI in Tenable Security Center, run the following command to restore the configuration backup, where [path to backup file] is the path to the backup file you want to restore:
/opt/sc/support/bin/php /opt/sc/src/tools/restoreSCConfiguration.php -l [path to backup file]
For example:
/opt/sc/support/bin/php /opt/sc/src/tools/restoreSCConfiguration.php -l /tmp/SC-config-20211101-165111-sc-hostname-5_20_0.tar.gz
Tenable Security Center restores the configuration backup.
-
Start Tenable Security Center, as described in Start, Stop, or Restart Tenable Security Center.
Tenable Security Center starts.
What to do next:
-
If you uploaded custom plugins before restoring your Tenable Security Center configuration, re-upload the custom plugins. For more information, see Custom Plugin Packages for NASL and CA Certificate Upload.
-
Perform discovery scans to re-populate your repositories with vulnerability data. For more information, see Scanning Overview.