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 Profiles (Moderator: Dave Greenberg) »
  • Copying Profiles Between Installations
Pages: [1]

Author Topic: Copying Profiles Between Installations  (Read 619 times)

RavDav

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 3.3.5
  • CMS version: Drupal
  • MySQL version: 5.1
  • PHP version: 5.3
Copying Profiles Between Installations
March 20, 2011, 03:22:24 am
I would like to copy several profiles and custom data groups between CiviCRM installations. I want to create a sandbox system where I can experiment and then a production system for real users. To make this easier, I would like to be able to export the profiles and data groups I created in one and import them to the other. Is there a way to do this?

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: Copying Profiles Between Installations
March 20, 2011, 07:30:29 am

Check:

http://forum.civicrm.org/index.php/topic,8877.msg38227.html#msg38227

These scripts are still very primitive and would love if we could take them to the next level by:

1. Documenting how to use them and what functionality it covers

2. Extending it so that it allows people to import/export various subsets rather than the all or nothing it is today

if you can help with the above that would be great. contact us on IRC we you need help getting started

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

jdiff

  • I’m new here
  • *
  • Posts: 24
  • Karma: 2
Re: Copying Profiles Between Installations
March 23, 2011, 01:44:56 pm
Just FYI,
I have used these scripts, and they need a minor edit to work. 

In both import.php and export.php,

change
Code: [Select]
require_once '../../civicrm.config.php';
to
Code: [Select]
require_once '../../civicrm.settings.php';

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Copying Profiles Between Installations

This forum was archived on 2017-11-26.