#!/bin/bash # # Original # --------- # http://www.Linux-Backup.net/scripts/Backup.etc.sh.txt # # # Backup last 7 days of changes in /etc # -------------------------------------- # # # 18-Mar-02 amo Date-of-Birth # # # # backup of last 7 days # # adjust days to when the last time you did your manual backups # days=7 ymd=(date +20%y.%m.%d) # # Which disk is your backup disks?? # mount /dev/hdxxxx /mnt/backup # find /etc -mtime -$days -print |tar zcvf/mnt/backup/etc.${ymd}.${days}.tgz -T - # umount /mnt/backup # # # end of file