Version 1 (modified by 9 years ago) ( diff ) | ,
---|
CiviCRM HowTo Copy a Site
Tags: CiviCRM Summary HowTo
Procedure
- On the site you want to copy clear the CiviCRM cache by running the command:
http://{site domain}/index.php?q=civicrm/clearcache
- Backup the CiviCRM and Drupal databases.
- Create the new databases and restore the backups to these databases.
- Ensure that the database user(s) have the correct permissions (see CiviCRM HowTo Install)
- Copy the directory of the original Drupal site to the new location.
- Change the ownership of the new site directory to
www-data
or the relevant user. - In the new site directory, amend settings files
{Drupal Home}/sites/default/settings.php
and{Drupal Home}/sites/default/civicrm.settings.php
to:- Change the database connection details.
- Directories and URLs.
- Browse to the new site and go onto the CiviCRM tab / menu item.
- Go to
Administration\System Settings\Directories
and amend the custom directories.
Note:
See TracWiki
for help on using the wiki.