Class: Duplicati::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/duplicati/command.rb

Direct Known Subclasses

Backup, Clean

Instance Method Summary collapse

Constructor Details

#initialize(opts) ⇒ Command

Returns a new instance of Command.



4
5
6
7
8
9
# File 'lib/duplicati/command.rb', line 4

def initialize(opts)
  @duplicati_path = opts[:duplicati_path]
  @backup_store_path = opts[:backup_store_path] or raise ":backup_store_path option is missing!"
  @backup_encryption_key = opts[:backup_encryption_key]
  @log_path = opts[:log_path]
end