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 (Moderator: Dave Greenberg) »
  • How does one export/import custom data groups & profiles
Pages: [1]

Author Topic: How does one export/import custom data groups & profiles  (Read 1222 times)

GingerFeet

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 4
  • CiviCRM version: 3.4.6 / 3.4.7
  • CMS version: Drupal 6.22
  • MySQL version: 5.1
  • PHP version: 5.3.6
How does one export/import custom data groups & profiles
May 20, 2011, 01:41:22 pm
Hello All,

I'd like to export a custom data group and a profile, and import it into another db.

As mentioned here:
http://issues.civicrm.org/jira/browse/CRM-1795

I dumped civicrm_value_blah_blah_14 and sourced it into the 2nd db, but nothing happened. So obviously, I don't know what I'm doing here.

Where is the custom data group info stored?
What is the profile info stored?

Thanks,

GF

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: How does one export/import custom data groups & profiles
May 20, 2011, 05:42:11 pm

I would use the scripts here:

bin/migrate/{export,import}.php

These are not documented, but i will take a first cut at it later this weekend

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

GingerFeet

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 4
  • CiviCRM version: 3.4.6 / 3.4.7
  • CMS version: Drupal 6.22
  • MySQL version: 5.1
  • PHP version: 5.3.6
Re: How does one export/import custom data groups & profiles
July 20, 2011, 01:29:57 pm
Lobo,

I have not looked at exporting/importing custom data groups/fields since posting.

But I'm now on a personal time-frame Mission Impossible style to figure this out.
If you think it sounds dangerous, just think of me running with scissors.
  • Did you do any documenting?
  • If so where did you put it?
  • If not where should I put what I figure out?

Thanks,
GF

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: How does one export/import custom data groups & profiles
July 21, 2011, 12:11:03 am

Check Step 3 here:

http://wiki.civicrm.org/confluence/display/CRM/Gift+aid+installation,+configuration+and+usage

export.php has the same syntax

Once you get it working, can you please create a wiki page and document it. Maybe as a child page here:

http://wiki.civicrm.org/confluence/display/CRMDOC40/Installation+and+Upgrades

thanx

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

GingerFeet

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 4
  • CiviCRM version: 3.4.6 / 3.4.7
  • CMS version: Drupal 6.22
  • MySQL version: 5.1
  • PHP version: 5.3.6
Re: How does one export/import custom data groups & profiles
July 21, 2011, 12:26:31 pm
Hello All,

Ran this:
Code: [Select]
https://templ.yyy/sites/all/modules/civicrm/bin/migrate/export.php?name=Conrad&pass=12345678&key=12345678&file=/var/www/yyy/hfh/CustomGroupData.xmlWhich returned this:
Quote
This extension: Participant is not yet handled
and no magic file.

I want to export (1) set of custom fields, and import it into another CiviCRM installation with existing sets of custom fields.

Is the bin/migrate/import&export going to do just one set of custom fields? Or all of the custom fields?

GF

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • How does one export/import custom data groups & profiles

This forum was archived on 2017-11-26.