Hi,

Here are the settings I needed to place into settings.php in order to get a CiviCRM database to be available to Backup and Migrate. I think an example like this should be included in README.txt.

<?php $databases['default']['default'] = array(
  'database' => 'database1',
  'username' => 'user1',
  'password' => 'password1',
  'host' => 'localhost',
  'port' => '',
  'driver' => 'mysql',
  'prefix' => '',
);
    
$databases['civicrm']['civicrm'] = array (
  'database' => 'database2',
  'username' => 'user2',
  'password' => 'password2',
  'host' => 'localhost',
  'port' => '',
  'driver' => 'mysql',
  'prefix' => '',
); ?>

Thanks for the awesome module!

Shai Gluskin

Comments

ronan’s picture

Status: Active » Closed (won't fix)

This is core Drupal behavior so it's a bit out of scope to document it within backup and migrate. It is already documented inside settings.php itself.