16 May
2004
16 May
'04
21:41
On Sunday 16 May 2004 19:14, Trey Sizemore wrote:
. . . am using cron to backup & date-stamp /home directory in tar.gz format, early morning, and, again, in late afternoon. ~ also, use cron to "rsync" backup the /home directory to another Hard
Disk, every 30 minutes
Would you be so kind as to post the scripts you use with cron to do this?
#!/bin/sh # Drive backup /home # # cd ~ exec tar czvf /zip/home`date +%y%m%d`.tar.gz /home/<user> {} \; >/dev/null 2>&1 cd ~ ........................ #!/bin/sh # # use rsync to backup /home to /dev/hda6 # mount -t reiserfs /dev/hda6 /mnt cd rsync -avr --delete --delete-after /home /mnt df umount /mnt cd .......................................... best wishes ____________ sent on Linux ____________