Differences
This shows you the differences between the selected revision and the current version of the page.
migration_to_another_server 2014/03/27 09:30 | migration_to_another_server 2020/02/06 11:04 current | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Instructions to migrate one server to another ====== | + | ====== Instructions to transfer the PunBB forum from one server to another ====== |
Follow these instructions to migrate the PunBB forum from one server to another. | Follow these instructions to migrate the PunBB forum from one server to another. | ||
- | - 1. Prepare a web environment on the new server. | + | - Prepare a web environment on the new server. |
- | - 2. Make a backup of the PunBB web directory. It can be done via the .tar utility or any one which your hoster allows. | + | - Make a backup of the PunBB web directory. It can be done via the .tar utility or any other which your hoster allows. |
- | - 3. Make a backup of your DB. It can be done via the mysqldump or phpmyadmin utility. | + | - Make a backup of your DB. It can be done via the mysqldump or phpmyadmin utility. |
- | - 4. Copy a backup of the web directory and DB to the new server via ftp or scp. | + | - Copy a backup of the web directory and DB to the new server via ftp or scp. |
- | - 5. Restore the DB backup on the new server. | + | - Restore the DB backup on the new server. |
- | - 6. Create a mysql user on the new server. Get a username and password in the config.php file of your forum. | + | - Create a mysql user on the new server. Get a username and password in the config.php file of your forum. |
- | - 7. Restore forum files from the backup in the web directory of the new server. | + | - Restore forum files from the backup in the web directory of the new server. |
- | - 8. After restoring, verify that web server have permissions to write to follow directories: cache, img/avatars and extensions (for pun_repository). | + | - After restoring the files, verify that the web server has permissions to write to the following directories: cache, img/avatars and extensions (for pun_repository). |
- | - 9. Clear the cache directory. | + | - Clear the cache directory. |