Sha256: 068fd7c149d11005defdd9b0d75299ba86e59368924df5828e4b8030e2f5493f

Contents?: true

Size: 726 Bytes

Versions: 72

Compression:

Stored size: 726 Bytes

Contents

  ##
  # Rackspace Cloud Files [Syncer]
  #
  sync_with Cloud::CloudFiles do |cf|
    cf.username          = "my_username"
    cf.api_key           = "my_api_key"
    cf.container         = "my_container"
    cf.path              = "/backups"
    cf.mirror            = true
    cf.thread_count      = 10

    cf.directories do |directory|
      directory.add "/path/to/directory/to/sync"
      directory.add "/path/to/other/directory/to/sync"

      # Exclude files/folders from the sync.
      # The pattern may be a shell glob pattern (see `File.fnmatch`) or a Regexp.
      # All patterns will be applied when traversing each added directory.
      directory.exclude '**/*~'
      directory.exclude /\/tmp$/
    end
  end

Version data entries

72 entries across 72 versions & 12 rubygems

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