Sentinel Backup Scripts

Sentinel Backup Scripts

These two scripts simplify the management of Sentinel Backups by only keeping the last 2 of each (daily/full) compressed backups.

In each file, there are some variables to update to suit your environment:

  1. SEND_TO - where you want emails of backup process to be sent to.
  2. SEND_FROM - where the emails should look like they came from.
  3. BAKDIR - directory to store the compressed backup files.
  4. SENTUSR - the Sentinel username to use for the backup process.
  5. SENTPWD - a single line file containing the password of the SENTUSR (this can be chmod 400 and chown novell for security).

You will also need to touch a file in the BAKDIR location

touch ${BAKDIR}/do_not_delete

This just allows the script to try and mount the location if it doesn't see the file.

Lastly, just cron the backups in /etc/crontab e.g.

# Daily Backups
0 17 * * 1-5,7 novell /home/installs/daily-sentinel.sh >/dev/null 2>&1

# Weekly Backups
0 17 * * 6 novell /home/installs/full-sentinel.sh >/dev/null 2>&1

To enable sending emails, just set a variable at the top of the crontab (1 for on; 0 for off):

SEND_EMAIL=1

Labels (1)
Attachments

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Comments
Hello,
these scripts doesn´t make full backups, I think you should include more information, what is with these scripts backed up.

Thanks

David
Refer to the official documentation: https://www.netiq.com/documentation/sentinel-80/s80_admin/data/botgtu5.html
Top Contributors
Version history
Revision #:
3 of 3
Last update:
‎2019-10-08 22:22
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.