Class: Duplicati::Clean
Instance Method Summary collapse
Methods inherited from Command
Constructor Details
This class inherits a constructor from Duplicati::Command
Instance Method Details
#command ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/duplicati/clean.rb', line 3 def command %Q["#{@duplicati_path}" delete-all-but-n 2 "#{@backup_store_path}" #{encryption_option} --force 1>>"#{@log_path}" 2>&1] end |