From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653652421791.tru64-unix-managers.marc@archive.invalid> From: NTarasyuk () snowyhydro ! com ! au Date: Wed, 11 Jul 2001 05:00:37 +0000 To: tru64-unix-managers Subject: SUMMARY: Restore option X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653652421791 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------_=_NextPart_001_01C109C6.6D351718" 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_01C109C6.6D351718 Content-Type: text/plain; charset="iso-8859-1" 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 ------_=_NextPart_001_01C109C6.6D351718 Content-Type: text/html; charset="iso-8859-1"
" 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 -rThis 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. "