-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

mongorestore


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

More information.


Import a BSON data dump from a directory to a MongoDB database:

mongorestore --db {database_name} {path/to/directory}

Import a BSON data dump from a directory to a given database in a MongoDB server host, running at a given port, with user authentication (user will be prompted for password):

mongorestore --host {database_host:port} --db {database_name} --username {username} {path/to/directory} --password

Import a collection from a BSON file to a MongoDB database:

mongorestore --db {database_name} {path/to/file}

Import a collection from a BSON file to a given database in a MongoDB server host, running at a given port, with user authentication (user will be prompted for password):

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



-- Response ended

-- Page fetched on Fri May 17 17:45:56 2024