- Back Up and Restore Deployments >
- Manage Backups >
- Edit a Backup’s Settings
Edit a Backup’s Settings¶
Available backup settings depend on the FCV value of your MongoDB database. You can modify the following backup settings for one of your backups.
To edit Backup’s settings:
- Click 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 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.
Note
See Snapshot Frequency and Retention Policy for default and maximum retention values as well as how these settings affect Ops Manager.
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 checkpoint in between snapshots of a sharded cluster. Checkpoints provide restore points that you can use to create custom point-in-time snapshots.
See 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.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. Allow point-in-time restores going back Sets the number of days that Ops Manager retains oplogs alongside snapshots.
See Restore Overview for how snapshots and point-in-time restores work.
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:
- If the new reference time is before the current reference time, the next snapshot occurs at the new reference time tomorrow.
- If the new reference time is after the current reference time, and you make the change before the current reference time, the next snapshot occurs at the new reference time today.
- If the new reference time is after the current reference time, but you make the change after the current reference time, the next snapshot occurs at the new reference time tomorrow.
See Snapshot Frequency and Retention for more details and examples.
Click Submit.
Edit Security Credentials¶
Click 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 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.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 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.