Class Backup::Compressor::Lzma
In: lib/backup/compressor/lzma.rb
Parent: Base

Methods

compress_with   new  

Attributes

best  [RW]  Tells Backup::Compressor::Lzma to compress better (-9) rather than faster when set to true
fast  [RW]  Tells Backup::Compressor::Lzma to compress faster (-1) rather than better when set to true

Public Class methods

Creates a new instance of Backup::Compressor::Lzma and configures it to either compress faster or better Lzma compresses by default with -9 (best compression) and lower block sizes don‘t make things significantly faster (according to official bzip2 docs)

Public Instance methods

Yields to the block the compressor command with options and it‘s filename extension.

[Validate]