Add remote offload of completed backups to Hetzner Storage Box
Ships every completed backup off-box over WebDAV via rclone, verified by exact byte-size match before local retention or schedule rotation ever touches it. Fixes prune_orphans to skip confirmed-offloaded backups whose local copy was already purged (it previously hard-deleted their DB row, discarding the only pointer to the remote copy). Installs rclone in the Docker image and gitignores the container's rclone.conf location, which lives inside the bind-mounted repo root and holds live credentials. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XjW4qocnaJxhugUi5ca8Wo
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ FROM python:3.13-slim
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
curl ca-certificates \
|
||||
curl ca-certificates rclone \
|
||||
libglib2.0-0 libpango-1.0-0 libpangoft2-1.0-0 libharfbuzz0b libfontconfig1 \
|
||||
fonts-dejavu-core \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
Reference in New Issue
Block a user