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 System -> Options -> General -> Maintenance mode.
2. To save time and avoid problems, you should clear the cache directories under System -> Maintenance -> Cache.
3. If the domain or generally the directory structure change with the move, then 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 /wcf/ 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
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.
Log in to the ACP via direct link (eg www.example.com/acp/). Then go to System -> Logs -> Errors[/ tt]. Here you can search for the error ID.
If you no longer have access to the ACP, you can view the error message also via FTP in the directory [tt]/wcf/log/.
Depending on the server configuration of the web hosting provider, it may be that the Web server and FTP running with different users. In that case the permissions 755 and 644 for folders and files are not sufficient.
To correct the permissions, connect with via FTP to the webspace and make a right-click on the folder, then go to properties. Set folders on 777 and files on 666. For most FTP programs, you can set these permissions for files and folders separately and allow inheritance to subdirectories. Alternatively, please contact your web hosting provider to fix the problem.