The backup doc from Immich states that one should use Postgres’ dump functionality to backup the database, as well as copy the upload location.
Is there any counter indication to doing this instead:
- Create a dir
immich
with subdirsdb
andlibrary
- Mount the
db
dir as a volume for the database - Mount the
library
dir as a volume for the upload location - Backup the whole
immich
dir without dumping the Postgres db. (Stop Immich while before doing this)
They do have a doc for this. https://immich.app/docs/administration/backup-and-restore/
I dump my immich db weekly and every 2 weeks sync the media folders to a remote destination