Let us take a closer look at how to setup percona backup mongodb with the support of our Server management support services at Bobcares.
What is Percona Backup in MongoDB?
PBM is a distributed, low-impact backup solution for MongoDB sharded clusters and replica sets.
PBM works with Percona Server for MongoDB v3.6 and above, as well as MongoDB Community Edition v3.6 and higher.
Percona backup features in MongoDB
The following functionalities are included in Percona Backup:
- The MongoDB backup and restore feature supports both classic non-sharded replica sets and sharded clusters.
- Point-in-time recovery is possible.
- A simple command-line utility is available for management.
- Oplog capture ensures consistency across replica sets and sharded clusters.
- Distributed transaction consistency is supported in MongoDB 4.2+.
- Authentication is integrated with MongoDB and does not require a separate coordination service installation.
- Backups can be stored on any S3-compatible storage.
- Locally-mounted remote filesystem backup servers are supported.
Architecture
Percona Backup for MongoDB is made up of the following parts:
- The pbm-agent process executes backup and restore actions on each mongod node in the cluster or replica set.
- The pbm CLI is a command-line utility that tells pbm-agents to carry out a task.
- PBM Control collections are MongoDB special collections that contain configuration data and backup states.
- Remote backup storage in the form of s3-compatible or filesystem storage.
How to start a Backup?
$ pbm backup --type=TYPE
As of version 1.7.0, we may indicate whether we want a physical or logical backup.
When physical backup is enabled, Percona Backup for MongoDB transfers the contents of the dbpath directory (data and metadata files, indexes, journals, and logs) from each shard and configuration server replica to the backup storage.
It copies the real data to backup storage during logical backups. It creates a logical backup when no –type parameter is used.
How to check an in-progress backup?
The information about performing backups is no longer included in the pbm list output as of version 1.4.0. To check for running backups, use the pbm status command instead.
Run the pbm list command with Percona Backup for MongoDB version 1.3.4 or earlier to see the running backup reported with a ‘In process’ label. If it is not present, the backup is complete.
[Need assistance with similar queries? We are here to help]
Conclusion
To sum up, our tech support team has now shown us how to set up the percona backup mongodb.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
var google_conversion_label = "owonCMyG5nEQ0aD71QM";
0 Comments