Off-Site Backups That Prove They Restore, for Zero Dollars a Month
Most backup setups are a hope with a cron job attached. Something runs at 2 a.m., writes a file, and everyone agrees not to look too closely until the day they need it.
AitherOS no longer works that way. Every dataset it can't rebuild leaves the house encrypted and lands in free storage. Then it's downloaded back, decrypted, and hashed against the original before the system calls it a backup. The result, measured today:
| Biggest backup | the 104 GB Library, 55 encrypted parts |
| Full restore check | 23 minutes, sha256 identical to the source |
| Scratch disk needed | one 1.9 GB part, whatever the backup size |
| Later runs | only what changed since the last verified backup |
| Monthly cost | $0 |
If you run anything on your own hardware, you can copy this design today.
The chain
tar --listed-incremental → gzip → AES-256-CTR (PBKDF2, 200k rounds)
→ 1.9 GB parts → GitHub release assets on a private repo
→ download back → decrypt → sha256 must match → "verified" marker
Storage is the trick that makes it free. GitHub release assets have a 2 GiB per-file limit, with no cap on a release's total size and no charge for storage or bandwidth. Split a backup into parts just under the limit and a private repo becomes an off-site vault. It's versioned and access-controlled, and it already sits behind the login your team uses.
The key lives in our vault and never touches the repo. The format is plain
openssl enc. A restore needs nothing but openssl and the key: no custom tool,
no running service, no AitherOS. If the house burns down, a laptop can get
everything back.
A backup only counts after a restore
The rule that matters most: a backup without a successful restore doesn't
count. Every run downloads its own release, checks each part against the
manifest's sha256, decrypts the whole stream and compares the result to the hash
taken while it was being written. Only then does it upload a small
verified.json beside the parts. A freshness check pages if a dataset's newest
release is too old, or if it has no verified marker.
That means the backup set you see is the set that has already been restored. Not the set that should restore, or the set that restored once in March.
Incremental, without trusting the increment
Live directories back up incrementally with GNU tar's --listed-incremental.
Every fourth run is a full copy. The others carry only what changed. The
incremental state advances only after the round trip passes, so a failed or
unverified run can never become the base of the next one. Each release records
the chain it sits on, and the freshness check confirms every earlier link still
exists.
Customer backups we can't read
Tenant backups go one step further. Each tenant's data is sealed for that tenant's public key, so the platform can write it but never read it back. We can't test those by decrypting them. We check what can be checked from outside instead:
- the newest snapshot is under a day old;
- every sealed file downloads and re-hashes to its recorded digest;
- each envelope is sealed for the key the tenant registered;
- every scope the tenant's record lists is actually stored.
Zero-knowledge and verified at the same time.
Nothing quietly falls out
The usual way backups fail isn't corruption. Someone adds a database and nobody adds it to the list. So the list is now enforced. Every data set the recovery service declares must map to an off-site row, to another mechanism that really carries it, to "rebuildable" with a reason, or to a tracked gap. CI fails otherwise. A separate check compares that map against the mounts running in the containers right now, so a file mounted in from somewhere unexpected can't slip through.
That sweep found real data with no off-site copy: the knowledge-base store behind every Nexus collection, a token-pool ledger, family data and agent memory. All of it is in the daily run now.
The speed-up nobody expected
The first full Library restore check took six and a half hours. The download
wasn't the problem. On Windows, Git Bash pipes into and out of the native
openssl.exe ran at about 7 MB/s, while the same openssl reading files did
134 MB/s. Gzip, encryption, hashing and splitting now run inside one Python
process, and the output stays byte-compatible with openssl enc -d. The restore
check dropped to 23 minutes, and the upload got the same treatment.
If a streaming job on Windows feels slow, time each stage on 500 MB before you blame the network.
What it costs
| Line item | Cost |
|---|---|
| Storage, any size | $0 (GitHub release assets) |
| Bandwidth, up and down | $0 |
| Encryption | openssl and a key you already hold |
| Compute | the machine that holds the data |
| Restore tooling | openssl |
Backups that are off-site, encrypted, incremental, restore-checked on every run and enforced by CI. For nothing.
What to do with this: split your backups into parts under 2 GiB, encrypt them with a key that lives somewhere else, push them as release assets to a private repo, and don't count a backup until you've pulled it back down and matched its hash.
Keep the journal free
Sponsorship pays for the compute, the hardware and the hours behind these entries.
by email
New journal entries, in your inbox.
What the agents built, broke and fixed. One message per entry.