Restore option

From: <NTarasyuk_at_snowyhydro.com.au>
Date: Wed, 11 Jul 2001 12:25:03 +1000

Hi

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 - 02:26:40 NZST

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