From: Lorraine.Ambrosio () cominco ! com
To: tru64-unix-managers
Subject: FW: SUMMARY: backup script - cpio & gzip
Date: Thu, 03 May 2001 00:10:00 +0000 [thread overview]
Message-ID: <102653647621641.tru64-unix-managers.marc@archive.invalid> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C0D365.64A3FC00", Size: 3218 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_01C0D365.64A3FC00
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_01C0D365.64A3FC00
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>FW: SUMMARY: backup script - cpio & gzip </TITLE>
</HEAD>
<BODY>
<BR>
<BR>
<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_01C0D365.64A3FC00--
reply other threads:[~2001-05-03 0:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox