* Restore option
@ 2001-07-11 2:25 NTarasyuk
0 siblings, 0 replies; only message in thread
From: NTarasyuk @ 2001-07-11 2:25 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_01C109B0.B1290D5A", Size: 2693 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_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"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
<TITLE>Restore option</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2 FACE="Arial">Hi</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Usually I used -r option with restore utility for restoring a whole partition from a tape, e.g.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">mount /dev/rz0a /mnt</FONT>
<BR><FONT SIZE=2 FACE="Arial">cd /mnt; restore -r</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">This time I simply need to save root partition into some directory on another partition.</FONT>
<BR><FONT SIZE=2 FACE="Arial">I thought that the following would do it:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">dump -0f - / | (cd /root_saved; restore -rf -)</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">or would it be </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">dump -0f - / | (cd /root_saved; restore -xf -) ?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I was going to use the second option (-x), but, I am afraid , I don't have clear understanding of </FONT>
<BR><FONT SIZE=2 FACE="Arial">what the difference between using options -r and -x in this example is.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I wonder if someone can enlighten me on this.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thank you.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Nik Tarasyuk</FONT>
<BR><FONT SIZE=2 FACE="Arial">Software Engineer</FONT>
<BR><FONT SIZE=2 FACE="Arial">Snowy Hydro</FONT>
<BR><FONT SIZE=2 FACE="Arial">Australia</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C109B0.B1290D5A--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-07-11 2:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-11 2:25 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