Moving media storage to S3 – how to migrate existing local files?
-
Hi!
The media cache of my Mastodon installation is growing to big for my VPS. I'm considering moving the media storage to S3 instead of upgrading to a larger VPS. But I can't find any instructions on how to migrate the existing local files (that is the ones me and the other users on my instance has uploaded) to S3. Anyone who has made this and can share how?
-
I seem to recall that there may be tools out there to help this, but your googling will turn up whatever that was just as quick as mine.
I would say that I tried doing this myself, twice, and by the second time I decided to handle it manually. That is, I downloaded and saved (I know, I should have done better saving the originals) the various graphics my site used, as well as my list of contacts, etc., and then re-uploaded them to the new location, then relinked them from within Mastodon. The first time the migration didn't work, there was no one who could help, and it was just quicker to do it manually. All the graphics connected to other users were eventually repopulated anyway, and anything I had wanted previously I had downloaded and saved. So, in a way, there wasn't a need to migrate anything. Good luck.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login