From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9f242be893b2c88d X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-12-15 20:30:24 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!library.ucla.edu!delphi.cs.ucla.edu!not-for-mail From: waldorf@lanai.cs.ucla.edu (Jerry Waldorf) Newsgroups: comp.unix.osf.osf1 Subject: Re: Backup Scripts OSF Date: 15 Dec 1994 17:49:18 -0800 Organization: UCLA, Computer Science Department Message-ID: <3cqrmu$l6f@lanai.cs.ucla.edu> References: NNTP-Posting-Host: lanai.cs.ucla.edu In article brentp@logica.com (Peter Brent) writes: >I'm a UNIX newbie , and need to be able to have backups nightly and dumps of >one partition weekly, with a monthly full dump of three partitions. I'm using >a 2/4GB TLZO6 DAT drive. I believe that you can enter a script >in the root crontab file. Any useful scripts out there or advice where to find >them would be appreciated. > >Thanx What we do here is have a few lines in the crontab like this. 1 0 * * 1-4 /usr/bak-script5 > /var/log/backup.`/bin/date +\%d\%b\%Y` 2 >& 1 1 0 * * 5 /usr/bak-script0 > /var/log/backup.`/bin/date +\%d\%b\%Y` 2 >& 1 And the bak-script looks like this. /usr/sbin/dump 0Nubf 128 /dev/rmt0 /dev/rz3a ... This is a pretty simple backup scheme level 5's then level 0 every week but it works for us.