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 »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Copying data from one server to the other. 4.5.8.
Pages: [1]

Author Topic: Copying data from one server to the other. 4.5.8.  (Read 3720 times)

rchapman

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 0
Copying data from one server to the other. 4.5.8.
April 22, 2015, 05:44:00 am
Is there a more up-to-date set of instructions for this process? I followed the instructions at

http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location

and was met with "DB not found" as the error message. I don't want to go troubleshooting too hard if this information isn't accurate. Here are the steps I took once I had my 4.5.8 install on one server, and a fresh 4.5.8 install on another:

--ignore-table=civicrm_db_name.civicrm_domain \
--ignore-table=civicrm_db_name.civicrm_acl_cache \
--ignore-table=civicrm_db_name.civicrm_acl_contact_cache \
--ignore-table=civicrm_db_name.civicrm_cache  \
--ignore-table=civicrm_db_name.civicrm_group_contact_cache \

install database copy

DELETE <joomla-root>/media/civicrm/templates_c/*
       <joomla-root>/media/civicrm/ConfigAndLog/Config.IDS.ini

/administrator/index.php?option=com_civicrm&task=civicrm/admin/setting/updateConfigBackend&reset=1

/administrator/index.php?option=com_civicrm&task=civicrm/admin/setting/path?reset=1

/administrator/index.php?option=com_civicrm&task=civicrm/menu/rebuild&reset=1

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Copying data from one server to the other. 4.5.8.
April 22, 2015, 06:15:48 am
This is pretty up to date, and what I use when moving stuff from one server to another with Drupal.
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Copying data from one server to the other. 4.5.8.
April 22, 2015, 06:51:25 am
sounds like you need to review your two civicrm.settings.php file -
one in: administrator/components/com_civicrm/
one in: components/com_civicrm/

I suspect the DB values are not accurate there.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

rchapman

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 0
Re: Copying data from one server to the other. 4.5.8.
April 22, 2015, 06:57:40 am
Quote from: lcdweb on April 22, 2015, 06:51:25 am
sounds like you need to review your two civicrm.settings.php file -
one in: administrator/components/com_civicrm/
one in: components/com_civicrm/

I suspect the DB values are not accurate there.

I thought that as well. But the fresh install of civi on the new server works and shows me a main page. Only when I over-write the DB is when I get the error, so there is no change to the settings file.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Copying data from one server to the other. 4.5.8.

This forum was archived on 2017-11-26.