Class: Bard::Backup::LocalBackhoe
- Inherits:
-
Object
- Object
- Bard::Backup::LocalBackhoe
- Defined in:
- lib/bard/backup/local_backhoe.rb
Class Method Summary collapse
Class Method Details
.call(s3_dir, now) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/bard/backup/local_backhoe.rb', line 6 def self.call s3_dir, now filename = "#{now.iso8601}.sql.gz" path = "/tmp/#{filename}" Backhoe.dump path s3_dir.mv path end |