On This Page
Backing up and Restoring Data
Backup and Restore (21-3 and above)
For TOS 21-3 and above, extensions data is included in the TOS database backup. You can find the extensions backup file in /opt/tufin/extensions/backup
.
For more information, see Backup and Restore.
To restore extensions data, follow these steps:
-
Restore the TOS backup.
-
Extract the extensions data from the TOS backup file.
For example:
#sh backup_MP_<date>/apps_backup_<date>.run -r
Backup and Restore (21-2 and below)
Automatic Backup
The daily Tufin Orchestration Suite backups include all data for Tufin extensions that run under TOS Aurora.
Manual Backup
To manually back up an extension, run the following command:
sh /opt/tufin/extensions/bin/apps_backup.sh
The backup file will be created in /opt/tufin/extensions/backup.
Restore
The backup file is an executable file. To restore the app data:
-
Upload the backup file to the SecureTrack server.
-
Run the backup file as a shell command, and add -r or --restore.
For example:
#sh apps_backup-2020-96-24.run -r
You can restore a backup file to an application with a different version.
Script Commands
The following table lists the commands that can be run using the backup script.
Command |
Description |
Examples |
---|---|---|
-h, --help | Displays a help message that explains the script's usage and lists the available commands. |
#sh apps_backup-2020-96-24.run -h #sh apps_backup-2020-96-24.run --help |
-r, --restore | Restores the app. This command overwrites any files in the restore directory: /var/cache/extensions/ |
#sh apps_backup-2020-96-24.run -r #sh apps_backup-2020-96-24.run --restore |
-e, --extract_to |
Extracts the backup files to a specified path. If the path does not exist it will be created. The path needs to be an absolute path. The extracted files do not affect the existing configuration. |
#sh apps_backup-2020-96-24.run -e/custom/path #sh apps_backup-2020-96-24.run --extract_to/custom/path |
-l, --list | Lists the backup files. |
#sh apps_backup-2020-96-24.run -l #sh apps_backup-2020-96-24.run --list |