TeraMarv has asked for the wisdom of the Perl Monks concerning the following question:
I need to perform and achive from a database to disk (on windows) using the dbs archive utility. Normally this wouldn't be a problem only i don't have enough disk to hold the uncompressed archive.
The target file is referenced in the archive utility script like this:
FILE=filename
I can however map this filename to another using one of the tools environment variables, if that makes any difference?
I usually call the archive tool via a filehandle and here doc in perl. So do any of you holy men know of a way i can stream the data from my application straight into gzip (the backup utility writes to a file by default) or any other compression tool? I know a named pipe in Unix would do it but i don't think that it works quite the same in Win32::Pipe.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Stream data from application to Gzip
by Zaxo (Archbishop) on Mar 23, 2005 at 00:49 UTC | |
by TeraMarv (Beadle) on Mar 23, 2005 at 04:01 UTC | |
by naChoZ (Curate) on Mar 23, 2005 at 14:09 UTC |