How to sync 2 Testlink systems?

The release related discussions, plans and questions.
Locked
mbaram
TestLink user
Posts: 6
Joined: Tue Aug 22, 2006 6:04 pm

How to sync 2 Testlink systems?

Post by mbaram »

We need to figure out the way to syncronize two TL 1.7 systems nightly. Any ideas?
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

Please explain better (more details) what you need to do
mbaram
TestLink user
Posts: 6
Joined: Tue Aug 22, 2006 6:04 pm

Post by mbaram »

2 installations, in US and India, changes are made in both daily. Need to sync the changes daily.
drew
Advanced user
Posts: 23
Joined: Fri Jun 30, 2006 8:19 pm

Post by drew »

I think he means that he wants the information contained in one database to be transfered to the other and vice versa, on a nightly basis. I'm not aware of any such merge ability in TL itself. The only thing you could do is keep track of newly created test cases and cross export/import them on a daily basis, which is simply not practical. I think that a third party MySQL database merge tool is your best option.
svanuitert
Advanced user
Posts: 16
Joined: Fri Mar 16, 2007 3:32 pm

Post by svanuitert »

Since TL is based on MySQL, just ensure you are using MySQL version 5.x or greater and use the server replication feature of mysql. As long as the TL code is identical at both of your locations (you could use rsync to keep TL syncronized), your data in the databases should be almost live as changes are made.

Scot
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

TestLink has not own synchronization feature. You can do it via common db related tools. But I'm not aware how could be solved conflicts.
I suggest to think about one system shared via intranet or internet. You can patch access to TL for exact range of IP address to be sure about security (internet case).
Locked