---
name: "mongorestore"
section: "1"
platform: "linux"
package: "mongo-tools"
version: "3.4.14-4"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/mongorestore"
---

# mongorestore(1)

restore backups generated with mongodump(1)

## NAME

mongorestore - restore backups generated with [mongodump(1)](/mongodump/1.md)

## SYNOPSIS

**mongorestore** \[*options*\] \[*directory or file to restore*\]

## DESCRIPTION

The **mongorestore** program allows restoring backups obtained using [**mongodump**(1)](/mongodump/1.md) 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.

## SEE ALSO

[**mongodump**(1)](/mongodump/1.md)

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 \<apoikos@debian.org\> for the Debian project (but may be used by others).
