Skip to content

Commit 51da4ca

Browse files
committed
DOCS-9801 advise backing up FTDC data before resync
1 parent dfe6735 commit 51da4ca

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

source/tutorial/resync-replica-set-member.txt

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,16 @@ perform an initial sync by restarting the instance without the contents of the
7979
method from the :binary:`~bin.mongo` shell or on Linux systems, the
8080
:option:`mongod --shutdown` option.
8181

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

85-
3. :doc:`Start the mongod process </tutorial/manage-mongodb-processes>`,
88+
3. Delete all data and sub-directories from the member's
89+
:setting:`~storage.dbPath` directory.
90+
91+
4. :doc:`Start the mongod process </tutorial/manage-mongodb-processes>`,
8692
specifying :ref:`cli-mongod-replica-set` as appropriate.
8793

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

0 commit comments

Comments
 (0)