Sha256: cdec8a49c749f17dbb6003663e6d6e82759cf9663f95cdfb35d401ea6696debd

Contents?: true

Size: 1.31 KB

Versions: 19

Compression:

Stored size: 1.31 KB

Contents

  ##
  # Rackspace Cloud Files [Syncer]
  #
  # Available Auth URLs:
  #
  #   - https://auth.api.rackspacecloud.com     (US - Default)
  #   - https://lon.auth.api.rackspacecloud.com (UK)
  #
  # Servicenet:
  #
  #   Set this to 'true' if Backup runs on a Rackspace server.
  #   It will avoid transfer charges and it's more performant.
  #
  # Mirroring:
  #
  #   When enabled it will keep an exact mirror of your filesystem on Cloud Files.
  #   This means that when you remove a file from the filesystem,
  #   it will also remote it from Cloud Files.
  #
  # Concurrency:
  #
  #   `concurrency_type` may be set to:
  #
  #     - false (default)
  #     - :threads
  #     - :processes
  #
  #   Set `concurrency_level` to the number of threads/processes to use.
  #   Defaults to 2.
  #
  sync_with Cloud::CloudFiles do |cf|
    cf.username          = "my_username"
    cf.api_key           = "my_api_key"
    cf.container         = "my_container"
    cf.auth_url          = "https://auth.api.rackspacecloud.com"
    cf.servicenet        = false
    cf.path              = "/backups"
    cf.mirror            = true
    cf.concurrency_type  = false
    cf.concurrency_level = 2

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

Version data entries

19 entries across 19 versions & 3 rubygems

Version Path
backup-3.6.0 templates/cli/syncer/cloud_files
backup-3.5.1 templates/cli/syncer/cloud_files
backup-3.5.0 templates/cli/syncer/cloud_files
backup-3.4.0 templates/cli/syncer/cloud_files
backup-3.3.2 templates/cli/syncer/cloud_files
backup-3.3.1 templates/cli/syncer/cloud_files
backup-3.3.0 templates/cli/syncer/cloud_files
backup-3.2.0 templates/cli/syncer/cloud_files
backup-3.1.3 templates/cli/syncer/cloud_files
backup-3.1.2 templates/cli/syncer/cloud_files
backup-3.1.1 templates/cli/syncer/cloud_files
backup-3.1.0 templates/cli/syncer/cloud_files
backup-agoddard-3.0.28 templates/cli/utility/syncer/cloud_files
backup-agoddard-3.0.27 templates/cli/utility/syncer/cloud_files
ey-vendored-backup-3.0.27 templates/cli/utility/syncer/cloud_files
backup-3.0.27 templates/cli/utility/syncer/cloud_files
backup-3.0.26 templates/cli/utility/syncer/cloud_files
backup-3.0.25 templates/cli/utility/syncer/cloud_files
backup-3.0.24 templates/cli/utility/syncer/cloud_files