Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions source/reference/mongorestore.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ database, and does not perform updates or :term:`upserts <upsert>`. If
existing data with the same ``_id`` already exists on the target
database, :program:`mongorestore` will *not* replace it.

:program:`mongorestore` will recreate indexes from the dump
:program:`mongorestore` will recreate indexes from the dump.

The behavior of :program:`mongorestore` has the following properties:

- all operations are inserts, not updates.

- all inserts are "fire and forget," :program:`mongorestore` does not
- all inserts are "fire and forget." :program:`mongorestore` does not
wait for a response from a :program:`mongod` to ensure that the
MongoDB process has received or recorded the operation.

The :program:`mongod` will record any errors to its log that occur
during a restore operation but :program:`mongorestore` will not
during a restore operation, but :program:`mongorestore` will not
receive errors.

.. include:: /includes/note-mongodump-compatibility-2.2.rst
Expand All @@ -51,7 +51,7 @@ Options

Increases the amount of internal reporting returned on the command
line. Increase the verbosity with the ``-v`` form by including
the option multiple times, (e.g. ``-vvvvv``.)
the option multiple times (e.g. ``-vvvvv``).

.. option:: --version

Expand All @@ -72,7 +72,7 @@ Options
.. option:: --port <port>

Specifies the port number, if the MongoDB instance is not running
on the standard port. (i.e. ``27017``) You may also specify a port
on the standard port (i.e. ``27017``). You may also specify a port
number using the :option:`--host <mongorestore --host>` command.

.. option:: --ipv6
Expand Down