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 Tenable Security Center.

Before you begin:

  1. Perform a configuration backup of your Tenable Security Center, as described in Perform a Configuration Backup.

  2. Confirm your receiving Tenable Security Center meets the requirements described in Backup and Restore.

To restore a configuration backup file:

  1. Log in to Tenable Security Center via the command line interface (CLI).

  2. Stop Tenable Security Center, as described in Start, Stop, or Restart Tenable Security Center.

    Tenable Security Center stops.

  3. 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.

  4. Start Tenable Security Center, as described in Start, Stop, or Restart Tenable Security Center.

    Tenable Security Center starts.

What to do next:

  1. 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.

  2. Perform discovery scans to re-populate your repositories with vulnerability data. For more information, see Scanning Overview.