mongodump

Utility to export the contents of a MongoDB instance.
More information.
mongodump
mongodump --out {path/to/directory}
mongodump --db {database_name}
mongodump --collection {collection_name} --db {database_name}
mongodump --host {host} --port {port}
mongodump --username {username} {database} --password
mongodump --uri {connection_string}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY