add example pg_backup.sh script

This commit is contained in:
2024-10-24 17:03:02 +02:00
parent 49dd989302
commit 826bec925f
2 changed files with 35 additions and 1 deletions

View File

@ -192,7 +192,7 @@ services:
backupbot.backup.pre-hook: "/pg_backup.sh backup"
backupbot.backup.volumes.db.path: "backup.sql"
backupbot.restore.post-hook: '/pg_backup.sh restore'
backupbot.backup.volumes.redis: false
backupbot.backup.volumes.redis: "false"
```
- `backupbot.backup` -- set to `true` to back up this service (REQUIRED)