Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!gatech!itcatl!robin From: robin@itcatl.UUCP (Robin Cutshaw) Newsgroups: comp.unix.questions Subject: Re: TK-50 tape backups -- could they go faster? Message-ID: <237@itcatl.UUCP> Date: Fri, 12-Jun-87 17:04:29 EDT Article-I.D.: itcatl.237 Posted: Fri Jun 12 17:04:29 1987 Date-Received: Sun, 21-Jun-87 17:34:30 EDT References: <241@kosman.UUCP> <799@mcgill-vision.UUCP> Organization: Interactive Technology Corporation, Atlanta, Ga. Lines: 67 Summary: Speeding up dump on Ultrix 1.2 or 1.2A. In article <241@kosman.UUCP>, kevin@kosman.UUCP (Kevin O'Gorman) writes: > Running dump(8) on a MicroVAX, Ultrix 1.2A -- and I'm getting REAL > tired of waiting for the tape. The tape unit is a streamer, and the > software is not fast enough to keep it in streaming mode, so I wait > and wait and wait.... > Use b and s flags (bs 126 7400) and it will stream. Restore will also work under Ultrix using the b flag (b 126) flag. Our backup script follows... #!/bin/csh if ($#argv != 1) then echo "Usage: quickdump level" exit endif echo -n "Dump starting at " >&/usr/adm/lastdump.$1 /bin/date >>&/usr/adm/lastdump.$1 /etc/dump $1ucbsf 126 7400 /dev/nrmt8 / >>&/usr/adm/lastdump.$1 echo "" >>&/usr/adm/lastdump.$1 /etc/dump $1ucbsf 126 7400 /dev/nrmt8 /usr >>&/usr/adm/lastdump.$1 echo "" >>&/usr/adm/lastdump.$1 /etc/dump $1ucbsf 126 7400 /dev/nrmt8 /u >>&/usr/adm/lastdump.$1 echo "" >>&/usr/adm/lastdump.$1 /etc/dump $1ucbsf 126 7400 /dev/nrmt8 /usr/ita >>&/usr/adm/lastdump.$1 echo "" >>&/usr/adm/lastdump.$1 if (X$1 == "X0") then mt -f /dev/rmt8 rew echo "Change tapes for level 0 dump. Hit to continue." >>&/usr/adm/lastdump.$1 $< endif /etc/dump $1ucbsf 126 7400 /dev/rmt8 /u/usr >>&/usr/adm/lastdump.$1 echo "" >>&/usr/adm/lastdump.$1 echo -n "Dump finished at " >>&/usr/adm/lastdump.$1 /bin/date >>&/usr/adm/lastdump.$1 And here is the restore script (note that we place several partitions on one tape)... #!/bin/csh if ($#argv != 1) then echo "Usage: quickrestore [0-4]" exit endif mt -f /dev/rmt8 rew echo -n "Restore starting at " /bin/date if (X$1 != "X0") mt -f /dev/nrmt8 fsf $1 /etc/restore ibf 126 /dev/nrmt8 echo -n "Restore finished at " /bin/date We use restore by itself for the last partition restoration. robin