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