mongo-clone-db
v1.0.1
Published
This is a CLI tool to clone the entire contents of one database to another. For example, to switch from a Dev database to a Production database.
Downloads
8
Readme
mongo-clone-db
This is a CLI tool to clone the entire contents of one database to another. For example, to switch from a Dev database to a Production database.
npx mongo-clone-db -s "source-url" -t "target-url"
If an url contains an "&", you must remove it, otherwise the next argument will be truncated away by Node.js.