Class: Duplicati::Clean

Inherits:
Command show all
Defined in:
lib/duplicati/clean.rb

Instance Method Summary collapse

Methods inherited from Command

#initialize

Constructor Details

This class inherits a constructor from Duplicati::Command

Instance Method Details

#commandObject



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