Yes, portability is one of our priorities. You can request an encrypted archive of your instance and restore it to your own Mastodon server or another hosting provider.
In the archive, you will find:
Uploaded media is not included as it is usually the heaviest part, but you can also migrate it from information included in the mastodon_env.txt file. It can be done using s3cmd or minio client:
./mc config host add maass3 https://objects.fr1.maas.network AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY --lookup path
./mc mirror maass3/S3_BUCKET/ /home/mastodon/live/public/system/
This method can be used to get the files locally, or directly transfer them to another S3-compatible object storage. Replace AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and S3_BUCKET by their value in your mastodon_env.txt.