From e5b4f000945d76e44ea44d4424eb6e0a548ed57f Mon Sep 17 00:00:00 2001 From: Sergei Poljanski Date: Thu, 12 Nov 2026 21:22:34 +0400 Subject: [PATCH] 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 --- ansible/inventory/host_vars/asxpio-ops.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/ansible/inventory/host_vars/asxpio-ops.yaml b/ansible/inventory/host_vars/asxpio-ops.yaml index 7aa3f06..089e44e 100644 --- a/ansible/inventory/host_vars/asxpio-ops.yaml +++ b/ansible/inventory/host_vars/asxpio-ops.yaml @@ -27,5 +27,4 @@ restic_pre_hooks: - docker exec storage-postgres pg_dump -U postgres -Fc asxpio > "$STAGE/asxpio.dump" - docker exec storage-garage /garage meta snapshot --all - 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"