Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Created by Benoît Sudan
Created on Mar 2, 2026

zstd compress in mongodump and mongorestore

What problem are you trying to solve?

Focus on the what and why of the need you have, not the how you'd like it solved.

accelerate the mongodump and mongorestore using zstd compression in place of gzip

What would you like to see happen?

Describe the desired outcome or enhancement.

to be able to do mongodump backup in directory with zstd compression

Why is this important to you or your team?

Explain how the request adds value or solves a business need.

It is very important

What steps, if any, are you taking today to manage this problem?

I have tried to manage this problem out of mongodump, but without success. It was only possible to use zstd compress with --archive option, that is a misadvantage when running mongo restore. The all backup file must be read for a single collection or database restore.