🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.rt
Article #88

Re: Backup info for RT wanted

#88
From: Pete Gregory
Date: Mon, 19 Jun 1989 15:32
26 lines
1392 bytes
We do incremental backups using cpio.  The script follows:


#!/bin/sh
# backwk.bat - incremental backup of system files
#
cd /
find . -mtime -1 -print | egrep -v "^(./usr/spool/news/)" | cpio -ovC1000 >/dev/rmt0

...this script finds and backs up all files created/modified "today" or
"yesterday".  Everything is backed up except news  :-) .
Look up grep or egrep if you want to exclude other directories.

P.S.  Our full filesystem backups are the same as above, except that
'-mtime -1' is removed, and the cd / is changed to /usr, /u, etc.
For the root filesystem, we 'cd /' and egrep -v /usr, /u, etc., so they
won't be backed up twice.

cpio knows how to tell you to put in a 2nd cartridge, so large backups
work, too   ;-)


pete@bally.COM (bally.UUCP)   ::              ________
Bally Systems                 ::         |\ /          \      "My boss
255 Bell St., Reno, NV        ::         | X   IXOYE    )       is a
(702) 323-6156 x882           ::         |/ \ ________ /          carpenter."
Technical Details
Message-ID: <137@bally.Bally.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!bally!pete

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!bally!pete
From: pete@bally.Bally.COM (Pete Gregory)
Newsgroups: comp.sys.ibm.pc.rt
Subject: Re: Backup info for RT wanted
Message-ID: <137@bally.Bally.COM>
Date: 19 Jun 89 15:32:18 GMT
Distribution: usa
Organization: Bally Systems, Reno, NV
Lines: 26