Sha256: b1322fa5a9448b2c9f71211b045919cf654af34b8d169d8e286247a7ad07cdb1
Contents?: true
Size: 1009 Bytes
Versions: 1
Compression:
Stored size: 1009 Bytes
Contents
# MongoDbUtils ## Warning - not safe for production use - undergoing development! A little gem that simplifies backing up and copying your mongo dbs.  It saves your database urls so any task is just a few clicks. * backup a database * copy a database from one server to another (whilst backing up the target db if it exists) ## Installation You need to have *mongodump* and *mongorestore* on your path. gem install 'mongo-db-utils' And then execute: $ mongo-db-utils console ## Usage Once you launch the console it'll provide you with a set of options - pretty self explanatory. When it does backups it stores them in ````~/.mongo-db-utils/backups/````. The naming convention is ````${server}_${port}/${database_name}/${timestamp}/db```` ## Building source #run console bundle exec bin/mongo-db-utils console #install the gem locally rake build gem install pkg/mongo-db-utils.gem
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mongo-db-utils-0.0.3 | README.md |