SUMMARY: Restore option

From: <NTarasyuk_at_snowyhydro.com.au>
Date: Wed, 11 Jul 2001 15:00:37 +1000

Hi
 
Thanks to James Sainsbury and John Tan for their advices.
 
The following two commands have both produced the same result, only -r
option additionally created restoresymtable file:
 
dump -0f - / | (cd /root_saved; restore -rf -)
 
and
 
dump -0f - / | (cd /root_saved; restore -xf -)
 
Original question was:

" Usually I used -r option with restore utility for restoring a whole
partition from a tape, e.g.

mount /dev/rz0a /mnt
cd /mnt; restore -r

This time I simply need to save root partition into some directory on
another partition.
I thought that the following would do it:

dump -0f - / | (cd /root_saved; restore -rf -)

or would it be

dump -0f - / | (cd /root_saved; restore -xf -) ?

I was going to use the second option (-x), but, I am afraid , I don't have
clear understanding of
what the difference between using options -r and -x in this example is.

I wonder if someone can enlighten me on this.

Thank you. "

Nik Tarasyuk
Software Engineer
Snowy Hydro
Australia
 
Received on Wed Jul 11 2001 - 05:02:52 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT