[comp.sys.next] Backup of NeXT disks...

rca@cs.brown.edu (Ronald C.F. Antony) (02/24/90)

Has anyone written some kind of backup script for the NeXT
which backs up to multiple OD's all files written after some
specific date? Or what do use for backups?
Please do not tell me about exabyte tapedrives, I can't spend
another 4000$ :)

Ronald

------------------------------------------------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one persists
in trying to adapt the world to himself. Therefore all progress depends on the
unreasonable man." - Bernhard Shaw | rca@cs.brown.edu or antony@browncog.bitnet

glenn@heaven.woodside.ca.us (Glenn Reid) (02/24/90)

In article <30484@brunix.UUCP> rca@cs.brown.edu (Ronald C.F. Antony) writes:
>Has anyone written some kind of backup script for the NeXT
>which backs up to multiple OD's all files written after some
>specific date? Or what do use for backups?
>Please do not tell me about exabyte tapedrives, I can't spend
>another 4000$ :)

This doesn't really work for multiple OD's, but it is a handy little
tool for "personal backup".  You need to muck with /etc/hosts a little,
as I recall, to allow yourself to rlogin to "localhost" and do "rsh"
and things like that.  Then read up on "rdist" in the manual pages,
and try something like this rdist script (but be careful).  My optical
disk is named "BackupOne", and my home directory paths are hard-wired
into this file, but you'll get the idea.  The beauty of "rdist" is
that it checks all the dates on everything, and only backs up the stuff
that has changed since you last ran "rdist".  You just run it every
so often and forget about it:

#
# distfile
#
# This backs up my home directory and a few system directories
# onto an optical disk.  Make sure "localhost" is in the file
# /etc/hosts.equiv (and perhaps also the name of your machine).
# I run this only from my home directory; your mileage may vary.

MAINHOST = ( localhost )

MYFILES =  ( * )
SYSFILES = ( /LocalLibrary /LocalApps )

# try very hard not to back up the Optical onto itself...
OPTICALDISK = ( Backup* OpticalDisk )

MISCFILES = ( .places */.places */*.places */*/*.places )

${MYFILES} -> ${MAINHOST}
	install -w -y -h -i /user/glenn/BackupOne/glenn ;
	except ${OPTICALDISK} ;
	except ${MISCFILES} ;

${SYSFILES} -> ${MAINHOST}
	install -w -y -h -i /user/glenn/BackupOne ;
	except ${MISCFILES} ;