Skip to content
This repository was archived by the owner on Aug 20, 2019. It is now read-only.

Commit 99e8828

Browse files
committed
minor: adjusts heading levels in repair tutorial so steps appear in right spot
1 parent e91c8fe commit 99e8828

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

source/includes/steps-recover-data-with-repairpath.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
title: "Start :program:`mongod` using the option to replace the original files with the repaired files."
22
stepnum: 1
3+
level: 4
34
ref: start-with-repair
45
pre: |
56
Start the :program:`mongod` instance using the :option:`--repair
@@ -16,6 +17,7 @@ post: |
1617
---
1718
title: "Start :program:`mongod` with the new data directory."
1819
stepnum: 2
20+
level: 4
1921
ref: start-with-new-path
2022
pre: |
2123
Start :program:`mongod` using the following invocation to point the

source/includes/steps-recover-data-without-repairpath.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
title: Remove the stale lock file.
22
stepnum: 1
3+
level: 4
34
ref: remove-stale-lock-file
45
action:
56
pre: |
@@ -13,6 +14,7 @@ post: |
1314
---
1415
title: "Start :program:`mongod` using the option to replace the original files with the repaired files."
1516
stepnum: 2
17+
level: 4
1618
ref: start-with-repair
1719
pre: |
1820
Start the :program:`mongod` instance using the :option:`--repair
@@ -28,6 +30,7 @@ post: |
2830
---
2931
title: "Start :program:`mongod` as usual."
3032
stepnum: 3
33+
level: 4
3134
ref: start-as-usual
3235
pre: |
3336
Start :program:`mongod` using the following invocation to point the

source/tutorial/recover-data-following-unexpected-shutdown.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,21 +116,21 @@ unexpected shutdown:
116116
.. _tutorial-repair-procedures:
117117

118118
Procedures
119-
~~~~~~~~~~
119+
----------
120120

121121
.. important:: Always Run :program:`mongod` as the same user to avoid
122122
changing the permissions of the MongoDB data files.
123123

124124
Repair Data Files and Preserve Original Files
125-
+++++++++++++++++++++++++++++++++++++++++++++
125+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
126126

127127
To repair your data files using the :option:`--repairpath <mongod --repairpath>`
128128
option to preserve the original data files unmodified.
129129

130130
.. include:: /includes/steps/recover-data-with-repairpath.rst
131131

132132
Repair Data Files without Preserving Original Files
133-
+++++++++++++++++++++++++++++++++++++++++++++++++++
133+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134134

135135
To repair your data files without preserving the original files, do
136136
not use the :option:`--repairpath <mongod --repairpath>` option, as in

0 commit comments

Comments
 (0)