Rails script/dbdump command plugin
2009-01-26 12:13:00
I've just published a tiny Ruby on Rails plugin that adds a script/dbdump command.
Like script/dbconsole, it reads your database configuration from config/database.yml and runs the appropriate mysql/postgresql/sqlite program - but rather than running up a database console it does a database dump. See the README re password options.