postgres backup on umbrel
I am using immich on umbrel (latest available there). How do I backup manually the database part, so I can reinstall the app on a fresh umbrel?
I have tried on the umbrel shell:
docker exec -t immich_postgres pg_dumpall -c -U postgres | gzip > "/path/to/backup/dump.sql.gz"
And got:
this doesn't work: Error: No such container: immich_postgres
2 Replies
You'll need to ask the umbrel folks, we don't know anything about how that works
I’f you’re using Immich from Umbrel, I believe you need to use
immich_postgres_1
as the container name.
For some unknown reason they use _1
at the end of any of the container’s name created on Umbrel..😅