Sha256: c14e002a5e0d8411192a202479d6d24891b9ffa0b6a50ebc20ce478e82135f4d
Contents?: true
Size: 832 Bytes
Versions: 4
Compression:
Stored size: 832 Bytes
Contents
## # Rackspace Cloud Files [Syncer] # # See the documentation on the Wiki for details. # https://github.com/meskyanichi/backup/wiki/Syncers 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
backup-3.11.0 | templates/cli/syncer/cloud_files |
backup-3.10.0 | templates/cli/syncer/cloud_files |
backup-3.9.0 | templates/cli/syncer/cloud_files |
backup-3.8.0 | templates/cli/syncer/cloud_files |