From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653647621640.tru64-unix-managers.marc@archive.invalid> From: Lorraine.Ambrosio () cominco ! com Date: Wed, 02 May 2001 23:57:00 +0000 To: tru64-unix-managers Subject: SUMMARY: backup script - cpio & gzip X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653647621640 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------_=_NextPart_001_01C0D363.93B96E00" 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 /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 SUMMARY: backup script - cpio & gzip

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--