Restore a Backup

Required User Role: Root user

For more information about the backup and restore process, see Backup and Restore.

Before you begin:

  • Perform a backup of your Tenable Security Center, as described in Perform a Backup.

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

  • Move the backup file to your receiving Tenable Security Center's /tmp directory.

To restore a 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 view all running processes:

    # ps -fu tns

  4. If any processes are listed, run the following commands to stop them:

    # killall -u tns

    # killall httpd

    Note: These commands stop all jobs (including scans) running on Tenable Security Center.

  5. If necessary, repeat step 4 to confirm all processes are stopped.

  6. Run the following commands to decompress the .tar file and overwrite the existing /opt/sc directory:

    # cd /

    # tar -xvf /tmp/sc_backup.tar.gz

    Note: The.tar file switches are case-sensitive.

    The restore finishes.

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

    Tenable Security Center starts.