Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-6012

Backup Methods: shutdown secondary no longer useful for mongodump, only file copy

    XMLWordPrintableJSON

Details

    Description

      http://docs.mongodb.org/manual/core/backups/#backup-with-mongodump states

      Alternatively, you can shut down a secondary and use mongodump with the data files directly. If you shut down a secondary to capture data with mongodump ensure that the operation can complete before its oplog becomes too stale to continue replicating.

      This is no longer true with version 3.0, which has dropped support for the --dbpath option on mongodump.

      However, stopping a secondary is a useful approach when backing up by copying the files. Therefore, the above quote should be removed from the "Backup with mongodump" section, and added (with necessary tweaks) to the "Backup by Copying Underlying Data Files" section, probably in or after the paragraph starting "If your storage system does not support snapshots..."

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            kevin.pulo@mongodb.com Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 14 weeks, 1 day ago