Skip to content

DOCS-9801 advise backing up FTDC data before resync #4973

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 22, 2021
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