From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,8d07141e58d04578 X-Google-Attributes: gidfa528,public From: "Pedro M. Matias" Subject: Re: How to use vrestore to restore an entire fileset Date: 2000/07/26 Message-ID: <397EA2D3.AAD1C292@itqb.unl.pt>#1/1 X-Deja-AN: 650895232 Content-Transfer-Encoding: 7bit References: X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Instituto de Tecnologia Quimica e Biologica Mime-Version: 1.0 Newsgroups: comp.unix.tru64 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.