Is it possible to automate the steps described on this page https://docs.cloudmanager.mongodb.com/tutorial/resync-backup/
Hi Igor,
Currently, there is no Cloud Manager API available to resync a backup.
What is the use case that requires you to perform the resync backup via API ?
For example, if your Cloud Manager generates a Backup requires a resync alert because of the oplog had rolled over; and if this is happening often instead of automating the resync via API perhaps you should look into increase the size of the oplog. See also Change the size of the Oplog.
There are two other scenarios which the alert may be triggered, however that would be less common that the above.
Regards,
Wan.
the scenario is restoring a backup from production to staging replica set. After the backup is restored, the staging environment generates alert for backup resync.
Hi Igor,
You could try to Suspend Alerts by adding a maintenance window during the maintenance window on the staging replica set.
Regards,
Wan