Backups via CLI for Tenable Security Center Supported Unix Hosts
The following steps describe how to perform backup for Tenable Security Center from the command line using a root account (or equivalent access) on Unix hosts. This can also be used as an alternative for Tenable Core backup, if remote storage is not available.
To access the CLI with root level access on Tenable Core:
-
Access the command line by logging in as an Administrator to the Tenable Core user interface.
-
Check Re-use administrative privileges or switch to administrative access.
-
Go to the terminal.
-
Escalate to root access using the following command:
# sudo su
-
Retype the password.
-
In root CLI, stop all Tenable Security Center services. To stop Tenable Security Center services, follow the steps provided in Backup Requirements.
-
Once all Tenable Security Center steps are stopped, proceed with the archival of the Tenable Security Center folders.
-
Backup Tenable Security Center folder:
# tar -pzcf sc_backup.tar.gz /opt/sc -
(Example) To move the file to another location for easier retrieval, move the file to /tmp:
# cp sc_backup.tar.gz /tmp -
Change its ownership:
# chmod 755 sc_backup.tar.gz -
Access the host via an SFTP client.
-
Copy the file, and delete it afterward as needed to free up disk space.
For more information, see Perform a Backup.