Class: Dbmgr::PostgreSQLCLI
- Inherits:
-
Thor
- Object
- Thor
- Dbmgr::PostgreSQLCLI
- Defined in:
- lib/dbmgr/postgresql/backup.rb,
lib/dbmgr/postgresql/restore.rb
Instance Method Summary collapse
Instance Method Details
#backup(db_name) ⇒ Object
39 40 41 42 43 |
# File 'lib/dbmgr/postgresql/backup.rb', line 39 def backup db_name Database.new() .extend(PostgreSQL) .backup db_name end |
#restore(db_name) ⇒ Object
40 41 42 43 44 |
# File 'lib/dbmgr/postgresql/restore.rb', line 40 def restore db_name Database.new() .extend(PostgreSQL) .restore db_name end |