Mastodon Postgres Migration Notes – (File based) Export and Import

This is going to assume the new version is 18, and the database is called mastodon_production. Migration Stages Check Postgres pg_extension (Repack and other extensions) You can check if you used other extensions using this SQL on the old DB. NEWDB: New Cluster sudo pg_createcluster 18 techhubproduction -d /data/18/techhubproduction -- […]