@@ -393,11 +393,11 @@ tool. As a result you may:
393
393
394
394
.. _database-dumps:
395
395
396
- Binary Import/Export Formats
396
+ Binary Dump/Restore Formats
397
397
----------------------------
398
398
399
- This section describes the process for exporting the entire contents
400
- of your MongoDB instance, to a file in a binary format. This command
399
+ This section describes the process for writing the entire contents of
400
+ your MongoDB instance, to a file in a binary format. This command
401
401
provides the best option for full system database backups if
402
402
disk-level snapshots are not available.
403
403
@@ -411,8 +411,8 @@ disk-level snapshots are not available.
411
411
If your system has disk level snapshot capabilities, consider the
412
412
backup methods described :ref:`above <block-level-backup>`.
413
413
414
- Database Export with :program:`mongodump`
415
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
414
+ Database Dump with :program:`mongodump`
415
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
416
416
417
417
The :program:`mongodump` utility performs a live backup the data, or
418
418
can work against an inactive set of database
@@ -461,9 +461,9 @@ configuration. Consider the following example:
461
461
mongodump --dbpath /srv/mongodb
462
462
463
463
Additionally, the ":option:`--host <mongodump --host>`" and
464
- ":option:`--port <mongodump --port>`" options allow you to
465
- specify a non-local host to connect to capture the export . Consider
466
- the following example:
464
+ ":option:`--port <mongodump --port>`" options allow you to specify a
465
+ non-local host to connect to capture the dump . Consider the following
466
+ example:
467
467
468
468
.. code-block:: sh
469
469
@@ -489,7 +489,7 @@ will look for a database dump in the ``dump/`` directory and restore
489
489
that. If you wish to restore to a non-default host, the
490
490
":option:`--host <mongod>`" and ":option:`--port <mongod --port>`"
491
491
options allow you to specify a non-local host to connect to capture
492
- the export . Consider the following example:
492
+ the dump . Consider the following example:
493
493
494
494
.. code-block:: sh
495
495
@@ -559,17 +559,17 @@ across all shards.
559
559
Shard Clusters
560
560
~~~~~~~~~~~~~~
561
561
562
- Using Database Exports From a Cluster
563
- `````````````````````````````````````
562
+ Using Database Dumps From a Cluster
563
+ ```````````````````````````````````
564
564
565
565
If you have a small collection of data, the easiest way to connecting
566
- to the :program:`mongos` and taking a dump or export of the database
567
- from the running copy. This will create a consistent copy of the data
568
- in your database. If your data corpus is small enough that:
566
+ to the :program:`mongos` and taking a dump of the database from the
567
+ running copy. This will create a consistent copy of the data in your
568
+ database. If your data corpus is small enough that:
569
569
570
570
- it's possible to store the entire backup on one system, or a single
571
571
storage device. Consider both backups of entire instances, and
572
- incremental exports of data.
572
+ incremental dups of data.
573
573
574
574
- the state of the database at the beginning of the operation is
575
575
not significantly different than the state of the database at the
@@ -582,21 +582,20 @@ in your database. If your data corpus is small enough that:
582
582
Using Conventional Backups from All Database Instances
583
583
``````````````````````````````````````````````````````
584
584
585
- If you there is no way to conduct a backup reasonably using an export ,
585
+ If you there is no way to conduct a backup reasonably with a dump ,
586
586
then you'll need to either snapshot the database using the
587
587
:ref:`snapshot backup procedure <block-level-backup>` or create a
588
- binary dump of each database instance using :ref:`binary export
589
- systems <database-dumps>`.
590
-
591
- These backups must not only capture the database in a
592
- consistent state, as described in the aforementioned procedures, but
593
- the :term:`shard cluster` needs to be consistent in itself. Also,
594
- disable the balancer process that equalizes the distribution of data
595
- among the :term:`shards <shard>` before taking the backup.
596
-
597
- You should also all cluster members so that your backups reflect your
598
- entire database system at a single point in time, even if your backup
599
- methodology does not require.
588
+ binary dump of each database instance using :ref:`binary dump methods
589
+ <database-dumps>`.
590
+
591
+ These backups must not only capture the database in a consistent
592
+ state, as described in the aforementioned procedures, but the
593
+ :term:`shard cluster` needs to be consistent in itself. Also, disable
594
+ the balancer process that equalizes the distribution of data among the
595
+ :term:`shards <shard>` before taking the backup.
596
+
597
+ You should also lock all cluster members at once so that your backups
598
+ reflect your entire database system at a single point in time.
600
599
601
600
.. warning::
602
601
0 commit comments