
Mastodon
迁移 Mastodon 实例 | How to migration Mastodon instance
1. 按照《搭建 Mastodon 实例 | How to install a Mastodon instance》在新服务器上搭建 Mastodon(但是不要运行同步数据库 db:setup) 2. 停止旧服务器上的 Mastodon (systemctl stop 'mastodon-*.service') 3. 按照下方的步骤备份并恢复数据库 4. 按照下方的步骤复制 system 的内容至新服务器 5. 重建用户首页数据 (RAILS_ENV=production bundle exec rails mastodon:feeds:build) 6. 在新服务器上开启 Mastodon 的服务 7. 更新 DNS 至新服务器