mongorestore - restore backups generated with mongodump(1)
SYNOPSIS
mongorestore [options] [directory or file to restore]
DESCRIPTION
The mongorestore program allows restoring backups obtained using mongodump(1) into a running MongoDB instance. By default it will restore all data in the specified file or directory, but limitting by database and collection is possible.
OPTIONS
See mongorestore --help for a list supported options and their descriptions.
The full documentation of mongorestore can be found at https://docs.mongodb.com/manual/reference/program/mongorestore/.
AUTHOR
mongorestore was written by MongoDB, Inc. and is licensed under the Apache License, Version 2.0.
This manpage was written by Apollon Oikonomopoulos <[email protected]> for the Debian project (but may be used by others).
History
Debian 10 (Buster) to Debian 9 (Stretch): the text shown here
Debian 8 (Jessie)
Debian 7 (Wheezy) to Debian 6.0 (Squeeze)
--authenticationDatabase until Debian 8 (Jessie);
--authenticationMechanism until Debian 8 (Jessie);
--c until Debian 7 (Wheezy);
--collection until Debian 8 (Jessie);
--db until Debian 8 (Jessie);
--dbpath until Debian 8 (Jessie);
--dir until Debian 7 (Wheezy);
--directoryperdb until Debian 8 (Jessie);
--drop until Debian 8 (Jessie);
--filter until Debian 8 (Jessie);
--help until Debian 8 (Jessie);
--host until Debian 8 (Jessie);
--ipv6 until Debian 8 (Jessie);
--journal until Debian 8 (Jessie);
--keepIndexVersion until Debian 8 (Jessie);
--noIndexRestore until Debian 8 (Jessie);
--noOptionsRestore until Debian 8 (Jessie);
--noobjcheck until Debian 8 (Jessie);
--objcheck until Debian 8 (Jessie);
--oplogLimit until Debian 8 (Jessie);
--oplogReplay until Debian 8 (Jessie);
--password until Debian 8 (Jessie);
--port until Debian 8 (Jessie);
--ssl until Debian 8 (Jessie);
--username until Debian 8 (Jessie);
--verbose until Debian 8 (Jessie);
--version until Debian 8 (Jessie);
-c until Debian 8 (Jessie);
-d until Debian 8 (Jessie);
-h until Debian 7 (Wheezy);
-p until Debian 8 (Jessie);
-u until Debian 8 (Jessie);
-v until Debian 8 (Jessie).