@@ -71,14 +71,12 @@ To perform an initial sync, see
71
71
File Copy Based Initial Sync
72
72
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73
73
74
- File copy based initial sync runs the initial sync process by copying
75
- and moving files on the file system.
74
+ *Available in MongoDB Enterprise only.*
76
75
77
- File copy based initial sync can be faster than
76
+ File copy based initial sync runs the initial sync process by copying
77
+ and moving files on the file system. This sync method can be faster than
78
78
:ref:`logical initial sync <replica-set-initial-sync-logical>`.
79
79
80
- It is only available on Enterprise Server.
81
-
82
80
.. important:: File copy based initial sync may cause inaccurate counts
83
81
84
82
After file copy based initial sync completes, if you run the
@@ -90,29 +88,36 @@ It is only available on Enterprise Server.
90
88
91
89
To learn more, see :ref:`count-method-behavior-query-predicate`.
92
90
93
- Limitations
94
- ```````````
91
+ Enable File Copy Based Initial Sync
92
+ ```````````````````````````````````
95
93
96
- - File copy based initial sync replaces the ``local`` database on the
97
- node being *synced to* with the ``local`` database from the node
98
- being *synced from*.
94
+ To enable file copy based initial sync, set the
95
+ :parameter:`initialSyncMethod` parameter to ``fileCopyBased`` on the
96
+ destination member for the initial sync. This parameter can only be set
97
+ at startup.
99
98
100
- - You can only run an initial sync from one given node at a time.
99
+ Behavior
100
+ ````````
101
101
102
- - You cannot run a backup on the node that is being *synced to* during
103
- the initial sync.
102
+ File copy based initial sync replaces the ``local`` database on the
103
+ member being *synced to* with the ``local`` database from the member
104
+ being *synced from*.
104
105
105
- - You cannot run a backup on the node that is being *synced from* during
106
- the initial sync.
106
+ Limitations
107
+ ```````````
107
108
108
- - You cannot use file copy based initial sync with encrypted storage
109
- engine to re-key the data.
109
+ - During a file copy based initial sync:
110
110
111
- .. warning::
111
+ - You cannot run a backup on the member that is being *synced to* or
112
+ the member that is being *synced from*.
112
113
113
- You cannot write to the ``local`` database during a file copy based
114
- sync .
114
+ - You cannot write to the ``local`` database on the member that is being
115
+ *synced to* .
115
116
117
+ - You can only run an initial sync from one given member at a time.
118
+
119
+ - You cannot use file copy based initial sync with encrypted storage
120
+ engine to re-key the data.
116
121
117
122
.. _init-sync-retry:
118
123
0 commit comments