Class: Backup::Storage::S3

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

Instance Method Summary collapse

Constructor Details

#initialize(adapter) ⇒ S3

Stores the backup file on the remote server using S3



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

def initialize(adapter)
  s3 = Backup::Connection::S3.new(adapter)
  s3.connect
  s3.store
end