From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653652421790.tru64-unix-managers.marc@archive.invalid> From: NTarasyuk () snowyhydro ! com ! au Date: Wed, 11 Jul 2001 02:25:03 +0000 To: tru64-unix-managers Subject: Restore option X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653652421790 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------_=_NextPart_001_01C109B0.B1290D5A" This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C109B0.B1290D5A Content-Type: text/plain; charset="iso-8859-1" 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 ------_=_NextPart_001_01C109B0.B1290D5A Content-Type: text/html; charset="iso-8859-1"
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