Caution: Currently this method only backs up a subset of settings. In particular, the backup includes the settings and features that can be accessed via the REST interface—except for user passwords. For a full backup, please use manual backup.
Requirements:
| ▪ | The backup tool can only be used on localhost. |
| ▪ | The backup tool can only be used if the following option is set within the configuration file zeusafm.conf: aod-magic-authenticate-with-cluster-password = True |
| ▪ | You can only restore a backup that was made from the same database version that Stingray Application Firewall is currently running. If the versions don’t match, the backup tool exits with an error. In this case, to be able to restore your backup, you need to roll back to the previous version of Stingray Application Firewall that was active while the backup was made. |
Calling the backup tool:
The backup tool resides in [INSTALL_DIR]/bin/ as backup_tool. Backup creates a ZIP file that essentially contains the structured output of REST nodes in a collection of files.
As arguments, you need to specify the configuration file zeusafm.conf and the backup file to create.
Example:
./backup_tool backup /path/to/zeusafm.conf /path/to/backup.zip
Restoring a backup:
To restore a backup, you call the backup tool in combination with the argument restore and in combination with the location and name of the backup archive.
Example:
./backup_tool restore /path/to/zeusafm.conf /path/to/backlup.zip
If you specify the additional optional argument --without-cluster, the restore action skips administration and decider nodes.
Caution: If you’ve added a new license or if you’ve assigned different capabilities to applications since the time of the backup, you need to repeat this manually. Your web applications may else be unprotected or all traffic blocked (see Cluster Management).
|