<div dir="ltr"><div><div>Hi Sunny,<br><br></div>Thanks for that.  I've seen your posts recently and understand that you're a fan of this approach.  If the schemas were the same between 5.3 & 6.2 I might be tempted but there is a migration tool for each version for very good reasons.<br></div><div>I fear that you'll continue to find issues with your upgrade for some time yet with that method.<br><br></div><div>Kind regards,<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Matt Bracewell<br></div></div></div></div></div></div><br><div class="gmail_quote">On 20 April 2015 at 10:07, sunny <span dir="ltr"><<a href="mailto:1250572980@qq.com" target="_blank">1250572980@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><div><div>I think the my method is copy the tables directly from database,not take care of the data size.</div><div><br></div><div><br></div><div style="font-size:12px;font-family:Arial Narrow;padding:2px 0 2px 0">------------------ 原始邮件 ------------------</div><div style="font-size:12px;background:#efefef;padding:8px"><div><b>发件人:</b> "Matt Bracewell";<<a href="mailto:mattbracewell@eclipse-tech.co.uk" target="_blank">mattbracewell@eclipse-tech.co.uk</a>>;</div><div><b>发送时间:</b> 2015年4月20日(星期一) 下午4:58</div><div><b>收件人:</b> "vtigercrm-developers"<<a href="mailto:vtigercrm-developers@lists.vtigercrm.com" target="_blank">vtigercrm-developers@lists.vtigercrm.com</a>>; </div><div></div><div><b>主题:</b> Re: [Vtigercrm-developers] Upgrade from 5.3</div></div><div><div class="h5"><div><br></div><div dir="ltr"><div><div><div><div>Thanks for the helpful input Alan,<br><br></div>I've got no PBX integration so I'm clear on that count.<br><br></div>Is trawling this list archive the best way to get your improved script?<br></div>Do you test after each step or is the absence of errors a sufficient indication of success?<br><br></div><div>Kind regards,<br></div><div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div>Matt Bracewell<br></div></div></div></div></div></div><br><div class="gmail_quote">On 20 April 2015 at 09:51, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 20/04/15 09:35, Matt Bracewell wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi List,<br>
<br>
There has been much discussion here on upgrade scripts over the years<br>
and many examples of partial upgrades due to (silent) execution timeout etc.<br>
<br>
Is there any decent documentation on multi-version upgrades? Advice on<br>
best practice, ideas for testing, command line tools etc, etc etc.<br>
</blockquote>
<br></span>
This is not straightforward.<br>
<br>
The web-based migration generally works for small databases and/or you will get an error when something goes wrong :-)<br>
<br>
However for bigger databases the web-based scripts suck. They almost always time out and die silently :-(<br>
<br>
When going from 5 to 6 you really need to "fix" the database beforehand to prevent the migration script trying to create and population the new crmentity label column - the migration code is incredibly slow and inefficient. (I have posted in here before an alternative script that reduced the time from >10 hours to a few minutes.)<br>
<br>
If you have PBXManager beware going from 6.1. to 6.2 - the script to migrate the PBXManager table doesn't really do anything as far as I can tell and again takes eons to do it... I have also commented on this in this list before.<br>
<br>
Documentation? Not that I have found.<br>
<br>
Best practice? One step at a time, keep your fingers and toes crossed, keep notes on what you do.<br>
<br>
HTH<br>
<br>
Al<br>
<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div></div></div></div></div><br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div></div>