Tuesday , November 19 2024

Automatizing backup process on sharded clusters

 

In sharded replicas before backup process you need to disable balancer and when backup finishes you need to enable the balancer.

This process doesn’t defer if you use snapshot or use dump backups.

You can use crontab jobs to automatize the backup process. You can use the sh script given below for your backup processes:

 

disableBalancer.js

 

disableBalancer.sh

 

enableBalancer.js

 

enableBalancer.sh

Loading

About Selcen Sahin

Leave a Reply

Your email address will not be published. Required fields are marked *