Sha256: e8c0c5ca8e2b374cad14f7c139e8861c50e5726941110ad6351b9f80a992d046

Contents?: true

Size: 395 Bytes

Versions: 13

Compression:

Stored size: 395 Bytes

Contents

  sync_with RSync do |rsync|
    rsync.ip       = "123.45.678.90"
    rsync.port     = 22
    rsync.username = "my_username"
    rsync.password = "my_password"
    rsync.path     = "~/backups/"
    rsync.mirror   = true
    rsync.compress = true

    rsync.directories do |directory|
      directory.add "/var/apps/my_app/public/uploads"
      directory.add "/var/apps/my_app/logs"
    end
  end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
backup-3.0.15 lib/templates/syncer/rsync
backup-3.0.14 lib/templates/syncer/rsync
backup-3.0.13 lib/templates/syncer/rsync
backup-3.0.12 lib/templates/syncer/rsync
backup-3.0.11 lib/templates/syncer/rsync
alg-backup-3.0.10 lib/templates/syncer/rsync
backup-3.0.10 lib/templates/syncer/rsync
backup-3.0.9 lib/templates/syncer/rsync
backup-3.0.8 lib/templates/syncer/rsync
backup-3.0.7 lib/templates/syncer/rsync
backup-3.0.6 lib/templates/syncer/rsync
backup-3.0.5 lib/templates/syncer/rsync
backup-3.0.4 lib/templates/syncer/rsync