Class: Backup::Storage::CloudFiles

Inherits:
Base
  • Object
show all
Defined in:
lib/backup/storage/cloudfiles.rb

Instance Method Summary collapse

Methods included from CommandHelper

#log, #run

Constructor Details

#initialize(adapter) ⇒ CloudFiles

Stores the backup file on the remote server using Rackspace Cloud Files



8
9
10
11
12
# File 'lib/backup/storage/cloudfiles.rb', line 8

def initialize(adapter)
  cf = Backup::Connection::CloudFiles.new(adapter)
  cf.connect
  cf.store
end