Thread View: comp.sys.ibm.pc.rt
1 messages
1 total messages
Started by Pete Gregory
Mon, 19 Jun 1989 15:32
Re: Backup info for RT wanted
Author: Pete Gregory
Date: Mon, 19 Jun 1989 15:32
Date: Mon, 19 Jun 1989 15:32
26 lines
1392 bytes
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."
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads