[SGVLUG] How to split a "big backup" [that uses tar]

Emerson, Tom Tom.Emerson at wbconsultant.com
Thu Sep 29 11:16:10 PDT 2005


> -----Original Message-----
> Behalf Of Michael Proctor-Smith
> 
> tar -c STUFFGETSCOMPRESSED | gzip - | split -b 2048 - backup

It took a moment to think about it, but just to be certain, would "recovering a file" from this entail the following:

   cat backup* | gunzip | tar -x <files-to-restore>

I'm still a little fuzzy on whether or not some "temporary" file might be involved (which might run into the 4GB filesize limit)  or is that the nature of "pipes" in that these programs actually work "concurrently" so that the number of bytes "in the queue" remains trivially small?



More information about the SGVLUG mailing list