SSQZ/atlasDocs
Reference

Integrity and safe restores

SQZ is built so that a restore either gives you back exactly what you stored, or stops and tells you why. It never overwrites your files and never leaves half-written output.

Every layer is checked#

WhatCheckWhen
IndexBLAKE3 over the compressed indexBefore it is parsed
BlockThe codec's own check (zstd, xz, CRC-32 for SQCM) and its exact lengthWhen it is decoded
Piece (chunk)Full 256-bit BLAKE3 over the rebuilt bytesEvery time one is read
FileSize and BLAKE3 over the final original bytesAfter any transform is undone

sqz t runs all of these without writing anything.

Corruption detection, not tamper-proofing

A .sqz archive detects accidental damage. It is not encrypted or signed: someone who wants to can rewrite an archive and its checksums consistently. For encryption and authentication, use SQZ Backup.

Nothing is overwritten#

Publishing under the real name uses a hard link, which is why the destination drive must support hard links. On one that does not, extraction fails safely instead of falling back to something weaker.

Checks before writing#

Extraction looks at the destination before writing anything: existing entries, names that would merge on a drive that ignores letter case, names Windows cannot create, and free space. If any would be a problem, it stops with one error naming up to five paths, and writes nothing. See the full list.

Safe with hostile archives#

How this is tested#