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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user