While I asked how to upgrade my Mastodon instance which is still on Version 3.1.3 (https://bit.ly/3WJT6zz)and basically received no viable solution. I am now looking to back up my data and blast it so I can recreate a new instance using the most current droplet Digital Ocean has available. Is there a way to back up all user data in order to restore it to my new instance? Or, does anyone have any reason why all suggestions are not upgrading my instance to version 4.0.2? I created a 4 GB swap file before launching the upgrade. When I go through the steps one by one, they all seem to install fine. But when I reload my instance it is still on 3.1.3. Any help would be appreciated.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
As the 1-Click Mastodon instance comes with a Postgres database, you can use the
pg_dump
orpg_dumpall
to backup your database.It is actually also recomended to occasionally making a backup with
pg_dump
orpg_dumpall
.For more information, I could also suggest taking a look at the official Mastodon docs on how to backup your server:
https://docs.joinmastodon.org/admin/backups/
Hope that this helps!
Best,
Bobby