Server Migration

Preparations

1. Before you begin to create the backup, you should first activate the maintenance mode. Log in to the administration interface (ACP), and activate the maintenance mode under Configuration -> Options -> General -> Maintenance mode.


2. To save time and avoid problems, you should clear the cache directories under Management -> Maintenance -> Cache.


3. If the domain or generally the directory structure change with the move, follow these instructions: Change directory structure

Taking a backup

Whenever we are talking about the file system we mean everything that is inside the folder of your community. Do not leave out folders you deem not important The folder you need to backup will look something like this:



1. Create a file system backup using the FTP program of your choice.

  • Make sure to download the files in binary mode, otherwise you will destroy them.
  • Double check that there were no error messages, otherwise your backup will be incomplete.
  • Double check that the download was not interrupted, otherwise your backup may be incomplete.
  • Launch your explorer (eg. Windows button + E on Windows) and go to the directory in which you have just stored the files. Open the config.inc.php in the CMS home directory with a text editor and enter the database credentials of the new web hosting provider.

2. Create a database backup.

  • A popular choice is MySQLDumper. While this software creates proper backups it also is no longer actively developed. You might run into problems with newer PHP versions.
  • Completely explaining MySQLDumper would require more than an own article. We suggest taking a look at the documentation and create a forum thread, if necessary.

For alternative options to create a backup please read the following article: Backing Up Your Community

New webspace/Server

1. Connect via FTP to the new webspace/server and restore the just saved files.

  • Make sure to upload the files in binary mode, otherwise you will destroy them.
  • Double check that there were no error messages, otherwise your upload will be incomplete.
  • Double check that the upload was not interrupted, otherwise your upload may be incomplete.

2. Now the backup of the database must be re-imported via MySQLDumper etc. at the new database.

Common Problems