Percona Backup for MongoDB + MongoDB Community 7.0?

Hi Percona Community,

Simple question: Does Percona Backup for MongoDB fully support backups on MongoDB Community Edition 7.0? Specifically:

  • Physical backups
  • Logical backups
  • Incremental backups

Thank you!

Hi @huangsijun17 ,
Yes, Percona Backup for MongoDB (PBM) supports backups on MongoDB Community Edition 7.0. However, it’s important to note that physical backups are only supported for Percona Server for MongoDB, not directly for MongoDB Community Edition

See this documentation topic for details:

Percona Backup for MongoDB is compatible with:

  • MongoDB Community / Enterprise Edition with MongoDB Replication enabled. Percona Backup for MongoDB supports only logical backups.
  • Percona Server for MongoDB for all supported backup types. For logical backups, make sure MongoDB Replication is enabled. For physical and incremental backups, make sure WiredTiger is set as the storage engine.

We currently have two MongoDB Replica Set with about 2TB and 1TB of data. Obviously, we cannot accept the time-consuming logical backup. But we cannot accept the migration from MongoDB Enterprise/Community Edition to Percona Server for MongoDB.
I want to know if I can add PSM as a replica of the Community Edition, join the replica set, and back up THIS node?

I see. Why can’t you migrate to PSMDB?

I guess my company leader wouldn’t allow it. He made many decisions on his own behind closed doors. Similar to MGR+Router, run Innodb on embedded low-power devices…

oh my gush, I feel your pain! Keep strong!

Depends on your hardware infrastructure - maybe you can consider disk snapshot, like ebs snapshot in AWS?

There are three physical hosts, all of which are RAID 10 with 4 mechanical SAS hard disks. The total estimated speed is 300MB/s. All databases, projects, and middleware are running on them.
The hosts are using ESXI. Take disk snapshots? Is there a way to merge and delete snapshots? Can it be used to roll back the database?

hey @huangsijun17 - you may try to add PSMDB as a replica set member and do the physical backup on this node. It should work, but please use the latest PBM. PBM should run on all instances.

1 Like