Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!decwrl!adobe!heaven!glenn From: glenn@heaven.woodside.ca.us (Glenn Reid) Newsgroups: comp.sys.next Subject: Re: Backup of NeXT disks... Message-ID: <148@heaven.woodside.ca.us> Date: 24 Feb 90 08:49:59 GMT References: <27smithw@physc1.byu.edu> <30484@brunix.UUCP> Reply-To: glenn@heaven.UUCP (Glenn Reid) Organization: Skyline Press, Woodside CA Lines: 44 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} ;