* How to use vrestore to restore an entire fileset
@ 2000-07-25 4:00 Keith Bradnam
2000-07-25 4:00 ` Chris Johnson
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Keith Bradnam @ 2000-07-25 4:00 UTC (permalink / raw)
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
This has successfully backed up a root fileset, and a 'home' fileset.
I can see the relevant files on the tape by running either:
vrestore -t
The -i and -x options then let me restore *individual* files with no
problem. And then if I run:
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
~ Keith Bradnam - Developer, Arabidopsis Genome Resource (AGR)
~ Nottingham Arabidopsis Stock Centre - http://nasc.nott.ac.uk/
~ University Park, University of Nottingham, NG7 2RD, UK
~ Tel: (0115) 951 3091
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: How to use vrestore to restore an entire fileset
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
2 siblings, 0 replies; 4+ messages in thread
From: Chris Johnson @ 2000-07-25 4:00 UTC (permalink / raw)
Keith Bradnam (keith@thale.nott.ac.uk) wrote:
: 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
Assuming your tape drive is mt0 there should have been created
two versions. Example /dev/rmt0h and /dev/nrmt0h. The first
autorewinds. You use the second form with mt -f and it won't rewind
after it fast forwards.
--
-------------------------------------------------------------------------------
Chris Johnson |Internet: johnson@isn.dac.neu.edu
Assistant Director, Systems |Web: http://www.ats.neu.edu/c.johnson
Academic Technology Services |Voice: 617.373.4580
Northeastern University, 39 RI |FAX: 617.373.8600
360 Huntington Ave. |Life n, something from which nobody escapes
Boston, MA., U.S.A. 02115 |alive. Me
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: How to use vrestore to restore an entire fileset
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
2 siblings, 0 replies; 4+ messages in thread
From: Oisin McGuinness @ 2000-07-25 4:00 UTC (permalink / raw)
(reply by email and to group)
It is quite possible that since you have verified by hand that you do
indeed have
two dumps on the tape, that you do; personally I am very suspicious that
you should
have specified the no-rewind version of the tape device on all the
vdump's, and then
I would expect you need to do this in order to restore (vrestore
defaults to
the rewind tape device)
mt -f /dev/nrmt0h fsf 1
vrestore -f /dev/nrmt0h -x
> 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
>
> ~ Keith Bradnam - Developer, Arabidopsis Genome Resource (AGR)
> ~ Nottingham Arabidopsis Stock Centre - http://nasc.nott.ac.uk/
> ~ University Park, University of Nottingham, NG7 2RD, UK
> ~ Tel: (0115) 951 3091
--
Oisin McGuinness
Sumitomo Bank Capital Markets
277 Park Avenue
New York NY 10172
USA
(212)-224-4913, email: oisin@sbcm.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to use vrestore to restore an entire fileset
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
2 siblings, 0 replies; 4+ messages in thread
From: Pedro M. Matias @ 2000-07-26 4:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-07-26 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox