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

mongodump to allow compression or dump everything to stdout

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.1.4
    • Affects Version/s: None
    • Component/s: mongodump
    • None

      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.

            Assignee:
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Reporter:
            marknospamplease Mark
            Votes:
            43 Vote for this issue
            Watchers:
            31 Start watching this issue

              Created:
              Updated:
              Resolved: