Sha256: 2d1d125b05dd6abff50f3364989f024ee89d0c39820bb1ca49eadef58eb07af6

Contents?: true

Size: 436 Bytes

Versions: 15

Compression:

Stored size: 436 Bytes

Contents

  ##
  # RSync::Push [Syncer]
  #
  sync_with RSync::Push 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

15 entries across 15 versions & 4 rubygems

Version Path
backup-3.1.3 templates/cli/syncer/rsync_push
backup-3.1.2 templates/cli/syncer/rsync_push
backup-3.1.1 templates/cli/syncer/rsync_push
backup-3.1.0 templates/cli/syncer/rsync_push
backup-agoddard-3.0.28 templates/cli/utility/syncer/rsync_push
backup-agoddard-3.0.27 templates/cli/utility/syncer/rsync_push
ey-vendored-backup-3.0.27 templates/cli/utility/syncer/rsync_push
backup-3.0.27 templates/cli/utility/syncer/rsync_push
backup-3.0.26 templates/cli/utility/syncer/rsync_push
backup-3.0.25 templates/cli/utility/syncer/rsync_push
backup-3.0.24 templates/cli/utility/syncer/rsync_push
backup_checksum-3.0.23 templates/cli/utility/syncer/rsync_push
backup-3.0.23 templates/cli/utility/syncer/rsync_push
backup-3.0.22 templates/cli/utility/syncer/rsync_push
backup-3.0.21 templates/cli/utility/syncer/rsync_push