Closed Yumega closed 2 months ago
version: '2'
services:
postgres:
image: postgres
restart: always
environment:
- POSTGRES_DB=database
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=h666p2
pgbackups:
image: prodrigestivill/postgres-backup-local
restart: always
user: postgres:postgres
volumes:
- /mnt/sdb1/immich/pgbackups:/backups
links:
- postgres
depends_on:
- postgres
environment:
- POSTGRES_HOST=postgres
- POSTGRES_DB=database
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=h666p2
- POSTGRES_EXTRA_OPTS=-Z1 --schema=public --blobs
- SCHEDULE=@weekly
- BACKUP_KEEP_DAYS=5
- BACKUP_KEEP_WEEKS=2
- BACKUP_KEEP_MONTHS=4
- HEALTHCHECK_PORT=8085
did you wait for a full week or tried with a lower SCHEDULE
?
did you wait for a full week or tried with a lower
SCHEDULE
?
thank you, it works now
no file backuped, the container logs