Sha256: 679845de270e2935c7be8c09b922f82e2e78a1dd58f1705d5a1798f8fcaa0a9d

Contents?: true

Size: 595 Bytes

Versions: 3

Compression:

Stored size: 595 Bytes

Contents

  ##
  # Amazon S3 [Syncer]
  #
  # See the documentation on the Wiki for details.
  # https://github.com/meskyanichi/backup/wiki/Syncers
  sync_with Cloud::S3 do |s3|
    s3.access_key_id     = "my_access_key_id"
    s3.secret_access_key = "my_secret_access_key"
    s3.bucket            = "my-bucket"
    s3.region            = "us-east-1"
    s3.path              = "/backups"
    s3.mirror            = true
    s3.thread_count      = 10

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
backup-3.7.2 templates/cli/syncer/s3
backup-3.7.1 templates/cli/syncer/s3
backup-3.7.0 templates/cli/syncer/s3