Restore a Backup
Required Tenable Security Center 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 Director, as described in Perform a Backup.
 - 
                                                        
Confirm your receiving Tenable Security Center Director meets the requirements described in Backup and Restore.
 - 
                                                        
Move the backup file to your receiving Tenable Security Center Director's /tmp directory.
 
To restore a backup file:
- 
                                                        
Log in to Tenable Security Center Director via the command line interface (CLI).
 - 
                                                        
Stop Tenable Security Center Director, as described in Start, Stop, or Restart Tenable Security Center Director.
Tenable Security Center Director stops.
 - 
                                                        
In the CLI in Tenable Security Center Director, run the following command to view all running processes:
# ps -fu tns
 - 
                                                        
If any processes are listed, run the following commands to stop them:
# killall -u tns
# killall httpd
Note: These commands stop all jobs running on Tenable Security Center Director.
 - 
                                                        
If necessary, repeat step 4 to confirm all processes are stopped.
 - 
                                                        
Empty the /opt/sc folder of all contents.
 - 
                                                        
If you have configured an external PostgreSQL database, restore the database from the backup file you created in Perform a Backup.
 - 
                                                        
Run the following commands to decompress the .tar file:
# cd /
# tar -xvf /tmp/sc_backup.tar.gz
Note: The.tar file switches are case-sensitive.
The restore finishes.
 - 
                                                        
Start Tenable Security Center Director, as described in Start, Stop, or Restart Tenable Security Center Director.
Tenable Security Center Director starts.