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:
@@ -22,6 +22,8 @@ services:
|
||||
- archive_mode=on
|
||||
- -c
|
||||
- archive_command=test -f /backup/wal/%f || cp %p /backup/wal/%f
|
||||
- -c
|
||||
- archive_timeout=600
|
||||
|
||||
postgres-backup:
|
||||
image: postgres:18
|
||||
|
||||
Reference in New Issue
Block a user