Sha256: a47d035d2f6b9bc026c4cfebb37140e04a501b983c8b7d7c53225d441cad6316

Contents?: true

Size: 572 Bytes

Versions: 76

Compression:

Stored size: 572 Bytes

Contents

  ##
  # RSync::Local [Syncer]
  #
  sync_with RSync::Local do |rsync|
    rsync.path     = "~/backups"
    rsync.mirror   = true

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

      # Exclude files/folders.
      # Each pattern will be passed to rsync's `--exclude` option.
      #
      # Note: rsync is run using the `--archive` option,
      #       so be sure to read the `FILTER RULES` in `man rsync`.
      directory.exclude '*~'
      directory.exclude 'tmp/'
    end
  end

Version data entries

76 entries across 76 versions & 12 rubygems

Version Path
backup-ssh-4.4.5 templates/cli/syncers/rsync_local
backup-5.0.0.beta.3 templates/cli/syncers/rsync_local
backup-remote-0.0.19 templates/cli/syncers/rsync_local
backupii-0.1.0.pre.alpha.2 templates/cli/syncers/rsync_local
backupii-0.1.0.pre.alpha.1 templates/cli/syncers/rsync_local
cm-backup-1.0.0 templates/cli/syncers/rsync_local
backedup-5.0.0.beta.5 templates/cli/syncers/rsync_local
backedup-5.0.0.beta.4 templates/cli/syncers/rsync_local
backedup-5.0.0.beta.3 templates/cli/syncers/rsync_local
ext_backup-5.0.0.beta.2.1 templates/cli/syncers/rsync_local
backup-ssh-4.4.4 templates/cli/syncers/rsync_local
backup-ssh-4.4.3 templates/cli/syncers/rsync_local
ext_backup-5.0.0.beta.2.ext.0.1.2 templates/cli/syncers/rsync_local
backup-4.4.1 templates/cli/syncers/rsync_local
ext_backup-5.0.0.beta.2.ext.0.1.1 templates/cli/syncers/rsync_local
ext_backup-5.0.0.beta.2.ext.0.1.0 templates/cli/syncers/rsync_local
backup-remote-0.0.18 templates/cli/syncers/rsync_local
backup-5.0.0.beta.2 templates/cli/syncers/rsync_local
backup-5.0.0.beta.1 templates/cli/syncers/rsync_local
backup-remote-0.0.17 templates/cli/syncers/rsync_local