Logo: Relish

  1. Sign in

Project: Dbmanager

dump database

As a dbmanager gem user
I want to dump any of my app databases to a sql file
so that I can use the file later

After adding the gem, when running rake db:dump
you can choose the environment db to dump, and the
path/filename you want for the dump file. After the
task has completed you will find the dump in the
expected location.

Dump database to user specified file
I go to the dummy rails app folder
I run the task "db:dump" with input "1 tmp/dbmanager_dummy_dev.sql"
a sql dump should be created in "tmp/dbmanager_dummy_dev.sql"
the dump file should have expected schema
the dump file should include "Andrea Longhi"

Last published almost 7 years ago by spaghetticode.