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 »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Upgrading CiviCRM/new installation. Best way to export/import contacts?
Pages: [1]

Author Topic: Upgrading CiviCRM/new installation. Best way to export/import contacts?  (Read 1192 times)

corvi

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal 6
  • MySQL version: .
  • PHP version: .
Upgrading CiviCRM/new installation. Best way to export/import contacts?
August 28, 2013, 12:35:18 pm
Hi folks, I'm new here..

I work for a small non-profit that has been using CiviCRM 3 for a couple of years. Most of the data came from a prior database, and it was not cleaned up well at the time, so we have a lot of unnecessary fields, duplicate fields, and legacy data that is no longer needed. A massive cleanup project is in order before we export and import into a new Civi 4 installation.

(Our current website is Drupal 6 with Civi 3. We are doing a major site redesign as we upgrade to Drupal 7/Civi 4, so basically we are doing a separate new installation of 7/4, to run concurrently with our live 6/3 site. First step - get our new Civi 4 database operational).

I'm in the process of cleaning up the fields and sorting what data we need and what we don't, but in this situation I am wondering what the best export process would be, in order to have the cleanest import for the new database.

As I'm relatively new to CiviCRM, what I've garnered so far is that contact, membership and donation information are all separate csv exports, correct? How can I ensure they all connect to the correct contact when importing (does this use the Civi ID)? Should I assign each of them to a separate ID somehow?  Or is there a better way to do this ???

Many thanks in advance for the help!


Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Upgrading CiviCRM/new installation. Best way to export/import contacts?
August 28, 2013, 12:37:56 pm
I haven't heard of exporting from Civi for the sake of importing to Civi. Unless your database is somehow corrupt, upgrading is probably simpler than the export/import process.
Try asking your question on the new CiviCRM help site.

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Upgrading CiviCRM/new installation. Best way to export/import contacts?
August 28, 2013, 12:39:54 pm
Hi Corvi,

CiviCRM is a pretty complicated database on the back end - about 150 tables!  I would definitely recommend creating a copy of your current site, upgrading to D6/Civi 4, then dumping the Civi database and importing it into your D7/Civi 4 install and cleaning up post-import.  It will be MUCH easier to work with an existing database than to try to export, clean, and import into a blank database, especially if you're not using dedicated migration/transformation tools.
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

corvi

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal 6
  • MySQL version: .
  • PHP version: .
Re: Upgrading CiviCRM/new installation. Best way to export/import contacts?
August 28, 2013, 01:02:29 pm
My understanding is that Civi 4 does not play well with Drupal 6, and we were told that Drupal 7 is so different from 6 that it basically requires a complete redesign, so that's why we opted for a complete new installation of 7/4.

We made a clone of our 6/3 (via a mysql dump) so that I could work on cleaning up the database without losing our legacy data (that's the other reason for a clean, separate install. We don't want to lose the old data completely, we just won't need it very often and don't want it to clutter up our new database).

I'm not sure if a mysql dump will be what we'll want when moving the data to Civi 4, however.. I'm just not sure, being new to how databases work. What I know right now is that our database is a mess and wasn't set up properly to begin with, so once I get the new database set up correctly, I need the old data to fit nicely into the new structure. Not a simple scenario, to be sure.
« Last Edit: August 28, 2013, 01:13:17 pm by corvidesign »

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Upgrading CiviCRM/new installation. Best way to export/import contacts?
August 28, 2013, 01:05:54 pm
I am currently running a site with D6 and Civi 4.3 and it works fine. Tim and I were careful not to break D6 comparability when we were redesigning parts of 4.3 and in some ways it works better than 3.4 :)
Try asking your question on the new CiviCRM help site.

corvi

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal 6
  • MySQL version: .
  • PHP version: .
Re: Upgrading CiviCRM/new installation. Best way to export/import contacts?
August 28, 2013, 01:53:33 pm
Quote from: Coleman Watts on August 28, 2013, 01:05:54 pm
I am currently running a site with D6 and Civi 4.3 and it works fine. Tim and I were careful not to break D6 comparability when we were redesigning parts of 4.3 and in some ways it works better than 3.4 :)

Interesting.. so the 4.3 plays nice with D6? One of our concerns is with petition responders and new website users automatically getting added to the Civi db.. We are an advocacy/activist organization so getting the petitions to work properly and auto-add to the db is crucial.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Upgrading CiviCRM/new installation. Best way to export/import contacts?

This forum was archived on 2017-11-26.