Migration Script from phpBB to Flarum Discussion https://discuss.flarum.org/d/1117-phpbb-migrate-script-updated-for-0-3-and-other-improvements
The Script performs a DB -> DB migration it will copy all usernames and emails and start date but Will NOT COPY PASSWORDS instead it will create a random passowrd which is a md5 hash of the current time that is then shad1. This means after the migration all users will need to reset their passwords
For anyone who wants to use the script here are the steps I use
- Create a fresh forum using the standard install instructions.
- When you create the forum make sure the email is different to the one in phpBB otherwise there will be some conflicts.
- Run the my script with the correct database parameters for you. (make sure that the script is executable and the directory writable).
Usage using phpMyAdmin tested by demmm
- Use phpMyAdmin on the old server with phpBB to export, download that database.
- Create a new forum with a clean database on the new server, for Flarum.
- Create another database on that new server, this one to import the old phpBB database into, and run the script.
Thanks to all who have contributed :)