Hi ,
Thanks for the great product. I have used it for one of my project and management liked it.
Can I move from 1.6.2 to 1.7 RC2 ? I am just worried as this is new product for my company and I do not want to break anything.
What if migration fails
1) ,will I loose my old date ?
2) will I loose my configuration settings for 1.6.2, or it will be easy to switch back ?
Thanks
Anu
Can I move from 1.6.2 to 1.7RC2
I'm still evaluating TestLink for my company but I do have some suggestions on moving from 1.6 to 1.7RC2 (as I did during the evaluation). 1.7 has some really nice changes to it and looks much more polished - I definitely recommend checking it out.
Yes, PHP5 is required now. There are some areas that will not work with a lesser version (I found that out the hard way).
To make sure you can revert back to an old version if you have a problem with migration, make sure you rename the existing database to TestLinkBackup (or something similar) and move the Testlink install dir, just in case) so it wouldn't be overwritten.
There have been some database changes between 1.6 and 1.7RC2, and as far as I know there is not currently a script to migrate between them automatically. Then I exported a backup of all of the tables that contained data which I had edited or added. Make sure this script does not have "create" lines, but just "insert into". If you changed any of the default data, those lines in the backup script should be "update". You will probably need to do a little manual editing of the file, even if using something like PHPMyAdmin to create it.
Then install 1.7RC2 version of Testlink as a new install (not an upgrade). When TL is installed and the db has been successfully created, run the script you created from the backup. After that you should be in pretty good shape with minimal data loss.
Again, I've only been evaluating the product and haven't actually used it in production so I didn't have a lot of data to keep track of. It took some trial and error to make this stuff work, but as long as you make sure you have your old install of TestLink and the old db saved somewhere they don't get overwritten you should be fine.
Yes, PHP5 is required now. There are some areas that will not work with a lesser version (I found that out the hard way).
To make sure you can revert back to an old version if you have a problem with migration, make sure you rename the existing database to TestLinkBackup (or something similar) and move the Testlink install dir, just in case) so it wouldn't be overwritten.
There have been some database changes between 1.6 and 1.7RC2, and as far as I know there is not currently a script to migrate between them automatically. Then I exported a backup of all of the tables that contained data which I had edited or added. Make sure this script does not have "create" lines, but just "insert into". If you changed any of the default data, those lines in the backup script should be "update". You will probably need to do a little manual editing of the file, even if using something like PHPMyAdmin to create it.
Then install 1.7RC2 version of Testlink as a new install (not an upgrade). When TL is installed and the db has been successfully created, run the script you created from the backup. After that you should be in pretty good shape with minimal data loss.
Again, I've only been evaluating the product and haven't actually used it in production so I didn't have a lot of data to keep track of. It took some trial and error to make this stuff work, but as long as you make sure you have your old install of TestLink and the old db saved somewhere they don't get overwritten you should be fine.
Thanks for your help,
Just some clarification on this
1. "I exported a backup of all of the tables that contained data which I had edited or added. Make sure this script does not have "create" lines, but just "insert into". -
do i need to export even after taking the back up ?
and what is the script that you mentioned here ?
2. If you changed any of the default data, those lines in the backup script should be "update".
- No i didn't change any default data
3. You will probably need to do a little manual editing of the file, even if using something like PHPMyAdmin to create it. - I think I won't need this as I didn't do any editing
Thanks
Anu
Just some clarification on this
1. "I exported a backup of all of the tables that contained data which I had edited or added. Make sure this script does not have "create" lines, but just "insert into". -
do i need to export even after taking the back up ?
and what is the script that you mentioned here ?
2. If you changed any of the default data, those lines in the backup script should be "update".
- No i didn't change any default data
3. You will probably need to do a little manual editing of the file, even if using something like PHPMyAdmin to create it. - I think I won't need this as I didn't do any editing
Thanks
Anu