restic: drop the vhpbot database hook
/opt/vhpbot-prod/bot.db is an empty directory that Docker created for a bind mount whose file never existed; the bot keeps no database there. The hook could only fail and mark every nightly run as failed. Assisted-by: Claude:opus-5-5
This commit is contained in:
parent
2aca0d7669
commit
e5b4f00094
1 changed files with 0 additions and 1 deletions
|
|
@ -27,5 +27,4 @@ restic_pre_hooks:
|
||||||
- docker exec storage-postgres pg_dump -U postgres -Fc asxpio > "$STAGE/asxpio.dump"
|
- docker exec storage-postgres pg_dump -U postgres -Fc asxpio > "$STAGE/asxpio.dump"
|
||||||
- docker exec storage-garage /garage meta snapshot --all
|
- docker exec storage-garage /garage meta snapshot --all
|
||||||
- sqlite3 /opt/forgejo/data/gitea/gitea.db ".backup '$STAGE/forgejo-gitea.db'"
|
- sqlite3 /opt/forgejo/data/gitea/gitea.db ".backup '$STAGE/forgejo-gitea.db'"
|
||||||
- sqlite3 /opt/vhpbot-prod/bot.db ".backup '$STAGE/vhpbot-prod.db'"
|
|
||||||
restic_schedule: "*-*-* 03:30:00"
|
restic_schedule: "*-*-* 03:30:00"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue