Method: Backup::Syncer::RSync::Pull#perform!

Defined in:
lib/backup/syncer/rsync/pull.rb

#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 } #{ host_options }#{ paths_to_pull } " +
      "'#{ dest_path }'")

  log!(:finished)
ensure
  remove_password_file!
end