Add archive_timeout=600 to force WAL archiving every 10 minutes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-07 16:03:54 +01:00
co-authored by Claude Opus 4.6
parent a307141068
commit 7808dc8288
+2
View File
@@ -22,6 +22,8 @@ services:
- archive_mode=on - archive_mode=on
- -c - -c
- archive_command=test -f /backup/wal/%f || cp %p /backup/wal/%f - archive_command=test -f /backup/wal/%f || cp %p /backup/wal/%f
- -c
- archive_timeout=600
postgres-backup: postgres-backup:
image: postgres:18 image: postgres:18