Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Pedro M. Matias" <matias@itqb.unl.pt>
Subject: Re: How to use vrestore to restore an entire fileset
Date: 2000/07/26	[thread overview]
Message-ID: <397EA2D3.AAD1C292@itqb.unl.pt> (raw)
In-Reply-To: Pine.SOL.3.96.1000725144235.24934Y-100000@thale



Keith Bradnam wrote:

> Hello,
>
> Following helpful advice from readers of this newsgroup, I now have my
> TZ88 DLT tape drive up and running.  However, I'm still experiencing some
> problems when using vrestore to get the data back off of the tape and was
> wondering if anyone can help me.
>
> I've backed up two filesets sequentially to one DLT tape using:
>
> vdump -0 -u -f /
> vdump -0 -u -f /home

I use the following command

vdump -0uf /dev/nrmt1h /disk2

which backs up the filesystem mounted on /disk2 to the DLT using the
non-rewind
non-compress mode to a 20GB cartridge. I would venture that if you used the
commands listed above you just backed up /home on top of / (unless you have
the
non-rewind tape device as the default). It shouldn't have even worked with
the
-f switch without a tape device in front of it but maybe you forgot to type
the
whole line in this posting.

>
> ...

>
> mt fsf
>
> I can forward through the tape to the next fileset and run extract files
> using vrestore -i (or -x) again.
>
> But HOW do I restore an *entire* fileset in one go?  I can't seem to find
> any way of doing this.  I've found that simply by running:
>
> vrestore -x
>
> with no further options, this restored my root fileset into the current
> directory, but if I then run 'mt fsf' and repeat 'vrestore -x' it doesn't
> restore my 'home' fileset, but restores the root fileset again.
>
> What am I doing wrong?  I can't seem to find anything in the vrestore man
> page that explicitly states how to restore whole filesets.
>
> Hope someone can help,
>
> Keith
>

Use the non-rewind tape device

cd /home (this may be necessary)
mt -t /dev/nrmt?? fsf 1
vrestore -x -f /dev/nrmt??

Hope this helps,

Pedro.





      parent reply	other threads:[~2000-07-26  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-25  4:00 How to use vrestore to restore an entire fileset Keith Bradnam
2000-07-25  4:00 ` Chris Johnson
2000-07-25  4:00 ` Oisin McGuinness
2000-07-26  4:00 ` Pedro M. Matias [this message]
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