Sooner or later every forum owner asks the same question: “Is my current platform more than I actually need?” Maybe the server is overprovisioned. Maybe the upgrade path is getting painful. Maybe you are the only person maintaining a stack of services that used to have a team.

Migration is the answer — and the scariest word in community management. This is a practical plan for moving to a simpler stack without losing threads, links or people.

When migration is worth it

Migrate when the cost of staying exceeds the cost of moving. Clear signals:

  • You run services (database, cache, search) that nobody on the team actively maintains.
  • Updates are deferred because they feel risky.
  • Your hosting bill is sized for a platform, not for your actual traffic.
  • The feature set far exceeds what your community uses.

Do not migrate just because a comparison post ranked something higher. Migration is disruptive, and “new” is not the same as “better for you”.

What you are really moving

A forum is not just posts. Capture all of it before you start:

  • Users and their roles
  • Categories/forums and their hierarchy
  • Threads and posts, with authorship and timestamps
  • Attachments and avatars
  • Private messages, if you keep them
  • Permissions and moderation history
  • URLs — the part everyone forgets

That last item is the one that quietly hurts: old links from search engines and other sites break if you don’t map them.

Step 1 — Audit the source

Whichever platform you are leaving, find out where the data lives and how it is shaped.

  • Discourse stores everything in PostgreSQL. A logical dump is your raw material, but the schema is normalized and opinionated.
  • phpBB, MyBB and SMF use MySQL/MariaDB (phpBB also supports PostgreSQL, SQLite and others). Their schemas are well documented and widely understood.
  • Flarum uses MySQL/MariaDB and is built on Laravel components, so it brings the conventions you’d expect from that ecosystem.

The goal of the audit is a table map: source table → target table, source column → target column, and the transformations between them (time zones, BBCode, HTML, slugs).

Step 2 — Export to a neutral format

This is the key decision. Instead of writing a direct source-to-target importer, export to a neutral structure and import from that. A simple JSON or SQL intermediate with users, categories, threads, posts and attachments lets you re-run the import safely while you iterate.

Keep original IDs in a side table. You will need them for redirects.

Step 3 — Build the import deliberately

There is no universal one-click importer for every source/target pair. Expect to write a small, well-tested script. On bulletinbored, the clean approach is a plugin that registers its own admin-only route and writes through PDO inside a transaction:

<?php
// plugins/migrate/plugin.php

function migrate_run(PDO $pdo, array $batch): void
{
    $pdo->beginTransaction();
    try {
        foreach ($batch['posts'] as $post) {
            // map and insert, preserving author and timestamps
        }
        $pdo->commit();
    } catch (Throwable $e) {
        $pdo->rollBack();
        throw $e;
    }
}

Guidelines that save you pain:

  • Run it in batches. Import 500 posts, verify, continue.
  • Wrap each batch in a transaction. No half-imported threads.
  • Preserve timestamps and authorship. “Migrated by admin on Tuesday” destroys context.
  • Normalise content once. Convert BBCode to HTML (or the reverse) in a dedicated step, then verify a sample by eye.
  • Make it idempotent. Upsert by original ID so a failed run can be retried.

Step 4 — Test on staging, with real data

Never point a migration at production first. Clone the database, run the import, and then check the things that break silently:

  • Pagination and counts
  • Search results
  • Attachments and avatars
  • Permissions for each role
  • Login and password reset
  • Private messages

Then ask two or three trusted users to click around. They will find what you missed.

Step 5 — Handle URLs

Build a redirect map from old permalinks to new ones. Keep it as a simple old → new list and serve it with a 301 rule. This preserves:

  • Search engine rankings
  • Links from other sites and social posts
  • Bookmarks your members rely on

If your new platform produces different slugs, redirect by old ID rather than by title — IDs are stable, titles are not.

Step 6 — Cut over with a rollback plan

  1. Announce a maintenance window and post it everywhere.
  2. Put the old forum in read-only mode if the platform supports it.
  3. Take a full backup of the old database and files.
  4. Run the final import (only the delta since your last test).
  5. Switch DNS or the web root.
  6. Smoke-test: login, post, upload, search.
  7. Keep the old system reachable, read-only, until you’re confident.

Have a written rollback step. “Restore the backup and point DNS back” should be a sentence you can execute without thinking.

Step 7 — Watch the first two weeks

After the move:

  • Monitor error logs daily.
  • Export the 404s and add any missing redirects.
  • Ask for feedback in a dedicated thread — not scattered across categories.
  • Resist the urge to re-import old edge cases; fix what people actually hit.

Choosing the destination

If the reason you’re migrating is operational simplicity, pick a destination whose footprint matches your hosting. A forum that needs less to run is easier to keep patched, backed up and understood. That is the design goal of bulletinbored: plain PHP, SQLite or MySQL, no Composer and no external services.

Migration is a project, not a button. Plan it in stages, keep the old system until the new one has earned trust, and protect your URLs. Do that, and your community will barely notice the move — which is exactly the goal.