Perform a Backup

Required Tenable Security Center User Role: Root user

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

To perform a backup of Tenable Security Center Director data:

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

  2. Stop Tenable Security Center Director with the following command:

    Copy
    # /bin/systemctl stop SecurityCenter

    Tenable Security Center Director stops.

  3. In the CLI in Tenable Security Center Director, run the following command to view all running processes:

    Copy
    # ps -fu tns
  4. If any processes are listed, run the following commands to stop them:

    Copy
    # killall -u tns
    Copy
    # killall httpd

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

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

  6. Run the following command to create a .tar file for your /opt/sc directory:

    Copy
    # tar -pzcf sc_backup.tar.gz /opt/sc

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

    Tenable Security Center Director creates the backup file.

  7. Run the following command to confirm the backup file is not corrupted:

    Copy
    # tar -tvf sc_backup.tar.gz
  8. Move the backup file to a secure location.

  9. Start Tenable Security Center Director with the following command:

    Copy
    # /bin/systemctl start SecurityCenter

    Tenable Security Center Director starts.

What to do next: