Article View: comp.sys.sun
Article #7634Re: Automated Dumps
From: Marc Ph. A. J. St.-Gil
Date: Sun, 28 Apr 1991 19:20
Date: Sun, 28 Apr 1991 19:20
27 lines
1905 bytes
1905 bytes
stubblef@stl-08sima.army.mil (Glenda Stubblefield) writes:
>I need to develop the means to
>do automatic backups, both full and incrementals, through cron during off
>hours.
I am doing such a thing. We have 1.7GB of local disk and a 2GB 8mm tape
drive. We do the incrementals like you do. On Friday nights we do
unattended SABs. Here's the scenario:
1. at 1700 Fri. - cron fires off a shutdown -r timed for 0200 Sat.
2. at 0130 Sat. - cron 'touches' a file called .../do_backup
3. at 0200 Sat. - the reboot occurs
4. at 0200+ Sat. - the rc.boot script checks for the .../do_backup file
If it is there, it fires off a the SAB script and finishes re-booting
when the script terminates.
5. at about 0300 Sat. - the backup finishes and the system comes the rest of
the way up.
The only problem I have encountered is that the system can hang waiting
for a dead backup if there is no tape in the drive. Therefore, check for
the tape being present at the begining of the SAB script.
Marc St.-Gil, UNIX Systems Administrator mstgil@{sol,vaxa,vaxb}.acs.unt.edu
University of North Texas 817/565-2324 mstgil@{ponder,solo}.csci.unt.edu
Academic Computing Services DISCLAIMER: My employers had no idea I was
PO Box 13495, Denton TX, 76203 going to say that.
Technical Details
Message-ID:
<2688@brchh104.bnr.ca>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: mstgil@sol.acs.unt.edu (Marc Ph. A. J. St.-Gil) Newsgroups: comp.sys.sun Subject: Re: Automated Dumps Keywords: Miscellaneous Message-ID: <2688@brchh104.bnr.ca> Date: 28 Apr 91 19:20:00 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 28 Approved: Sun-Spots@rice.edu X-Original-Date: Thu, 25 Apr 91 20:08 GMT X-Refs: Original: v10n86 X-Sun-Spots-Digest: Volume 10, Issue 91, message 9 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu