💾 Archived View for freeshell.de › tldr › mongorestore.gmi captured on 2023-11-14 at 10:01:05. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

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

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