1.0.6 • Published 9 years ago

mongo_backup_cli v1.0.6

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

A wrapper for Mongodump to create backups

Usage :

sample.js
var mb = require('mongo_backup_cli');
mb.processBackup();

Or

require('mongo_backup_cli').processBackup();

Run as following in the command shell :

node sample.js  host=localhost port=3001 db=meteor op=/home/user0/Documents/mongo_backup/

Parameter Description :

host=<host>
[port=<port_number>]
db=<db name>
op=<outputpath>
[mongodump=<mongodump executable name>]