i think it would be able to be handle by generating syncronisation  script 
with sql yog and run the script from linux cron, or by using the events if 
you use mysql as the db

On Tuesday, June 14, 2016 at 10:30:40 PM UTC+7, sushovan majumdar wrote:
>
> 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?
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/96110213-6214-4611-8b55-3c08525729c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to