Re-sync a backup in cloud manager

35 views
Skip to first unread message

Igor Doncovski

unread,
Aug 22, 2018, 7:51:56 AM8/22/18
to mongodb-user
Is it possible to automate the steps described on this page https://docs.cloudmanager.mongodb.com/tutorial/resync-backup/
Instead of someone logging into Cloud manager and click resync, option to call API or anything ?

Wan Bachtiar

unread,
Sep 27, 2018, 3:48:09 AM9/27/18
to mongodb-user

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.

Igor Doncovski

unread,
Oct 8, 2018, 9:04:48 AM10/8/18
to mongodb-user
Hi 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. This is cloud manager backup/restore. At this stage someone has to manually click the button instead of possible automated option. Since this is during weekend time, we though of automating it.
Please let me know if the staging replica should not generate alert in such case, or how can we prevent this ?

Regards,
Igor

Wan Bachtiar

unread,
Nov 5, 2018, 7:50:59 PM11/5/18
to mongodb-user

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

Reply all
Reply to author
Forward
0 new messages