Skip to content

Instantly share code, notes, and snippets.

@ewunder
ewunder / sc_backup.sh
Last active May 23, 2016 14:44 — forked from tcely/sc-backup.sh
SecurityCenter 5 backup script -- adapted from tcely and SteveMcGrath.
#!/bin/bash
## SecurityCenter Backup Script
#
# This script is intended to create backups of all of the SecurityCenter data
# on a daily/weekly/monthly/etc. basis. This is intended to be run as a cronjob
# and expect the SysAdmin to have configured the root@localhost mail alias to
# route through their email system in-case of errors. An example of how to run
# this as a cronjob is below:
#
# 00 13 * * 0 root cd /opt/sc/backups && sc_backup.sh