Restore Backup Using CLI
You can restore your Tenable One OT Exposure using CLI or via the Tenable Core interface. For more information about restoring backup via Tenable Core user interface, see Restore a Backup in the Tenable Core + Tenable One OT Exposure User Guide. To restore using CLI, perform the following steps.
Before you Begin
-
Make sure you have the backup .tar files to restore.
Note: You can download the Tenable One OT Exposure backup files from the Backup/Restore page in Tenable Core. For more information, see Restore a Backup in the Tenable Core + Tenable One OT Exposure User Guide.
Example of an Tenable One OT Exposure backup file: tenable-ot-tenable-s2cc78kg-2024-03-21T135648.tar.
To restore your Tenable One OT Exposure backup using CLI:
- Do one of the following to access the ICP system:
- In the terminal, run the following command:Copy
sudo systemctl start tenablecore.restorelocal@$(systemd-escape /home/admin/my-tc-ot-backup.tar)
Where:
-
/home/admin/my-tc-ot-backup.tar is the location of the backup files.
Backup/Restore > Backup/Restore Logs > Restore logs in the Tenable Core user interface or by running the following command:
journalctl -xf tenablecore.restorelocal@$(systemd-escape /home/admin/my-tc-ot-backup.tar)
Where: /home/admin/my-tc-ot-backup.tar is the location of the backup files.
Tenable One OT Exposure gets restored and you can start accessing the application. To verify that Tenable One OT Exposure is running, use your browser to log in to the Tenable One OT Exposure user interface via port 443 (HTTPS).