Copying a CiviCRM/Drupal install from one server to another (got error)
If you have Drush installed, you can also use the following command to update some of those settings:

drush civicrm-update-cfg

It will try to update the URL and directory settings, which is pretty equivalent to the URL: "http:///index.php?q=civicrm/admin/setting/updateConfigBackend&amp;reset=1".

After that, you can use the API to flush various CiviCRM caches which may be using that data:

drush civicrm-api system.flush