From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,492aea50fc593287 X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!uio.no!nntp.uio.no!not-for-mail From: Kjell Andresen Newsgroups: comp.unix.tru64 Subject: Re: restore without rewind Date: 14 Feb 2006 19:17:53 +0100 Organization: - Sender: kjell@modell.uio.no Message-ID: References: <1139927844.250016.199100@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: modell.uio.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: readme.uio.no 1139941073 23366 129.240.186.81 (14 Feb 2006 18:17:53 GMT) X-Complaints-To: abuse@uio.no NNTP-Posting-Date: Tue, 14 Feb 2006 18:17:53 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Xref: g2news1.google.com comp.unix.tru64:270 "Chris" writes: > HI. Unix newbie here. I have a small Tru64 system. Client gave me a > tape with several dump files on it. I know one can use a no-rewind > version of the tape device for general operations. And it seems to work > fine with TAR. > > But for some reason when I try to restore dump- files consecutively, > (-f /dev/ntape/tape0 ), > it doesn't work. It seems not to be in position to start the next file. > Sorry but I don't have the error message handy just now. > I have to use the -s switch to go find each one after a rewind. > > Does this sound familiar to anyone? Thanks. I have written a script a long time ago, looks like .. echo 0 : making initial status etc. mt -f /dev/nrmt0h online mt -f /dev/nrmt0h status mt -f /dev/rmt0h rewind # # First disk # date echo 1 : Tar fulldump av /admin/cirocco/ora_bck /sbin/vdump -0 -q -u -b 60 -f /dev/nrmt0h /admin/cirocco/ora_bck sleep 15 date echo 2 : Takes fulldump of /admin/cirocco/ora_arc /sbin/vdump -0 -q -u -b 60 -f /dev/nrmt0h /admin/cirocco/ora_arc sleep 15 Regards, Kjell Andresen Systems administrator, University of Oslo, Norway Center for Information Technology Services and Department of Geosciences