@neoxr/mex

1.0.2 • Public • Published

Mex

Easy to use CLI program like Mongodb Tools to perform Mongo database backups and migrations.

Usage : mex <command> [option]

Commands :
  export  Export all collections from database
  import  Import backup files to new database

Options :
  --help, -h     Display help about this program
  --version, -v  Print version
  --uri          Set mongodb uri
  --db           Set database name
  --output       Set backup folder

Export

$ mex export --uri="mongodb+srv://localhost" --db="bot"

Import

$ mex import --uri="mongodb+srv://localhost" --db="bot"

Package Sidebar

Install

npm i @neoxr/mex

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

23.3 kB

Total Files

5

Last publish

Collaborators

  • neoxr