0.5.0 • Published 8 years ago

mongodb-restore-cli v0.5.0

Weekly downloads
5
License
Apache-2.0
Repository
github
Last release
8 years ago

mongodb-restore-cli

NPM version Linux Status Windows Status Dependency Status

CLI for mongodb-restore

Similar to mongorestore

Installation

Install through NPM

npm install -g mongodb-restore-cli

or

git clone git://github.com/hex7c0/mongodb-restore-cli.git

API

global cli with -g option

$ mongodb-restore -h

Usage:
  mongodb-restore [OPTIONS] [ARGS]

Options: 
      --verbose FILE     Save internal reporting into a logfile
      --host STRING      Specifies a resolvable hostname for the mongod 
  -p, --parser [STRING]  Data parser (bson, json) (Default is bson)
  -o, --out [STRING]     Specifies the directory where get the backup (Default is ./)
  -r, --tar STRING       Extract files from a .tar file
  -m, --metadata         Set metadata of collections as Index, ecc
  -d, --drop             Drop every collection from the target database 
  -t, --timeout N        Exit if the process takes longer than N seconds
  -v, --version          Display the current version
  -h, --help             Display help and usage details

Examples

Take a look at my examples

License GPLv3

0.5.0

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.3

8 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago