* SUMMARY: backup script - cpio & gzip
@ 2001-05-02 23:57 Lorraine.Ambrosio
0 siblings, 0 replies; only message in thread
From: Lorraine.Ambrosio @ 2001-05-02 23:57 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_01C0D363.93B96E00", Size: 3202 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_01C0D363.93B96E00
Content-Type: text/plain
Thank you to Nikola Milutinovic, Alan Angulo, Udo de Boer, Marlene Lam,
Jean-Marie Robin, J.A. Gutierrez, Trevor Osatchuk, Len Whitwer and Joerg
Bruehe for responding to my message. I appreciated all your responses.
I went with the following commands to complete the backup of the necessary
files I wanted.
1. Copy textual control file
find /d06/trace/* | tail -1 >>backemup.dat
2. Write all prod files to backemup.dat
find /d0[1234567]/oradata/prod -type f -print | grep -v 'archp'
>>backemup.dat
3. Write all archive log files to backemup.dat
ls /d06/oradata/prod/archive/*.ARC >>backemup.dat
4. Copy all files listed in backemup.dat to tape.
cpio -ovC65536 <backemup.dat> /dev/rmt2h
5. Remove backemup.dat file when finished.
rm backemup.dat
6. List contents of tape
cpio -itvC65536 -I/dev/rmt2h
Thanks again,
Ciao,
Lorraine Ambrosio
DBA, Cominco, Ltd.
------_=_NextPart_001_01C0D363.93B96E00
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>SUMMARY: backup script - cpio & gzip </TITLE>
</HEAD>
<BODY>
<BR>
<P><FONT SIZE=3D2>Thank you to Nikola Milutinovic, Alan Angulo, Udo de =
Boer, Marlene Lam, Jean-Marie Robin, J.A. Gutierrez, Trevor Osatchuk, =
Len Whitwer and Joerg Bruehe for responding to my message. I =
appreciated all your responses.</FONT></P>
<P><FONT SIZE=3D2>I went with the following commands to complete the =
backup of the necessary files I wanted.</FONT>
</P>
<P><FONT SIZE=3D2>1. Copy textual control file</FONT>
<BR> <FONT SIZE=3D2>find =
/d06/trace/* | tail -1 >>backemup.dat</FONT>
<BR><FONT SIZE=3D2>2. Write all prod files to backemup.dat</FONT>
<BR> <FONT SIZE=3D2>find =
/d0[1234567]/oradata/prod -type f -print | grep -v 'archp' =
>>backemup.dat</FONT>
<BR><FONT SIZE=3D2>3. Write all archive log files to =
backemup.dat</FONT>
<BR> <FONT SIZE=3D2>ls =
/d06/oradata/prod/archive/*.ARC >>backemup.dat</FONT>
<BR><FONT SIZE=3D2>4. Copy all files listed in backemup.dat to =
tape.</FONT>
<BR> <FONT SIZE=3D2>cpio =
-ovC65536 <backemup.dat> /dev/rmt2h</FONT>
<BR><FONT SIZE=3D2>5. Remove backemup.dat file when finished.</FONT>
<BR> <FONT SIZE=3D2>rm =
backemup.dat</FONT>
<BR><FONT SIZE=3D2>6. List contents of tape</FONT>
<BR> <FONT SIZE=3D2>cpio =
-itvC65536 -I/dev/rmt2h</FONT>
</P>
<P><FONT SIZE=3D2>Thanks again,</FONT>
<BR><FONT SIZE=3D2>Ciao,</FONT>
</P>
<P><FONT SIZE=3D2>Lorraine Ambrosio</FONT>
<BR><FONT SIZE=3D2>DBA, Cominco, Ltd.</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C0D363.93B96E00--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-05-02 23:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-02 23:57 SUMMARY: backup script - cpio & gzip Lorraine.Ambrosio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox