mongo_backup_cli
v1.0.6
Published
Wrapper for mongodump with additional facility to create "tar" file
Downloads
5
Maintainers
Readme
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>]