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

Michael Proctor-Smith mproctor13 at gmail.com
Thu Sep 29 10:29:08 PDT 2005


On 9/29/05, Emerson, Tom <Tom.Emerson at wbconsultant.com> wrote:
> Any (other) suggestions on how to use tar to back up 4gb+ of data?  (I could get the details of the actual command he is using, if that would help)

tar -c STUFFGETSCOMPRESSED | gzip - | split -b 2048 - backup

this will output 2GB files named backupaa-backupzz, He could set the
size to what ever the size of the media that he wants to move his
backup to. Using bzip would also reduce the total archive size as it
gets better compression.


More information about the SGVLUG mailing list