Files
vaultik/internal/snapshot
sneak f0c30c9fba
check / check (push) Successful in 14m1s
Count each file, byte and upload once in backup statistics (closes #225)
The scanner added a changed file's bytes again for each new chunk and
counted a file as unchanged for each chunk already stored. It now
counts files and bytes once, in the scan phase, and counts its own
uploads, so a --cron run, which has no progress reporter, records
them. The blob count no longer adds earlier paths' blobs again.

The snapshots row now stores the size of all files in total_size and
the referenced blobs' sizes in blob_size, blob_uncompressed_size and
compression_ratio, as docs/DATAMODEL.md says; snapshot_blobs is filled
before the stats for that. DATAMODEL.md now says chunk_count and
blob_count count what the run added.

Removed the uncalled UpdateSnapshotStats, which stored bytes uploaded
in blob_size.

Model: opus-5-5
2026-10-06 20:45:09 +00:00
..