From: arno@antares.utu.fi (Arno Hahma)
Subject: Re: HOW to use vdump
Date: 1997/12/22 [thread overview]
Message-ID: <67lu10$4g2@antares.utu.fi> (raw)
In-Reply-To: 349E603A.41C6@ms3.hinet.net
In article <349E603A.41C6@ms3.hinet.net>,
test account <vincent9@ms3.hinet.net> wrote:
>(/)cd usr
>(/usr) ls
>nothing inside the usr directory..!!
>also happened in /test directory!!
>So my question is if my backup command is wrong..
No, it is allright.
>and how to use vdump to backup a whole disk data and how to restore it
>from tape.
You did back up the whole disk. The trick is, that each vdump command
creates its own file on the tape, starting from zero. When you read
with vrestore, you read the first file, that is, the backup of / or
root directory only and you are seeing only the mount point directory
for /usr.
To get to the next file, repeat vrestore (with a non-rewinding device
node) or rewind/wind the tape to the appropriate file number. As a rule
of thumb, you need as many vrestore commands as you used vdump
commands.
With your script example, to restore /usr:
mt rewind
mt fsf 1
vrestore -i -f /dev/nrmt0h (or whatever tape device you are using).
>Vincent Huang
ArNO
2
prev parent reply other threads:[~1997-12-22 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-12-22 5:00 HOW to use vdump test account
1997-12-22 5:00 ` Arno Hahma [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