Performing the migration¶
The gist of it:
- Set up the new Pleroma server
- Copy the
pleroma
folder into your Pleroma repo (merge them) - Copy the
mastodon
folder into your Mastodon repo (merge them) - Shut down Mastodon
- Perform the export on the Mastodon server (
rake migrator:export
) - While this runs, point your domain name DNS to the new server
- Copy the exports from the Mastodon server to the Pleroma server
- Perform the import (
mix migrator.import
) - ???
- Profit
You can skip steps 4 & 6 to test this without downtime. I highly recommend you do so. Don't expect this to work the first time. Verify the exports manually.
See the do_migration.sh
script for ideas about making it reproducible.