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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Documentation for Getting Drupal backup_migrate Module to See the CiviCRM Db
Pages: [1]

Author Topic: Documentation for Getting Drupal backup_migrate Module to See the CiviCRM Db  (Read 440 times)

Shai

  • I post frequently
  • ***
  • Posts: 202
  • Karma: 8
    • Content2zero
  • CiviCRM version: 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.3.x, 5.4.x
Documentation for Getting Drupal backup_migrate Module to See the CiviCRM Db
February 26, 2012, 03:36:41 pm
Hi,

I love the clear instructions on how to get the Views module to sees CiviCRM data (under administer => system = CMS database integration.

I'd love to see added there instructions on how to get the backup_migrate module to see the civicrm database as well.

This is what is working for me with CiviCRM 4.1 and Drupal 7.12. I add the following code to drupal's settings.php file:

Code: [Select]
 
<?php 
$databases
['civicrm']['civicrm'] = array (
  
'database' => 'civicrm_database_name',
  
'username' => 'civicrm_database_user',
  
'password' => 'civicrm_user_password',
  
'host' => 'localhost',
  
'port' => '',
  
'driver' => 'mysql',
  
'prefix' => '',
); 
?>

Obviously the array values need to be replaced with the real values from the particular installation.

Shai Gluskin
Don't miss out! Sign up now for free expert advice on CiviCRM's new StackExchange help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Documentation for Getting Drupal backup_migrate Module to See the CiviCRM Db

This forum was archived on 2017-11-26.