Skip to content

Commit c14a221

Browse files
committed
DOCS-9801 advise backing up FTDC data before resync
1 parent 7e836ed commit c14a221

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
@@ -78,10 +78,16 @@ perform an initial sync by restarting the instance without the contents of the
7878
method from the :binary:`~bin.mongo` shell or on Linux systems, the
7979
:option:`mongod --shutdown` option.
8080

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

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

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

0 commit comments

Comments
 (0)