RubyGems Navigation menu

dbdump_command 1.3.0

This plugin adds a dbdump command which dumps your Rails database out. This master branch supports Rails 3.0 and above, as a gem command. For Rails 2.3, use the rails_2_3 branch from github and install as a plugin. Like rails dbconsole, it takes your database connection details from config/database.yml, and supports mysql, mysql2, postgresql, and sqlite. It takes the same options as rails dbconsole, ie. -p to supply the password to your dump program for mysql and postgresql. (Note that for mysql, this means that the password is visible when other users on the system run 'ps'. Postgresql does not have this problem as it uses an environment variable set in ENV before execing and so not visible in ps.)

Versions:

  1. 1.3.0 - July 6, 2013 (8 KB)
  2. 0.2.1 - August 18, 2012 (7 KB)
  3. 0.2.0 - August 18, 2012 (7 KB)

Runtime Dependencies:

Development Dependencies:

Authors:

  • Will Bryant

Owners:

F1c9a2d6b6be7599854a75793ecd872d

Total downloads 2,770

For this version 749

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'dbdump_command', '~> 1.3.0' = Copy to clipboard Copied!

install:
gem install dbdump_command = Copy to clipboard Copied!

Links: