File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,12 @@ The examples in this procedure use the following configuration:
41
41
of ``/srv/mongodb``.
42
42
43
43
To change the size of the oplog for a replica set, use the following
44
- procedure for every member of the set that may become primary.
45
-
44
+ procedure for every member of the set that may become primary.
45
+
46
46
1. Shut down the :program:`mongod` instance and restart it in
47
- "standalone" mode running on a different port.
47
+ "standalone" mode running on a different port.
48
48
49
- .. note::
49
+ .. note::
50
50
51
51
Shutting down the :term:`primary` member of the set will trigger
52
52
a failover situation and another member in the replica set will
@@ -77,6 +77,10 @@ procedure for every member of the set that may become primary.
77
77
78
78
mongodump --db local --collection 'oplog.rs' --port 37017
79
79
80
+ .. note::
81
+
82
+ Restore the backup using the `mongorestore` command.
83
+
80
84
Connect to the instance using the :program:`mongo` shell:
81
85
82
86
.. code-block:: sh
You can’t perform that action at this time.
0 commit comments