Not the answer you need?
Register and ask your own question!

Difference between mongodump and percona backup

j2geuj2geu Current User Role Contributor
Hello,
I am not an expert.
I am actually testing percona backup fo mongodb and I don't see what is add or where it is better than only mongodump.
I have read all documentation about it, install it, etc.
So please help me to know the difference and what is pbm agent do ?
Thank you very much for you help.

Best Answers

  • AndrewPogrebnoiAndrewPogrebnoi Percona Staff Role Contributor
    Accepted Answer
    Hello @j2geu
    On the matter of differences between PBM and mongodump I can add that a key difference is that mongodump is just a tool using which one can made backups. But it needs quite a bit of things to be done around mongodump to make it useful and convenient. Starting from keeping track of already done backups - naming, storing etc. And ending with the consistency maintaining of backups on sharded cluster. All these things PBM does for the user. Moreover starting from MongoDB 4.2 mongodump can’t be used for backups of sharded clusters (https://docs.mongodb.com/v4.2/administration/backup-sharded-clusters/). But PBM can do backups of sharded clusters and guarantee its consistency. Even though mongodump documentation says it “can be used” on sharded clusters of versions 4.0 and before, it is a real pain. As a user has to do a lot of manual labour before and after running mongodump and do it on each shard (but again it will be hard to maintain some data consistency doing it). But with PBM all is needed is just to run `pbm backup` (having pbm properly installed and configured https://www.percona.com/doc/percona-backup-mongodb/index.html)

Answers

  • j2geuj2geu Current User Role Contributor
    Yes, percona mongodb backup is clearly a better and different tool.
    Thanks for your help and to clarify things.
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.