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) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • Creating Duplicate Environments
Pages: [1]

Author Topic: Creating Duplicate Environments  (Read 7311 times)

Carole Vandermark

  • Guest
Creating Duplicate Environments
January 08, 2010, 10:09:40 am
Hi,
  We have a CiviCRM/Drupal development environment and are preparing to deploy a production environment.  Is there any documentation - or can anyone tell me how to copy my custom field definitions, contribution pages and other customizations from development to production?

Thanks,
Carole

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: Creating Duplicate Environments
January 08, 2010, 11:13:46 am

your best bet would be to copy your development database to the production site (using mysqldump or your favorite mysql toolkit)

we are also working on a set of migration scripts (bin/migrate/{import,export}.php) but they only do custom groups and profile groups for now. We'll plan on extending them over a period of time

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

Carole Vandermark

  • Guest
Re: Creating Duplicate Environments
January 11, 2010, 07:02:00 am
I want to move my customizations, but not the actual data.  I'm not familiar with the db structure.  Is there a way to select some specific tables or must I dump the entire db, reload it in the new environment and then purge the data and unwanted customizations?

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: Creating Duplicate Environments
January 11, 2010, 11:44:50 am

yes, u'll need to dump entire DB and purge unwanted data

would be great if someone in the community can step up and work on this feature and/or sponsor development of this feature. I think it is a very useful thing to incorporate into civicrm

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

capo

  • I post occasionally
  • **
  • Posts: 108
  • Karma: 5
Re: Creating Duplicate Environments
July 11, 2012, 03:22:34 am
Quote from: Donald Lobo on January 08, 2010, 11:13:46 am

your best bet would be to copy your development database to the production site (using mysqldump or your favorite mysql toolkit)

we are also working on a set of migration scripts (bin/migrate/{import,export}.php) but they only do custom groups and profile groups for now. We'll plan on extending them over a period of time

lobo

Is there any update on this migration scripts? I arrived here looking for a way to migrate developments. The post is old so I thought may be they're some news.

Thanks and sorry if I'm not writting where I should (I'm new here).

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: Creating Duplicate Environments
July 11, 2012, 06:47:06 am

No. But would make a good beginner project. Any chance you can take a look at it and start work on it

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

capo

  • I post occasionally
  • **
  • Posts: 108
  • Karma: 5
Re: Creating Duplicate Environments
July 12, 2012, 10:04:29 am
Quote from: Donald Lobo on July 11, 2012, 06:47:06 am
No. But would make a good beginner project. Any chance you can take a look at it and start work on it

Maybe in some months but I'm still trying to familiarize myself with CiviCRM.

Thanks to you!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • Creating Duplicate Environments

This forum was archived on 2017-11-26.