ERPNext Conference 2019* Blog

How Synchronize Local and Cloud instances


Is there a software that can make synchronization between the two servers located at different places but there database status will always be the same. Or what is the best suggested solution?


Not, sure

but you can restore the cloud instance site backup to your local instance.

Check bench backup to take backup and bench restore to restore the backup to site.

Thanks, Makarand


No, I am asking about different thing.
I want to synchronize theme if one of instances get offline and users do some oprations in offline mode then when internet connction get back it will synchronize the database.

Is it possible to make slave database locally just for emergence ?


any ideia on this facing the same situation


Hi, sorry for disturbing, have you found the solution?


Probably rsync is one command you should investigate

Search ‘rsync’ on this forum will give you ideas too


thank you for your tip, I`ll check:)


@NMyshuk you could try this :

and share your feedback please :wink:


hi, thank you, I’ll check and share :wink:


Hi, did anyone try and run this script given by @Mohammed_Redha. Also if it works c an someone please guide me on how implement this to sync my ec2 erpnext instance and my offline instance. Thanks!