v0.9.2: add manifest repair
pipeline / test (push) Has been cancelled
pipeline / build (push) Has been cancelled

This commit is contained in:
Ein Anderssono
2026-06-15 02:32:20 +02:00
parent bed3ea7bd0
commit 84e70bda76
7 changed files with 235 additions and 8 deletions
+9
View File
@@ -838,6 +838,15 @@ Deep-verify checksum-backed manifests:
`--deep` recomputes SHA-256 only for manifest entries that already have checksum metadata.
Repair missing manifest metadata from files already present on disk:
```bash
./bin/photoscli manifest repair --out ./PhotosBackup --checksum sha256 --dry-run
./bin/photoscli manifest repair --out ./PhotosBackup --checksum sha256
```
Repair fills missing size/checksum metadata and skips missing, zero-byte, or unreadable files.
## Safe Operating Practices
- Run `--dry-run` before the first large backup.