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
12 changes: 9 additions & 3 deletions source/tutorial/resync-replica-set-member.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,16 @@ perform an initial sync by restarting the instance without the contents of the
method from the :binary:`~bin.mongo` shell or on Linux systems, the
:option:`mongod --shutdown` option.

2. Delete all data and sub-directories from the member's
:setting:`~storage.dbPath` directory. Consider making a backup first.
2. (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. :doc:`Start the mongod process </tutorial/manage-mongodb-processes>`,
3. 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` as appropriate.

At this point, the :binary:`~bin.mongod` performs an initial sync. The length of
Expand Down