This is a basic script to backup a Red Hat Satellite Server to a directory. It should speak for itself that this directory must have sufficent space to hold the backup, and be protected by an Enterprise Backup Tool.
The script is intended to be used where full backups are taken weekly and incremental backups are taken daily.
Satellite 6.4 deprecated satellite-backup and katello-backup This modified script has been tested on Red Hat Satellite Server 6.4
- Packages gzip and mail installed
- Server is configured to send mail
- Satellite installed and configured with katello-backup (6.2), satellite-backup (6.3), foreman-maintain (6.4) available
- Backup Retention understood and plugged into the script's variables
- Email address to send backup reports to plugged into the script's variables
satellite_backup.sh -t [full|incremental] [-d </backup_directory>]
eg - schedule this to run weekly
satellite_backup.sh -t full -d /app/satellite/backup
eg - schedule this to run daily
satellite_backup.sh -t incremental -d /app/satellite/backup
To recover from backup see the following article: