System Backup and Restore
InSystem thisBackup sectionand willSystem Restore are configured and ran in the CLI as root. There is a Backup script located at /opt/hermes/scripts/system_backup.sh and a Restore script located at /opt/hermes/scripts/system_restore.sh. These scripts should not be ablemoved/copied to other locations. System Backups should be scheduled via Cron other other mechanism to point to /opt/hermes/scripts/system_backup.sh.
Before scheduling system_backup.sh, it's highly recommended that you runit manually to ensure proper operation before scheduling it. The backups can be stored to a mount that you have previously configured in your system such as SMB, NFS etc...
System Backup
The /opt/hermes/scripts/system_backup.sh script accepts several flags with corresponding values enclosed in single quotes in order to configure oneits orbehavior.
Hermes SEG uses CIFS (Windows Shares) to store system backups. Shares have to be successfully validated first before Backup Jobs can be saved.
Validate Share
By default, when creating a new Backup Job, the Backup Job Create Mode field is automatically set to Validate Share and the Save Backup Job field is disabled. The Save Backup Job field only gets enabled when a share is succesfully validated.
Putting underit the Backupall Filetogether, Retention drop-downif field.you Available options are, 7 Days, 14 Days, 21 Days and 28 Days. The system will use the Backup File Retentionwanted to automaticallyrun deletean olderall backupsbackup, soyou thatcan your storage doesn't get filled up
/opt/hermes/scripts/system_backup.sh either-D selecting7 a-P date'/mnt/backups' by-E clicking'to@domain.tld' the-F calendar'from@domain.tld' button-B or'all' by-R manually entering a date in the form of mm/dd/yyyy in the Start Date field.Figure 1
Share Validation Successful
If the validation is succesful, you will receive the following message (Figure 2)
Figure 2
You will also notice that the the Save Backup Job option will be enabled under the the Backup Job Create Mode on top of the page. Select the the Save Backup Job option and click the the Submit button to save the job (Figure 3).
Figure 3
The job will be saved under the the Existing Backup Jobs Jobs section on the bottom of the page (Figure 4)
Figure 4
Share Validation Unsuccessful
If the validation is unsuccesful, you will receive the following message (Figure 5).
Figure 5
Check the information supplied and share permissions and try validating the share again.
Manually Run Backup Job
Note: Only one Backup Job can be run at a time.
Any saved backup jobs will run according to the schedule you set. Alternatively if you wish to run a job immediately:
- Click on the green arrow
buttonbutton.jpg)
underthethe Runcolumn to run any job immediately (Figure 6)
Figure 6
- In
thethe Confirmation Window, clickthethe Yesbutton (Figure 7).ClickingClicking No, will take you back to the System Backup page.
Figure 7
If a Backup Job is in progress, the button under the Run column of every Backup Job will become disabled (Figure 8)
Figure 8
Delete Backup Job
If you wish to delete an existing Backup Job and the job is NOT running:
- Click on the red X
under the Delete column (Figure 9)
Figure 9
- In the Confirmation Window, click
thethe Yesbutton (Figure 10).ClickingClicking No, will take you back to the System Backup page.
Figure 10









