Moving servers

Hi there, I am just scoping out whether SuiteCRM is suitable for my organisation and wanted to ask:

Is it easy to clone an installation and move to another server? Are there any tools for this or is it usually a manual job?

I just want to know as I am gradually building a development version and when it comes to deploying it at our main domain I wondered if it’s going to be tricky.

It’s quite movable. Normally this is a manual job and involves copying all the files in the SuiteCRM directory, and the full database contents. you can export the entire database with a single mysql command, and import is just as easy.

You should keep the versions matched: SuiteCRM must be the same version on both systems.

Thanks pgr!

May I ask – is this still the case if the domains are different? Surely there would have to be a bit of find-and-replace going on with the database etc.?

If there is a guide or anything that’d be good to know… again,. I am pretty proficient with LAMP stuff but it’d just be good to see the process laid out to be certain.

Hi,

Domains aren’t stored in the database.

Please check your config.php file which you’ll find in your www root. and the following adapt accordingly:

  • site_url
  • host_name
  • db_host_name
1 Like

Thanks Jan!

Hi, a small supplement: In case you use apache, and the copy is installed in different subdirectory, then make sure that the RewriteBase directive in the following file (located in the SuiteCRM webroot) is correct:

.htaccess

In case SuiteCRM is installed on a domain without subdirectory, for example: http://crm.mydomain.com then this should be:

RewriteBase	/

In case SuiteCRM is installed on a domain with subdirectory, for example: http://crm.mydomain.com/SuiteCRM then this should be:

RewriteBase	/SuiteCRM