SUMMARY: backup using cpio, listing contents of tape drive

From: <Lorraine.Ambrosio_at_cominco.com>
Date: Wed, 02 May 2001 17:09:00 -0700

Thank you to Dr. Thomas Blinn, Greg Freemyer and Udo de Boer for responding
to my question regarding the error messages I was getting when I attempted
to list the contents of a DLT tape on a TZ88 tape drive.

I missed including the following information in the following information in
the initial message. On a Digital Unix 4.0E, Alpha 1000/300 platform writing
to a TZ88 tape drive cpio Oracle database files I did the following
commands.

find /d0[123]/oradata/prod -type f -print | grep -v 'arch' >>backemup.dat

cpio -ovC65536 <backemup.dat> /dev/rmt2h

then I wanted to list the contents of the tape with

cpio -itv -I/dev/rmt2h and received error messages eg. Bad Magic Number,
may be corrupt.

however as suggested I altered the command to list the contents as
follows...

cpio -itvC65536 -I/dev/rmt2h .... specifying the block size originally used
in the copy and it works!!

Thanks again,
Lorraine Ambrosio
DBA, Cominco, Ltd.
Received on Wed May 02 2001 - 23:15:25 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT