I'm running 1.141.1 via Docker Compose on a Debian testing host.
I noticed that my database backups directory looks like:
$ ls -l /mnt/TANK/IMMICH/backups
...
-rw-r--r-- 1 root root 0 Aug 29 19:00 immich-db-backup-20250830T020000-v1.139.4-pg14.19.sql.gz.tmp
-rw-r--r-- 1 root root 0 Aug 30 21:39 immich-db-backup-20250831T043903-v1.140.1-pg14.19.sql.gz.tmp
-rw-r--r-- 1 root root 0 Sep 6 10:17 immich-db-backup-20250906T171756-v1.140.1-pg14.19.sql.gz.tmp
-rw-r--r-- 1 root root 0 Sep 9 11:02 immich-db-backup-20250909T180230-v1.141.1-pg14.19.sql.gz.tmp
-rw-r--r-- 1 root root 0 Sep 9 13:02 immich-db-backup-20250909T200247-v1.141.1-pg14.19.sql.gz.tmp
The string db-backup doesn't appear in either my immich_server or immich_postgres logs.
The following works:
docker exec -t immich_postgres pg_dumpall --clean --if-exists --username=postgres | gzip > /mnt/TANK/IMMICH/backups/dump.sql.gz
I'm running the backups via a cron job, but this seems like something I should be able to troubleshoot. Let me know how I can help!
.