* SUMMARY: Restore option
@ 2001-07-11 5:00 NTarasyuk
0 siblings, 0 replies; only message in thread
From: NTarasyuk @ 2001-07-11 5:00 UTC (permalink / raw)
To: tru64-unix-managers
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C109C6.6D351718", Size: 4810 bytes --]
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"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Restore option</TITLE>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=625405204-11072001>Hi</SPAN></FONT></DIV>
<DIV><SPAN class=625405204-11072001> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=625405204-11072001>Thanks
to James Sainsbury and John Tan for their advices.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=625405204-11072001></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=625405204-11072001>The
following two commands have both produced the same result, only -r option
additionally created restoresymtable file:</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2>dump -0f - / | (cd /root_saved;
restore -rf -) </FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=625405204-11072001>and</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2>dump -0f - / | (cd /root_saved;
restore -xf -) </FONT></SPAN><SPAN
class=625405204-11072001></SPAN></DIV>
<DIV> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=625405204-11072001>Original question was:</SPAN></FONT></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<P><FONT face=Arial><FONT size=2><SPAN class=625405204-11072001><FONT
color=#0000ff>" </FONT></SPAN>Usually I used -r option with restore
utility for restoring a whole partition from a tape, e.g.</FONT></FONT> </P>
<P><FONT face=Arial size=2>mount /dev/rz0a /mnt</FONT> <BR><FONT face=Arial
size=2>cd /mnt; restore -r</FONT> </P>
<P><FONT face=Arial size=2>This time I simply need to save root partition into
some directory on another partition.</FONT> <BR><FONT face=Arial size=2>I
thought that the following would do it:</FONT> </P>
<P><FONT face=Arial size=2>dump -0f - / | (cd /root_saved; restore -rf
-)</FONT> </P>
<P><FONT face=Arial size=2>or would it be </FONT></P>
<P><FONT face=Arial size=2>dump -0f - / | (cd /root_saved; restore -xf
-) ?</FONT> </P>
<P><FONT face=Arial size=2>I was going to use the second option (-x), but, I
am afraid , I don't have clear understanding of </FONT><BR><FONT face=Arial
size=2>what the difference between using options -r and -x in this example
is.</FONT> </P>
<P><FONT face=Arial size=2>I wonder if someone can enlighten me on
this.</FONT> </P>
<P><FONT face=Arial size=2>Thank you.</FONT> <FONT color=#0000ff
face=Arial size=2><SPAN
class=625405204-11072001> " </SPAN></FONT></P></BLOCKQUOTE>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=625405204-11072001>Nik
Tarasyuk</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=625405204-11072001>Software Engineer</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=625405204-11072001>Snowy
Hydro</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=625405204-11072001>Australia</SPAN></FONT></DIV><FONT color=#0000ff
face=Arial size=2><SPAN class=625405204-11072001>
<DIV> </DIV></SPAN></FONT></BODY></HTML>
------_=_NextPart_001_01C109C6.6D351718--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-07-11 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-11 5:00 SUMMARY: Restore option NTarasyuk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox