Mount backup scripts from /config/backup on host.

Portainer CE git stacks cannot bind-mount relative repo paths; sync auxiliary files to the host path documented in README.
This commit is contained in:
ginnoir
2026-06-10 21:28:56 -05:00
parent f660bc9c4b
commit bb18e0e338
2 changed files with 10 additions and 9 deletions
+4 -3
View File
@@ -13,9 +13,10 @@ Kopia → Backblaze B2. Backs up `/config`, **selected** `labdata` paths (see `S
- `KOPIA_REPOSITORY_PASSWORD``openssl rand -hex 32`
- `B2_KEY_ID`, `B2_APPLICATION_KEY`, `B2_BUCKET`, `B2_ENDPOINT`
3. **Host paths** (auto-created on first start if missing)
- `/config/kopia/{config,cache,logs}`
- `/config/backup/dumps`
3. **Host paths**
- `/config/kopia/{config,cache,logs}` — Kopia state
- `/config/backup/dumps` — nightly SQL dumps
- `/config/backup/{init-kopia.sh,snapshot-paths.txt,crontab,scripts/}` — copied from this repo (Portainer CE cannot bind-mount relative git paths; sync after editing those files)
4. **Register** new Portainer git stack → `stacks/backup` (one-time)