----- Original Message ----- From: "Alvin Oga" <[EMAIL PROTECTED]> To: "Shri Shrikumar" <[EMAIL PROTECTED]> Cc: "debian users" <debian-user@lists.debian.org> Sent: Wednesday, March 20, 2002 2:48 AM Subject: Re: backing up /etc
> > hi ya > > assuming oyu have a different disk mounted as /mnt/backup > ( never backup important data to the same hard disk ) > > # > # 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) > # > mount /dev/hdxxxx /mnt/backup > find /etc -mtime -$days -print |tar zcvf/mnt/backup/etc.$ymd.$days.tgz -T - > umount /mnt/backup Thanks, that was certainly helpful. On a sidenote, if a package installed new config files today and I didn't touch them - would they still be backup up ? If so, is there any way to stop them from being backup up. If not, is there any way to get them to be backed up ? Just curious. Regards, Shri ------------------------------------------------------------------------ Shri Shrikumar U R Byte Solutions I.T. Consultant 23 McDonald Road Tel: (0131) 558 9990 Email: [EMAIL PROTECTED] Edinburgh EH7 4LX Web: www.urbyte.com