Module: S3

Defined in:
lib/s3.rb

Class Method Summary collapse

Class Method Details

.list_db_backups(akid, sak, account_id) ⇒ Object


2
3
4
5
# File 'lib/s3.rb', line 2

def list_db_backups akid, sak, 
  AWS::S3::Base.establish_connection!(:access_key_id => akid, :secret_access_key => sak)
  AWS::S3::Bucket.find("#{}-rwec2-mysql-backups").objects.each { |o| STDOUT.puts o.key }
end