Class: Backup::Configuration::Syncer::RSync::Push

Inherits:
Base
  • Object
show all
Defined in:
lib/backup/configuration/syncer/rsync/push.rb

Direct Known Subclasses

Pull

Class Attribute Summary collapse

Method Summary

Methods inherited from Base

defaults

Methods included from Helpers

#clear_defaults!, #load_defaults!

Class Attribute Details

.compressObject

Flag for compressing (only compresses for the transfer)



24
25
26
# File 'lib/backup/configuration/syncer/rsync/push.rb', line 24

def compress
  @compress
end

.ipObject

Server IP Address and SSH port



16
17
18
# File 'lib/backup/configuration/syncer/rsync/push.rb', line 16

def ip
  @ip
end

.passwordObject

Server credentials



12
13
14
# File 'lib/backup/configuration/syncer/rsync/push.rb', line 12

def password
  @password
end

.portObject

The SSH port to connect to



20
21
22
# File 'lib/backup/configuration/syncer/rsync/push.rb', line 20

def port
  @port
end

.usernameObject

Server credentials



12
13
14
# File 'lib/backup/configuration/syncer/rsync/push.rb', line 12

def username
  @username
end