Class: Astrails::Safe::Mysqldump
- Defined in:
- lib/astrails/safe/mysqldump.rb
Instance Attribute Summary
Attributes inherited from Source
Attributes inherited from Stream
Instance Method Summary collapse
Methods inherited from Source
#backup, #filename, #initialize, #kind, #timestamp
Methods inherited from Stream
Constructor Details
This class inherits a constructor from Astrails::Safe::Source
Instance Method Details
#command ⇒ Object
5 6 7 |
# File 'lib/astrails/safe/mysqldump.rb', line 5 def command "mysqldump --defaults-extra-file=#{mysql_password_file} #{@config[:options]} #{mysql_skip_tables} #{@id}" end |
#extension ⇒ Object
9 |
# File 'lib/astrails/safe/mysqldump.rb', line 9 def extension; '.sql'; end |