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

Before you begin:

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

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

  3. If needed, restore configuration backups for your managed Tenable Security Center instances, as described in Restore a Configuration Backup in the Tenable Security Center User Guide.

To restore a configuration backup file:

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

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

    Tenable Security Center Director stops.

  3. In the CLI in Tenable Security Center Director, 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 Director restores the configuration backup.

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

    Tenable Security Center Director starts.

What to do next:

  1. If you uploaded custom plugins before restoring your Tenable Security Center Director configuration, re-upload the custom plugins. For more information, see Custom Plugin Packages for NASL and CA Certificate Upload.

  2. Perform discovery scans on your managed Tenable Security Center instances to re-populate your repositories with vulnerability data. For more information, see Scanning Overview.