Remove DB backups for containers on ZFS
Snapshots are a better backup
This commit is contained in:
parent
b47de7e70b
commit
2db72623ad
2 changed files with 0 additions and 30 deletions
|
@ -28,18 +28,3 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_PASSWORD=tt-rss
|
- POSTGRES_PASSWORD=tt-rss
|
||||||
- POSTGRES_USER=tt-rss
|
- POSTGRES_USER=tt-rss
|
||||||
|
|
||||||
db-backups:
|
|
||||||
image: prodrigestivill/postgres-backup-local:12-alpine
|
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
|
||||||
- /scratch/db-backups:/backups
|
|
||||||
depends_on:
|
|
||||||
- db
|
|
||||||
environment:
|
|
||||||
- POSTGRES_HOST=db
|
|
||||||
- POSTGRES_PASSWORD=tt-rss
|
|
||||||
- POSTGRES_USER=tt-rss
|
|
||||||
- POSTGRES_DB=tt-rss
|
|
||||||
- BACKUP_KEEP_MONTHS=1
|
|
||||||
- BACKUP_KEEP_WEEKS=1
|
|
||||||
|
|
|
@ -50,18 +50,3 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_PASSWORD=plausible
|
- POSTGRES_PASSWORD=plausible
|
||||||
- POSTGRES_USER=plausible
|
- POSTGRES_USER=plausible
|
||||||
|
|
||||||
db-backups:
|
|
||||||
image: prodrigestivill/postgres-backup-local:12-alpine
|
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
|
||||||
- /scratch/db-backups:/backups
|
|
||||||
depends_on:
|
|
||||||
- db
|
|
||||||
environment:
|
|
||||||
- POSTGRES_HOST=db
|
|
||||||
- POSTGRES_PASSWORD=plausible
|
|
||||||
- POSTGRES_USER=plausible
|
|
||||||
- POSTGRES_DB=plausible
|
|
||||||
- BACKUP_KEEP_MONTHS=1
|
|
||||||
- BACKUP_KEEP_WEEKS=1
|
|
||||||
|
|
Loading…
Reference in a new issue