Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-23

mongodump to allow compression or dump everything to stdout

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.4
    • Component/s: mongodump
    • Labels:
      None

      Description

      Unless I am mistaken, mongodump doesn't compress or to dump all of mongo to stdout (not just a single collection). If I am mistaken, please remove this ticket.

      For backups, especially if you want to dump everything at a particular point in time, something like this
      would be nice. Either:
      1. mongodump -C
      which would compress all the files it creates.
      or
      2. mongodump --out - | gzip > my_entire_mongobackup.gz

      This becomes important since large backups require lots of hard drive activity and it can be nice to use the cpu to compress the data before anything is written to disk speeding up backups.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gabriel.russell Gabriel Russell
              Reporter:
              marknospamplease Mark
              Votes:
              43 Vote for this issue
              Watchers:
              31 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: