Re: tar/cpio data read from pipe?

From: John WF Macartney <jwfm_at_ascada.ascada.demon.co.uk>
Date: 1995/11/08
Message-ID: <JWFM.95Nov8154524_at_ascada.ascada.demon.co.uk>#1/1


In article <478j83$6d5_at_homer.alpha.net> dev_dp_at_mfa.com (Dave Plonka) writes:

>
> I'd like to be able to use Oracle's exp utility to export directly to
> either tar or cpio, to write to tape. What I'm trying to avoid is
> having to first export to a file-system then tar/cpio those files
> to the tape. (The exports, which will be run periodically, are
> prohibitively large to be saved to the disk.)
>
> I've managed to write the export directly to tape by exporting to a
> named pipe, and then using dd from the named pipe to the tape, but
> that is not sufficient in this case because I want the ability to
> create MULTI-VOLUME ARCHIVES that tar and cpio provide: that is,
> they can create very large archives across multiple tapes by prompting
> for the loading of another tape.
>
> Can be mapped to the use of either tar or cpio? Both of these seem to
> require a filenames...
>
> Any ideas?

If you can get dd to read from a pipe, you should be able to get tar to read from a pipe by using "-" as the filename (i.e. use stdin).         

Hope this helps,

-john


John W.F. Macartney, Ascada Ltd		Scottish Software Partner Centre
					South Queensferry
Phone: 		+44 131 331 7979	West Lothian
Fax:		+44 131 319 1088	EH30 9TG
Direct phone:	+44 131 331 7751	Scotland
------------------------------------------------------------------------------
-- 
------------------------------------------------------------------------------
John W.F. Macartney, Ascada Ltd		Scottish Software Partner Centre
					South Queensferry
Phone: 		+44 131 331 7979	West Lothian
Fax:		+44 131 319 1088	EH30 9TG
Direct phone:	+44 131 331 7751	Scotland
------------------------------------------------------------------------------
Received on Wed Nov 08 1995 - 00:00:00 CET

Original text of this message