create_task: add --cache-path (avoids restic --no-cache slowness); v0.1.0

This commit is contained in:
2026-07-08 01:14:19 -04:00
parent e8ff607234
commit 8a66c85a7e
3 changed files with 32 additions and 1 deletions
+5
View File
@@ -205,9 +205,14 @@ python3 /mnt/tank/truenas-truecloud-patch/patch/create_task.py \
--bucket my-bucket \
--folder backups/tank \
--password "restic-repo-password" \
--cache-path /mnt/tank/.restic-cache \
--keep-last 14
```
> **Always pass `--cache-path`.** Without it TrueNAS runs restic with `--no-cache`,
> which re-fetches all repo metadata from the provider every run — glacially slow
> on large repos. Point it at a writable dir on a pool with free space.
Get an API key from **System → API Keys → Add**.
---