Version 8.1
released yesterday
Notable changes:
> php flarum migrate-data:from-mybb
Description:
Migrates data from an existing mybb forum
Usage:
migrate-data:from-mybb [options]
Options:
--host=HOST host of the mybb database
-u, --user=USER user of the mybb database
-p, --password[=PASSWORD] password for the mybb database [default: ""]
-d, --db=DB name of the mybb database
--prefix[=PREFIX] prefix of the mybb database tables [default: "mybb_"]
--users Import users (excluding avatars)
--threads-posts Import posts (excluding soft deleted posts/threads)
--groups Import groups
--categories Import categories
--avatars Import avatars
--path[=PATH] Path to the mybb forum (used for avatar migration) [default: ""]
--soft-posts Import soft deleted posts
--soft-threads Import soft deleted threads
-h, --help Display help for the given command. When no command is given display help for the list command
-n, --no-interaction Do not ask any interactive question
Examples:
Migrate only users and avatars
> php flarum migrate-data:from-mybb --host=127.0.0.1 --user=homestead --password=secret --db=mybb --users --avatars --path=../mybb
Migrate everything (excluding avatars and soft deleted posts/threads)
php flarum migrate-data:from-mybb --host=127.0.0.1 --user=homestead --password=secret --db=mybb --users --groups --threads-posts
Migrate users with threads and posts including soft deleted threads but excluding soft deleted posts
php flarum migrate-data:from-mybb --host=127.0.0.1 --user=homestead --password=secret --db=mybb --users --threads-posts --soft-threads
There's also a new release coming up, which gives support for attachments - only possible if you have fof/upload installed.