I am using tar
to backup a linux server to tape. I am using the -j
option to compress the file with bzip2
, however I can't see a way to adjust the block size options for bzip2 from tar. The default block size is 900,000 bytes which gives the best compression but is the slowest. I am not that bothered about the compression ratio, so am looking to make bzip2 run faster with a smaller block size.
Linux – How to set bzip2 block size when using tar
backupcompressionlinux
Best Answer
Or pipe the output of
tar
tobzip2
.Though you should note from the bzip2 man page: