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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Move/copy CiviCRM to another Drupal installation, possible?
Pages: [1]

Author Topic: Move/copy CiviCRM to another Drupal installation, possible?  (Read 2110 times)

Arjan

  • Guest
Move/copy CiviCRM to another Drupal installation, possible?
January 06, 2010, 04:26:48 am
Hi all, I hope this hasn't been answered elsewhere already (I didn't find it).

I am wondering if it is possible to move an installed version of CiviCRM to another Drupal website (separate databases). I've read http://wiki.civicrm.org/confluence/display/CRMUPCOMING/Moving+an+Existing+Installation+to+a+New+Server+or+Location and other forum topics on migration problems, but everything I've read was about moving everything (Drupal+CiviCRM) to a new server or location.

The point is of course to keep the settings and data in CiviCRM, but visiting the CiviCRM install url will wipe data, I understand. Or is there a way to do a clean install and export+import everything (users, data, configurations, etc.) from the old to the new CiviCRM at once?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Move/copy CiviCRM to another Drupal installation, possible?
January 06, 2010, 05:32:20 am
I would suggest following:

1. Install fresh CiviCRM on new server drupal (same version as your other civicrm). Make sure it's working fine.
2. Then drop civicrm db on new server.
3. Load civicrm db from old server.
4. Empty civicrm_uf_match table.
5. Empty civicrm_menu table.
6. Fix Resource url
6. Then run <sitename>/civicrm/menu/rebuild?reset=1

That's it.

HTh

Kurund
Found this reply helpful? Support CiviCRM

Arjan

  • Guest
Re: Move/copy CiviCRM to another Drupal installation, possible?
January 09, 2010, 05:11:54 am
Thanks for writing this up! I'm not yet ready to try it, but i'll post here later whether this worked for me.

sypl

  • I post occasionally
  • **
  • Posts: 37
  • Karma: 1
Re: Move/copy CiviCRM to another Drupal installation, possible?
November 09, 2010, 11:11:04 am
Just writing to confirm that this set of instructions works just fine. Was a bit confused about 'fix resource URL', but figured out that it just meant perform step #6 of this: http://wiki.civicrm.org/confluence/display/CRMDOC32/Moving+an+Existing+Installation+to+a+New+Server+or+Location

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Move/copy CiviCRM to another Drupal installation, possible?

This forum was archived on 2017-11-26.