On October 20 I found out my notes hadn’t been backed up for 35 days.
I wasn’t looking for it. I’d asked Claude, the AI assistant I work with, to review a few open-source tools, and the first finding wasn’t about any of them. The last successful backup from my notes to my own server was at 02:00 on September 15. Every night after that, the job had run on schedule and written the same line to an error log: “You have not agreed to the Xcode license agreements.”
The backup runs on Git, the tool that records my files’ history and pushes a copy to the server. On my Mac, Git comes with Apple’s developer tools. Those tools wanted a license accepted, and until someone typed one command, Git refused to run. Nobody typed it, because nobody knew.
On October 22 I accepted the license and ran the backup by hand. It pushed 294 files.
The files themselves were fine. They were still on the laptop and still syncing. But on September 26, water came into the ground floor of my house in Bangkok, and I left for a hotel the next day. By then the copy on my server was eleven days out of date, and nothing had told me.
What bothered me was that it went unnoticed for 35 days.
I’d already fixed this backup once.
The first time, in July
My notes are Markdown files in an iCloud-synced folder. That’s boring, and it’s the point. They open in almost anything and aren’t tied to one app.
Sync isn’t backup. iCloud can replicate a deletion as efficiently as an edit. So underneath I keep a history layer: a Git repository that pushes to Forgejo, a self-hosted Git service, on a server I run. On July 13 I scheduled it for 02:00 every day. The snapshot I ran that day captured 154 changed files. I tested it by hand in a terminal. It passed, and I considered it done.
At 02:00 on July 14 the job ran exactly on schedule and did nothing. The backup command returned Operation not permitted. Nothing was saved, nothing was sent, and nothing told me. It failed the same way the next night.
macOS grants protected-file access per application. A script launched from a terminal inherits the terminal’s permissions. The same script launched by the system scheduler has no terminal, so the notes folder was invisible to it. My test had proved the script worked with me watching. The only condition that mattered was the unattended one, and I hadn’t tested it.
The fix was a small dedicated program the operating system could grant access to. I counted it as fixed only after the real 02:00 run on July 16 saved a new snapshot and pushed it.
The lesson I took was too small
I came out of July with a clean rule: test automation in the context that will run it. I still think that rule is right.
It didn’t save me in September, because the job had passed that test. It ran unattended for two months. Then something underneath it changed, and it stopped.
A passing run tells you about that night and nothing about the next one. What I was missing in July, and didn’t see, was any way to find out. The job reported its own failure faithfully, every night, to a file I never opened.
On September 5 I’d published a piece about whether I could leave my software. It listed this route as my remote copy and said recovery needed a separate check. Ten days later the route broke.
The bill isn’t only money
The same server runs Git hosting and more than a dozen other personal services. The monthly bill is low. That’s the number people quote when they compare self-hosting with subscriptions.
The less visible cost sat on my task list.
On July 31 a check of my setup found the access key for one of those services sitting in plain text in a settings file. Deleting it from the file didn’t cancel the key, and cancelling it kept sliding to the next day’s list. It took six days. First I cleaned the key out of my backups and added a scan that blocks any backup containing one. Then I cancelled the key and deleted the service along with it, because removing it was cheaper than building a safer way to keep it.
None of those steps was hard, and neither was accepting a license. They were fifteen-minute jobs with no one else on the rota.
When a vendor holds your data, noticing that the backup stopped is someone’s salaried job. When you hold it, that job is yours, and nothing reminds you it exists unless you build the reminder.
What I’d still tell someone
Move the files first. Plain text in a folder you control gives you the most benefit for the least upkeep. Every Markdown tool can read the notes tomorrow, and no vendor decision changes that.
Be more careful with the layer underneath. “Reclaim ownership of your data” undersells the agreement. You reclaim the data and inherit the operations, the backup and its credentials included. The failures don’t go away when you stop paying someone. They get quieter.
I’m not moving back. The notes are mine in a way they weren’t before. But I can’t say the setup is finished. I still have one backup route, and it has now failed silently twice. I don’t have a second one yet.
The one thing I’ve added is a way to notice. Since November 10, when I open a Claude session in my notes, a line warns me if the last successful push is two or more days old. It’s narrow: it only runs when I sit down to work, on the machine that does the backup. But the error log needed me to go looking, and this doesn’t.