Uninstal Percona Backup for MongoDB¶
To uninstall Percona Backup for MongoDB, do the following steps:
Check that no backups are currently in progress in the output of
Before the next 2 steps make sure you know where the remote backup storage is, so you can delete backups made by Percona Backup for MongoDB. If it is an S3-compatible object storage, you will need to use another tool such as Amazon AWS’s “aws s3”, Minio’s
mc, the web AWS Management Console, etc. to do that once Percona Backup for MongoDB is uninstalled. Don’t forget to note the connection credentials before they are deleted too.
Uninstall the pbm-agent and
pbmexecutables. If you installed using a package manager, see Installing Percona Backup for MongoDB for relevant package names and commands for your OS distribution.
Drop the PBM control collections.
Drop the PBM database user. If this is a cluster, the
dropUsercommand will need to be run on each shard as well as in the config server replica set.
(Optional) Delete the backups from the remote backup storage.
Created: November 15, 2022