💾 Archived View for freeshell.de › tldr › mongorestore.gmi captured on 2022-06-11 at 22:12:49. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Utility to import a collection or database from a binary dump into a MongoDB instance.
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).