Hello,I have to move data from database server to new database server. Schema is same for both.I want to write a cron job which would keep replicating data from old server to newer one.In future I will throw away the old database server.
I was looking into database routers in django to achieve this (https://docs.djangoproject.com/en/1.9/topics/db/multi-db/) but I couldn't decide how the solution would look like,I can write a new django app in old server and setup database router in that?
Can some point me to existing solutions regarding this or how can I achieve this?