From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653644221568.tru64-unix-managers.marc@archive.invalid> From: Shane Southwood Date: Mon, 03 Dec 2001 19:52:22 +0000 To: tru64-unix-managers Subject: Summary: Tar and tape question... X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653644221568 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------_=_NextPart_001_01C17C34.06436BF0" 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_01C17C34.06436BF0 Content-Type: text/plain; charset="iso-8859-1" Original Question: I've an off-the-wall question for the UNIX guru's on the mailing list. OK, here goes. Being very unfamiliar with the specifics of how tar and tape devices inter-relate, I was wondering if there is a way to dump the entire contents of a tape onto a hard disk for backup onto a CD or just some other media WITHOUT untarring the files. I realize that untarring and retarring doesn't do anything to the contents of files, but I was just wondering if it is possible? If not, I'll write a shell script or do command prompt to pipe the result of untar to a new tar file... Thanks for your time admins! Solution: The dd program allows you to dump from a device (hmmmm... I wonder where the name dd came from... ha! ) The proper syntax for the command to do this is ... dd if=/dev/rmt0h of=/big-file-system/fileset.tar bs=10240 Taking into consideration block size of both input and output and the output file name... People who have earned a self-administered pat on the back in no particular order: Mehall, Michael R. [michael_r_mehall@md.northgrum.com] Hines, Bruce D [bruce.hines@eds.com] George Gallen [ggallen@slackinc.com] alan@nabeth.cxo.cpqcorp.net Heinz-Hermann Adam [adamh@nwz.uni-muenster.de] Robert M. Lang [lang@isis.mit.edu] Oisin McGuinness [oisin@sbcm.com] Haesaerts, Corinne [Corinne.Haesaerts@compaq.com] Greg Freemyer [freemyer@NorcrossGroup.com] Davis, Alan [Davis@tessco.com] Frank Wortner [frank@bondnet.com] ------_=_NextPart_001_01C17C34.06436BF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Summary: Tar and tape question...

Original Question: 

I've an off-the-wall question for the = UNIX guru's on the mailing list. OK, here goes. Being very unfamiliar = with the specifics of how tar and tape devices inter-relate, I was = wondering if there is a way to dump the entire contents of a tape onto = a hard disk for backup onto a CD or just some other media WITHOUT = untarring the files. I realize that untarring and retarring doesn't do = anything to the contents of files, but I was just wondering if it is = possible? If not, I'll write a shell script or do command prompt to = pipe the result of untar to a new tar file...

Thanks for your time admins!

Solution:

The dd program allows you to dump from = a device (hmmmm... I wonder where the name dd came from... ha! )  = The proper syntax for the command to do this is ...

dd if=3D/dev/rmt0h = of=3D/big-file-system/fileset.tar bs=3D10240

Taking into consideration block size = of both input and output and the output file name...

People who have earned a = self-administered pat on the back in no particular order:

Mehall, Michael R. = [michael_r_mehall@md.northgrum.com]
Hines, Bruce D = [bruce.hines@eds.com]
George Gallen = [ggallen@slackinc.com]
alan@nabeth.cxo.cpqcorp.net
Heinz-Hermann Adam = [adamh@nwz.uni-muenster.de]
Robert M. Lang = [lang@isis.mit.edu]
Oisin McGuinness = [oisin@sbcm.com]
Haesaerts, Corinne = [Corinne.Haesaerts@compaq.com]
Greg Freemyer = [freemyer@NorcrossGroup.com]
Davis, Alan [Davis@tessco.com]
Frank Wortner = [frank@bondnet.com]

------_=_NextPart_001_01C17C34.06436BF0--