💾 Archived View for freeshell.de › tldr › mongorestore.gmi captured on 2022-04-28 at 19:00:47. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

mongorestore

Utility to import a collection or database from a binary dump into a MongoDB instance.

More information.

mongorestore --db {database_name} {path/to/directory}
mongorestore --host {database_host:port} --db {database_name} --username {username} {path/to/directory} --password
mongorestore --db {database_name} {path/to/file}
mongorestore --host {database_host:port} --db {database_name} --username {username} {path/to/file} --password
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