Backing up MongoDB data
You can define backup jobs to protect your MongoDB data. To regularly back up your data, define a backup job that includes a service level agreement (SLA) policy.
Before you begin
During the initial backup operation, IBM Spectrum® Protect Plus creates a vSnap volume and NFS share. During incremental backups, the previously created volume is reused. The IBM Spectrum Protect Plus MongoDB agent mounts the share on the MongoDB server where the backup is completed.
Review the following prerequisites before you create a backup job definition:- Add the application servers that you want to back up. For the procedure, see Adding a MongoDB application server.
- Configure an SLA Policy. For the procedure, see Defining a Service Level Agreement backup job.
- Before an IBM Spectrum Protect Plus user can set up backup and restore operations, roles and resource groups must be assigned to the user. Grant users access to resources, and backup and restore operations, in the Accounts pane. For more information, see Managing user access and Roles for MongoDB.
Procedure
What to do next
After the SLA policy is saved, you can run the policy at any time by clicking
Actions for that policy name, and selecting Start. The
status in the log changes to show that the backup job is in the Running
state.
To cancel a job that is running, click Actions for that policy name and select Cancel. A message asks whether you want to keep the data that is already backed up. Choose Yes to keep the backed up data, or No to discard the backup.