@me バックアップ方法はリリースノートに書いてあるように、
Upgrade notes:
As always, make sure you have backups of the database before performing any upgrades. If you are using docker-compose, this is how a backup command might look:
docker exec mastodon_db_1 pg_dump -Fc -U postgres postgres > name_of_the_backup.dump
ですね。
sudo頭につけたりdockerがdocker-composeじゃないかなとかちょっとした違いありそうだけど