Follow

媒体数据迁移 

1. 清除多余的文件;

docker-compose run --rm web tootctl media remove --days=30 # 清除超过30天的跨站媒体
docker-compose run --rm web tootctl statuses remove --days=30 # 清除没有互动超过30天的跨站嘟文
tootctl preview_cards remove --days=14
tootctl media remove-orphans
docker-compose run --rm web tootctl media usage # 查看占用情况

2. 迁移数据;

类似这篇文章:
stanislas.blog/2019/11/object-

rclone copy aws:bucket1 scaleway:bucket2 --progress --transfers 50 --checkers 50

3. 重启 Mastodon。

PS: 以上命令耗时较长,建议使用 screen 操作。

Sign in to participate in the conversation
ACG.MN

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!