Mongodump
Mongodump use heroku toolbelt and mongo binaries to fetch mongo databases from heroku databases platforms and restore them in your local database.
Installation
Mongodump works with Rails 3.2. Add this line to your application's Gemfile:
gem 'mongodump'
And then execute:
$ bundle install
Usage
$ rake mongodump
Limitations
For the moment, mongodump only works with MongoLab databases. For the moment, the plugin is young and quite simple, it will be improved in the next months.
TODO
- Environment variables
- Handle exceptions
- MongoHQ compatibility
- On the go ideas
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request