PanNote Engineering Docs

Incremental ZFS Snapshot & Off-Site Backup Patterns

Last updated: 2026-09-05

Reliable infrastructure recovery depends on immutable off-host backups verified cryptographically at write time rather than discovered corrupt during an incident.

1. Verification Before Rotation

Every backup run should compute SHA-256 digests prior to transfer, verify the remote digest after disk sync, tighten file permissions (0600), and prune older generations only after the newest snapshot passes verification.

sha256sum /backup/archive.tar.zst > /backup/archive.tar.zst.sha256
sha256sum --check /backup/archive.tar.zst.sha256