[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: crontab



well it seems to me that you are erasing the tape every thursday at 14
hours and 21 minutes. Do you backup in the tape? then you will loose the
old backup. That's fine, but field 4 () day of month) matches every day,
so you will have a backup every day, and an additional backup every friday 
this also aplies to the deletion of the tape.
 Im sorry, Im reading the crontab (5) manpages and I cant find how to
disable the backup and deletion for every day of month.

Still I hope it's been of some use



On Fri, 6 Jul 2001, Andrew Dixon wrote:

> Hi All,
> I was wondering if someone could look at this crontab file and tell me
> if I've got it right.
> 
> [root@northbridge /root]# crontab -l
> # DO NOT EDIT THIS FILE - edit the master and reinstall.
> # (- installed on Mon Jul  2 16:23:22 2001)
> # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp
> $)
> 21 14 * * 5 mt -f /dev/st0 erase
> 0 2 * * 6 find -xdev / |cpio --create >/dev/st0/root.cpio
> 0 2 * * 6 find -xdev /boot |cpio --create>/dev/st0/boot.cpio
> 0 2 * * 6 find -xdev /tmp |cpio --create >/dev/st0/tmp.cpio
> 0 2 * * 6 find -xdev /usr |cpio --create >/dev/st0/usr.cpio
> 0 2 * * 6 find -xdev /var |cpio --create >/dev/st0/var.cpio
> 0 2 * * 6 find -xdev /home |cpio --create >/dev/st0/home.cpio
> 
> 
> I'm trying to erase a tape on friday afternoon and then backup the box
> saturday night a 2:00 every week.
> 
> what do you guys think? Have I got it right.
> 
> Thanks,
> Andy
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 



Reply to: