CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Moving a Database to test upgrade 1.9 to 3.0.2
Pages: [1]

Author Topic: Moving a Database to test upgrade 1.9 to 3.0.2  (Read 1816 times)

Denver Dave

  • Ask me questions
  • ****
  • Posts: 471
  • Karma: 9
Moving a Database to test upgrade 1.9 to 3.0.2
November 14, 2009, 03:01:40 pm
We are on version 1.9 and I'm looking again at trying to upgrade to the current version 3.0.2.  We currently have 1.4 million records, with most being activity records.  While we seem to be able to backup using PhpMyAdmin, I'm pretty sure I can't reload to the test server with PHPMyAdmin because of the number of records.  I have used a utility called bigdump to do with large phpBB forum, but not sure that is the best.

I tried the Cpanel backup MySQL which appeared to work, but the reload only creates the database, not the tables within it.

How are others moving larger CiviCRM installations between servers?

My intent is to tryout the http://dharmatech.org/blog/civicrmupgradetool/03/06/09 tools to see if they might help with the upgrade, if not afraid of a very long process to upgrade release by release.   Do any others have experience upgrading across versions?

See also: http://forum.civicrm.org/index.php/topic,6433.msg34316.html#msg34316

Thanks.
« Last Edit: November 14, 2009, 03:25:12 pm by Denver Dave »

mrl586

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.0
  • MySQL version: 5.5.9
  • PHP version: 5.3.5
Re: Moving a Database to test upgrade 1.9 to 3.0.2
November 14, 2009, 03:59:10 pm
I think that MySQLDumper is better database backup tool than bigdump.

Denver Dave

  • Ask me questions
  • ****
  • Posts: 471
  • Karma: 9
Re: Moving a Database to test upgrade 1.9 to 3.0.2
November 14, 2009, 04:44:32 pm
Thanks - MySQLDumper does look interesting.  It appears that it only uses the PERL for scheduled backups, which is good, somehow, I seem to be allergic to PERL.  

Note, the problem is the restore because of file size, not the dump from PhpMyAdmin.  MySQLDumper looks like it goes both ways which is good.  I'll try it out.

Thanks.
« Last Edit: November 14, 2009, 10:37:47 pm by Denver Dave »

dharmatech

  • I post frequently
  • ***
  • Posts: 280
  • Karma: 53
    • dharmatech.org
Re: Moving a Database to test upgrade 1.9 to 3.0.2
November 14, 2009, 04:54:23 pm
Before you try to support an enormous database, make sure that it isn't full of meaningless activity records generated by CRM-4987.  We had a client with a huge and constantly growing database, which turned out to be 95% meaningless activity records.  The integrity tool will identify them (easy, they refer to memberships that don't exist) and the repair tool will delete them.
http://dharmatech.org
oss@dharmatech.org
801.541.8671

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Moving a Database to test upgrade 1.9 to 3.0.2
November 14, 2009, 05:52:00 pm

hey DT:

any chance u'll can take a look into providing a patch for CRM-4987 :)

the UpdateMembershipRecordScript is not very efficient and can be improved significantly, IMO

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Moving a Database to test upgrade 1.9 to 3.0.2

This forum was archived on 2017-11-26.