tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [Q] dd command!
@ 1997-11-06  5:49 Susan Rodriguez
  0 siblings, 0 replies; only message in thread
From: Susan Rodriguez @ 1997-11-06  5:49 UTC (permalink / raw)
  To: tru64-unix-managers

I kept the following summary from another question posted to the list:

> ----------
> From: 	singhh@vrinet.com[SMTP:singhh@vrinet.com]
> Sent: 	Tuesday, October 07, 1997 7:39 AM
> To: 	alpha-osf-managers@ornl.gov
> Subject: 	SUMMARY: dd command!
> 
> 
> 
> 
> 
> 
> SOLUTION::::::
> You can just do a tar xf - /dev/rmt0h | tar cf /dev/rmt1h.
> 
> OR dd if=/dev/rmt0h of=/dev/rmt1h bs=10240
> That sends the tar output to standard out, piping it into a tar
> command
> that puts it on the other tape.
> 
> it did the trick:-)))
> 
> Thanks
> 
> Harry
> 
> 
---------------------------------------------

I've been using this trick to make copies of my backups to send
off-site.  But now I'm faced with tapes created with dump rather than
tar.  The dd command doesn't seem to be working as well for this.  I've
fiddled with block size.  As I understand it, dump's default block size
is 1024.  I can't restore from copied tapes.  The restore command can't
find a header file for the dump.

Does anyone have a command for copying one tape dump to another?

TIA

susrod@hbsi.com

(Yes, I have several summaries forthcoming)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-11-06  5:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-06  5:49 [Q] dd command! Susan Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox