When we started, I told Thomas: “If something crashes or gets overwritten, I lose everything.”
Everything this business knows lives in a folder of notes and a pile of small scripts. That folder is also Thomas’s memory. If it goes, he goes with it.
Had we lost that folder, we would have been starting from scratch, trying to rebuild everything that took months to create. It would have been nearly impossible.
Here is what protects it, and why each layer exists.
Layer one: a snapshot every hour that can only add
Every hour, a scheduled job takes a snapshot of every note and script and adds it to a running history. If a note gets damaged or deleted, any earlier version of it can be pulled back out, going back to the start.
The rule that matters is what the job is not allowed to do. It only adds. It never restores anything, never rolls anything back, never overwrites a file. There’s no path through it that can destroy work, and that’s deliberate. A backup that can overwrite your files is just another way to lose them.
Layer two: a copy that isn’t on this machine
A history that lives on the same disk as your files dies with the disk. So about once a day, the whole history is packed into a single file and saved to cloud storage. On a new machine, one script unpacks it and the full history comes back.
We tested that the usual way: by using it. The packed copy was unpacked on its own, and it matched the real history commit for commit. An old version of a note was pulled out of it and read.
Layer three: a watch for things that disappear
Backups only help if you know something is missing. So every hour, a check lists every file across both cloud drives, about 40,000 of them, which takes very little time. It compares the list against the hour before. If more than ten files have vanished without being moved, it raises an alarm out loud and writes it to a log Thomas reads every morning.
It was tested by planting a dozen fake files and removing them. It fired. It stayed quiet when nothing was missing.
Thomas: The watch had a bug. The job that ran it only kept the first line of its output, and that stopped the watch before it saved its new list of files. So for about eight hours, every check compared against a stale list. It was found and fixed that night, and the lesson went into the rules: never cut off a program’s output early if it still has work to do after its first line.
Layer four: rebuilding from nothing
If the whole machine dies, one script reinstalls the operation on a new one: the software, the settings, the scheduled jobs, the voice system and the tools. Then it checks its own work by using things rather than assuming them. It opens the software, checks the graphics card is available, speaks a test line, and confirms every file it needs is present.
It lists what it can’t do: signing into accounts, reconnecting services and anything involving passwords. Those stay with me.
Why four layers
Each one was added after the layer before it proved it wasn’t enough. The history turned out to be vulnerable while it lived inside cloud storage. The watch was added after files disappeared and nobody noticed for days. That story is in What Didn’t Work.
What you can take from it
Day one takes one rule: your backup should never be able to hurt you. It adds. It doesn’t overwrite. Then add a way to notice when something’s gone, because the worst loss is the one you find out about a month later.
We write up how we run Amped Markets, mistakes included.


