I want to migrate my docker mastodon instance from one VPS to another VPS.
1 GB RAM
Mastodon 2.7.1 as docker containers + nginx container
I used this guide to install my instance:
My new VPS:
8 GB RAM
Ubuntu Server 18.04.1 LTS
I tried to copy the mastodon folder to the new VPS with the
I tried to dump the db from the old VPS with both commands:
- docker exec -t mastodon_db_1 pg_dumpall -c -U postgres > dump.sql
- docker exec mastodon_db_1 pg_dump -Fc -U postgres postgres > db_backup.dump
but I fail to import the dump to the new instance.
Can someone tell me how to migrate between docker instances?