Deployment Guide
The command syntax is the following:
Usage: cleanupOldBackups.sh <backup directory> <OFFLINE> <ONLINE> <ONLINEINCDELTA>
Where:
OFFLINE - Number of offline backups left to the backup directory
ONLINE - Number of online backups left to the backup directory
ONLINEINCDELTA - Number of online incremental delta backups left to the
backup directory
● <backup directory> is the same directory which is provided to 7BUtool.sh with -d option.
● OFFLINE defines how many full offline backups will be kept on the backup server.
● ONLINE defines how many full online backups will be kept on the backup server.
● ONLINEINCDELTA defines how many incremental online delta backups will be kept on the
backup server.
Use for instance cron to execute the clean-up script periodically.
Example
Backup directory on the remote server is /home/backup/my-carat-server. Keep 2 full online and 2 full
offline backups and 7 incremental online delta backups.
$ ./cleanupOldBackups.sh /home/backup/my-carat-server 2 2 7
7signal Solutions Inc., 6155 Rockside Road, Suite 110, Independence, Ohio 44131, USA,
216-777-2900, info@7signal.com, www.7signal.com