Skip to content
Merged
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
9 changes: 4 additions & 5 deletions source/tutorial/resync-replica-set-member.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,17 @@ perform an initial sync by restarting the instance without the contents of the
method from :binary:`~bin.mongosh` or on Linux systems, the
:option:`mongod --shutdown` option.

2. (Optional) Make a backup of all data and sub-directories from the
#. (Optional) Make a backup of all data and sub-directories from the
member's :setting:`~storage.dbPath` directory. If a full backup is
not required, consider backing up just the ``diagnostic.data``
directory to preserve potentially-useful troubleshooting data in the
event of an issue. See :ref:`ftdc-stub` for more information.

3. Delete all data and sub-directories from the member's
#. Delete all data and sub-directories from the member's
:setting:`~storage.dbPath` directory.

4. :doc:`Start the mongod process </tutorial/manage-mongodb-processes>`,
specifying :ref:`cli-mongod-replica-set` with a new
:rsconf:`members[n]._id`.
#. :doc:`Restart the mongod process
</tutorial/manage-mongodb-processes>`.

At this point, the :binary:`~bin.mongod` performs an initial sync. The length of
the initial sync process depends on the size of the database and the network
Expand Down