mongorestore(1)

mongorestore1

Restore backups generated with mongodump(1)

Usage

mongorestore [options] [directory or file to restore]

Overview

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.

Releases

5 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0–7
  2. 8
  3. 9–10

--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).

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).

From mongo-tools 3.4.14-4 in Debian 10 (Buster). Parsed by carta from the page's man source.