Class: Backup::Syncer::RSync::Pull
- Defined in:
- lib/backup/syncer/rsync/pull.rb
Instance Attribute Summary
Attributes inherited from Push
#additional_ssh_options, #compress, #host, #mode, #port, #rsync_password, #rsync_password_file, #rsync_user, #ssh_user
Attributes inherited from Base
#additional_rsync_options, #archive
Attributes inherited from Base
#excludes, #mirror, #path, #syncer_id
Instance Method Summary collapse
Methods inherited from Push
Methods inherited from Base
Methods inherited from Base
#add, #directories, #exclude, #initialize
Methods included from Config::Helpers
Constructor Details
This class inherits a constructor from Backup::Syncer::RSync::Push
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Backup::Config::Helpers
Instance Method Details
#perform! ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/backup/syncer/rsync/pull.rb', line 8 def perform! log!(:started) write_password_file! create_dest_path! run("#{ rsync_command } #{ }#{ paths_to_pull } " + "'#{ dest_path }'") log!(:finished) ensure remove_password_file! end |