This is an old revision of the document!
Instructions to migrate 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.
- 2. Make a backup of the PunBB web directory. It can be done via the .tar utility or any one which your hoster allows.
- 3. 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.
- 5. 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.
- 7. 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).
- 9. Clear the cache directory.