Back up with Percona Backup for MongoDB¶
Percona Server for MongoDB 9.0.8-1 removes the built-in createBackup command.
Use Percona Backup for MongoDB (PBM) instead.
Prepare your backup workflow¶
Before you upgrade to Percona Server for MongoDB 9.0, replace createBackup calls in scripts and scheduled jobs.
The removal applies to all createBackup destinations: local directories, archive files, and S3-compatible storage.
PBM supports consistent backups and restores for replica sets and sharded clusters. PBM does not support standalone MongoDB instances. For deployment requirements, see Supported MongoDB deployments.
To prepare your PBM backup workflow:
-
Check the PBM compatibility matrix for support for your server version and backup type.
-
Follow the PBM quickstart for PBM installation and configuration.
-
Choose a backup type that meets your backup and restore requirements.
-
Replace
createBackupcalls with the corresponding PBM backup workflow. -
Verify backups and restores in a test environment before you upgrade production servers.