Class | Backup::Compressor::Pbzip2 |
In: |
lib/backup/compressor/pbzip2.rb
|
Parent: | Base |
best | [RW] | Tells Backup::Compressor::Pbzip2 to compress better (-9) rather than faster when set to true |
fast | [RW] | Tells Backup::Compressor::Pbzip2 to compress faster (-1) rather than better when set to true |
processors | [RW] | Tells Backup::Compressor::Pbzip2 how many processors use, by default autodetect is used |
Creates a new instance of Backup::Compressor::Pbzip2 and configures it to either compress faster or better bzip2 compresses by default with -9 (best compression) and lower block sizes don‘t make things significantly faster (according to official bzip2 docs)