From: Kjell Andresen <kjell@dod.no>
Subject: Re: restore without rewind
Date: 14 Feb 2006 19:17:53 +0100 [thread overview]
Message-ID: <u8nbqx9hkj2.fsf@modell.uio.no> (raw)
In-Reply-To: 1139927844.250016.199100@z14g2000cwz.googlegroups.com
"Chris" <archive.raider@gmail.com> 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
next prev parent reply other threads:[~2006-02-14 18:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-14 14:37 restore without rewind Chris
2006-02-14 18:17 ` Kjell Andresen [this message]
2006-02-14 22:07 ` Chris
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox