Skip to content
Closed
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions source/includes/fact-mongodump-overwrite-files.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
:program:`mongodump` overwrites output files if they exist in the backup
data folder. Before running the :program:`mongodump` command multiple
times, ensure you no longer need a file in the ``dump/`` folder, or
rename folders or files.
2 changes: 2 additions & 0 deletions source/reference/program/mongodump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ from :term:`secondary` members of the set.

.. include:: /includes/warning-fsync-lock-mongodump.rst

.. include:: /includes/fact-mongodump-overwrite-files.rst

Required Access
---------------

Expand Down
2 changes: 2 additions & 0 deletions source/tutorial/backup-with-mongodump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ This operation creates a dump of the collection named ``myCollection``
from the database ``test`` in a :file:`dump/` subdirectory of the
current working directory.

.. include:: /includes/fact-mongodump-overwrite-files.rst

Point in Time Operation Using Oplogs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down