- Back Up and Restore Deployments >
- Manage Backups >
- Edit a Backup’s Settings
Edit a Backup’s Settings¶
On this page
Available backup settings depend on the FCV
value of your MongoDB database.
To edit Backup’s settings:
- Click Continuous Backup.
- Overview tab. Ops Manager lists all available backups.
- Click ellipsis h icon next to each backup to access its settings.
Backup Settings Available to All FCVs¶
Edit Snapshot Schedule and Retention Policy¶
Click Continuous Backup.¶
On the row for the process, click the backup’s ellipsis icon, then click Edit Snapshot Schedule.¶
Configure the snapshot settings.¶
Enter the following information as needed.
See also
To learn about retention values, see Snapshot Frequency and Retention Policy.
Take snapshots every … hours and save for … days Sets how frequently, in hours, Ops Manager takes a base snapshot of the deployment and the number of days Ops Manager retains base snapshots. Create cluster checkpoint every … minutes (Sharded Clusters only) Sets how frequently, in minutes, Ops Manager creates a Checkpoints in between snapshots of a sharded cluster. Checkpoints provide restore points that you can use to create custom point-in-time snapshots.
Important
You may use checkpoints for clusters that run MongoDB with
Feature Compatibility Version
of 4.0 or earlier. Checkpoints were removed from MongoDB instances with FCV of 4.2 or later.Store daily snapshots for Sets the number of days that Ops Manager retains daily snapshots. Store weekly snapshots for Sets the number of weeks that Ops Manager retains weekly snapshots. Store monthly snapshots for Sets the number of months that Ops Manager retains monthly snapshots.
Note
Ops Manager takes monthly snapshots every 28 days, not by calendar month.
Day of Week for Full Snapshot Sets the day of the week when Ops Manager takes a full snapshot. This ensures a recent complete backup.
Ops Manager sets the default value to Sunday.
Allow point-in-time restores going back Sets the number of days that Ops Manager retains oplogs alongside snapshots.
See also
To learn how snapshots and point-in-time restores work, see Restore Overview.
Reference Time of Day (UTC) Sets the time of day at UTC from which the snapshot schedule starts. When you change the Reference Time of Day, snapshots that are in progress remain unaffected. Only snapshots taken after you change the reference time follow the updated schedule.
Note
Changing the reference time changes the time of the next scheduled snapshot. You can’t make the next scheduled snapshot happen sooner than the current next snapshot time. The current next snapshot time is the current reference time plus the interval between snapshots.
See also
To review more examples, see Snapshot Frequency and Retention.
Click Submit.
Edit Security Credentials¶
Click Continuous Backup, then the Overview tab.¶
Select the backup’s ellipsis icon and select Edit Credentials¶
On the line listing the process, click the ellipsis icon and click Edit Credentials.
Provide the authentication information.¶
Enter the following information as needed and click Submit.
Auth Mechanism | The authentication mechanism that the MongoDB host uses. MongoDB Community options include: MongoDB Enterprise options also include: |
DB Username | For See Configure MongoDB Agent for Authentication or Configure MongoDB Agent for LDAP. |
DB Password | For Username/Password or LDAP authentication, the
password used to authenticate the MongoDB Agent with the MongoDB
deployment. |
Allows TLS for connections | If checked, Backup uses TLS to connect to MongoDB. |
Modify the Storage Engine Your Backups Use¶
Click Continuous Backup, then the Overview tab.¶
Select the backup’s ellipsis icon and select Edit Storage Engine¶
On the line listing the process, click the ellipsis icon and click Edit Storage Engine.
Select the storage engine.¶
Select the storage engine. See: Storage Engine for more about choosing an appropriate storage engine for your backup.
Select the sync source.¶
Select the Sync source from which to create the new backup. In order to use the new storage engine, Ops Manager must resync the backup on the new storage engine.
Click Submit.¶
Backup Settings Available to FCV 4.2 and Later¶
Edit the Preferred Member for Backup¶
When each snapshot starts, Ops Manager selects a replica set member to run the snapshot. This automatically selected member should have the least performance impact on the replica set. You can override the default selection.
Important
Use default selection whenever possible. This choice ensures backup availability.
Click Continuous Backup, then the Overview tab.¶
Open the Select Preferred Member to Backup panel.¶
On the line listing the process, click Select Preferred Member to Backup.
then clickChoose a replica set member to create snapshots.¶
Click Select a member manually.
Select an available member.¶
From the Select an available member drop-down, select the hostname and process port for the desired member.
Note
If the selected member becomes unavailable, an error message appears in the panel. Ops Manager uses a default member until the selected member is available.
Click Submit.¶
Backup Settings Available to FCV 4.0 and Earlier¶
Enable Cluster Checkpoints¶
Important
You may use checkpoints for clusters that run MongoDB with
Feature Compatibility Version
of 4.0 or earlier. Checkpoints were removed from
MongoDB instances with FCV of 4.2 or later.
Cluster checkpoints provide restore points in between scheduled snapshots. You can use checkpoints to create custom snapshots at points in time between regular snapshots.
Click Continuous Backup, then the Overview tab.¶
Select the backup’s ellipsis icon and select Edit Snapshot Schedule.¶
On the line listing the process, click the ellipsis icon and click Edit Snapshot Schedule.
Enable cluster checkpoints.¶
- Select Create cluster checkpoint every.
- Set the interval.
- Click Submit.
Edit the Namespaces Filter¶
The Namespaces Filter specifies which databases and collections Ops Manager backs up.