* [Q] what is this "next volume #" ?? when i restore ?
@ 2004-08-11 5:01 Jeong BG
2004-08-11 6:17 ` Hans Martin Schwengeler
0 siblings, 1 reply; 4+ messages in thread
From: Jeong BG @ 2004-08-11 5:01 UTC (permalink / raw)
Dear.
I am running 5.x .
I want to restore filesystem.
I usually dump my file systems on one single tape, here is the procedure:
#---------------------------
/usr/bin/mt -f /dev/rmt0h rewind
/usr/sbin/dump -0uf /dev/nrmt0h /usr
/usr/sbin/dump -0uf /dev/nrmt0h /junk
/usr/bin/mt -f /dev/rmt0h rewind
#----------------------------
The files I want to restore are in /junk.
Before entering restore, I skip the 2 first file systems:
/usr/bin/mt -f /dev/nrmt0h fsf 2
Now I enter "restore -i". "ls" shows that I am correctly positioned.
I then "add" the files I want to restore, then "extract"
Now comes a totally cryptic question:
I understand that the tape has to be correctly positioned for me to be
able to "add" the files I want to extract. Since I _am_ correctly
positioned, what is this f.... "next volume #" ??
I found nothing useful in the System Administration book.
Thanks for your help,
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Q] what is this "next volume #" ?? when i restore ?
2004-08-11 5:01 [Q] what is this "next volume #" ?? when i restore ? Jeong BG
@ 2004-08-11 6:17 ` Hans Martin Schwengeler
2004-08-12 3:33 ` Jeong BG
0 siblings, 1 reply; 4+ messages in thread
From: Hans Martin Schwengeler @ 2004-08-11 6:17 UTC (permalink / raw)
Jeong BG wrote:
> Dear.
>
> I am running 5.x .
>
> I want to restore filesystem.
>
> I usually dump my file systems on one single tape, here is the procedure:
>
> #---------------------------
> /usr/bin/mt -f /dev/rmt0h rewind
> /usr/sbin/dump -0uf /dev/nrmt0h /usr
> /usr/sbin/dump -0uf /dev/nrmt0h /junk
> /usr/bin/mt -f /dev/rmt0h rewind
> #----------------------------
>
> The files I want to restore are in /junk.
>
> Before entering restore, I skip the 2 first file systems:
>
> /usr/bin/mt -f /dev/nrmt0h fsf 2
>
> Now I enter "restore -i". "ls" shows that I am correctly positioned.
> I then "add" the files I want to restore, then "extract"
>
> Now comes a totally cryptic question:
>
> I understand that the tape has to be correctly positioned for me to be
> able to "add" the files I want to extract. Since I _am_ correctly
> positioned, what is this f.... "next volume #" ??
> I found nothing useful in the System Administration book.
>
> Thanks for your help,
Hmm,
if you want to restore from the second fileset, I'd say you need to
skip only one fileset,
i.e : /usr/bin/mt -f /dev/nrmt0h fsf 1
the do the restore -i -f /dev/nrmt0h.
Yours, Hans
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Q] what is this "next volume #" ?? when i restore ?
2004-08-11 6:17 ` Hans Martin Schwengeler
@ 2004-08-12 3:33 ` Jeong BG
2004-08-12 6:41 ` Hans Martin Schwengeler
0 siblings, 1 reply; 4+ messages in thread
From: Jeong BG @ 2004-08-12 3:33 UTC (permalink / raw)
> Hmm,
>
> if you want to restore from the second fileset, I'd say you need to
> skip only one fileset,
> i.e : /usr/bin/mt -f /dev/nrmt0h fsf 1
> the do the restore -i -f /dev/nrmt0h.
>
> Yours, Hans
thanks.
there's my mistake.
my curiously quest,
though filesystem is backuped in only one tape,
that question is displayed sometimes.
unless i write '1', do not continue restoring.
what is this f.... "next volume #" ??
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Q] what is this "next volume #" ?? when i restore ?
2004-08-12 3:33 ` Jeong BG
@ 2004-08-12 6:41 ` Hans Martin Schwengeler
0 siblings, 0 replies; 4+ messages in thread
From: Hans Martin Schwengeler @ 2004-08-12 6:41 UTC (permalink / raw)
Jeong BG wrote:
>>Hmm,
>>
>> if you want to restore from the second fileset, I'd say you need to
>>skip only one fileset,
>>i.e : /usr/bin/mt -f /dev/nrmt0h fsf 1
>>the do the restore -i -f /dev/nrmt0h.
>>
>>Yours, Hans
>
>
> thanks.
> there's my mistake.
> my curiously quest,
>
> though filesystem is backuped in only one tape,
> that question is displayed sometimes.
> unless i write '1', do not continue restoring.
>
> what is this f.... "next volume #" ??
Well then, from google I get:
When you give the extract command, something like the following will appear:
You have not read any tapes yet.
Unless you know which volume your file(s) are on you
should start with the last volume and work forward
towards the first.
Specify next volume #:
This is a prompt from the bad old days when a filesystem dump would
spread over multiple tapes; that (fortunately) doesn't happen on DAT
tapes, so just enter 1 in response to this prompt.
Yours, Hans
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-08-12 6:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-11 5:01 [Q] what is this "next volume #" ?? when i restore ? Jeong BG
2004-08-11 6:17 ` Hans Martin Schwengeler
2004-08-12 3:33 ` Jeong BG
2004-08-12 6:41 ` Hans Martin Schwengeler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox