snapshotter

Hard links still beat block-level dedup on small servers

2026-08-14 · Notes on choosing the simplest storage format that could work.

Every few months someone asks why snapshotter does not use a chunked, block-level deduplicating store like the big backup tools. For a fleet, those are the right answer. For one VPS with 20 GB of disk they bring a format you cannot read without the tool, a repository that must be checked and repaired, and memory use that grows with the number of chunks.

Hard links give file-level dedup for free, and a snapshot is a normal directory: ls, grep and cp -a are the restore tools. What you lose is dedup inside large files that change a little — database dumps and VM images. For those, the docs recommend dumping with --rsyncable compression or keeping them out of snapshots altogether.

Numbers from one box

A 2 GB web server, hourly snapshots for 24 hours, daily for 7, weekly for 4: 35 snapshots use 2.6 GB on disk, about 30% over a single copy.