Methods

Class/Module Index [+]

Quicksearch

Backup::Storage::CloudFiles

Attributes

api_key[RW]

Rackspace CloudFiles Credentials

auth_url[RW]

Rackspace Auth URL (optional)

container[RW]

Rackspace Container Name

days_to_keep[RW]

If set, all backup package files (including SLO segments) will be scheduled for automatic removal by the server.

The `keep` option should not be used if this is set, unless you’re transitioning from the `keep` option.

fog_options[RW]

Additional options to pass along to fog. e.g. Fog::Storage.new({ :provider => ‘Rackspace’ }.merge(fog_options))

max_retries[RW]

Number of times to retry failed operations.

Default: 10

region[RW]

Rackspace Region (optional)

retry_waitsec[RW]

Time in seconds to pause before each retry.

Default: 30

segment_size[RW]

SLO Segment size, specified in MiB.

Each package file larger than segment_size will be uploaded as a Static Large Objects (SLO).

Defaults to 0 for backward compatibility (pre v.3.7.0), since segments_container would be required.

Minimum: 1 (0 disables SLO support) Maximum: 5120 (5 GiB)

segments_container[RW]

Rackspace Container Name for SLO Segments Required if segment_size is set. Must be different from container.

servicenet[RW]

Rackspace Service Net (LAN-based transfers to avoid charges and improve performance)

username[RW]

Rackspace CloudFiles Credentials

Public Class Methods

new(model, storage_id = nil) click to toggle source
# File lib/backup/storage/cloud_files.rb, line 72
def initialize(model, storage_id = nil)
  super

  @servicenet         ||= false
  @segment_size       ||= 0
  @max_retries        ||= 10
  @retry_waitsec      ||= 30

  @path ||= 'backups'
  path.sub!(/^\//, '')

  check_configuration
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.