- Go 73%
- TypeScript 16%
- Svelte 8%
- Shell 2%
- CSS <1%
- 4 more languages <1%
Backup.ist #
Backup your ATProto account at home with ease.
Your account — your posts, likes, follows, and the photos and videos in them — actually lives on a server somewhere (in ATProto that's called your PDS). Backup.ist keeps its own up-to-date copy at home, so if that server ever goes away you can move your account somewhere new without losing anything. You'll just need the recovery key you saved when you set the account up.
How it works #
Point it at one or more accounts and leave it running. Whenever you post or change something it gets a little nudge (from Bluesky's Jetstream) and quietly downloads a fresh copy of that account — your posts, and any new photos or videos — straight from its server. It also does a full check when it starts up, and again once a day, just in case.
Old and deleted posts don't linger: each update replaces the copy completely, so your backup always matches your account as it is now. A photo or video is only stored once even if several accounts share it, and anything no longer used is tidied away. It also routinely re-checks everything it's stored against its own fingerprint, and quietly re-downloads anything that's been damaged.
It's made to be left alone. If the connection drops it waits and tries again; it remembers where it got to; and it's gentle on the servers it talks to, so it won't get blocked for asking too often.
Getting started #
The easiest way is a ready-made SD card: pick your board at backup.ist/downloads/server, tell the page which accounts to back up, and it writes those settings into the image in your browser before you save it — nothing is uploaded, and the image it patches is checked against its published fingerprint first. Flash the result, put the card in, give it power and a network cable.
To change those settings later, put the card back in your computer and edit
config/backupist.yaml on it — the small partition that mounts on any laptop,
where every other setting lives too, each beside a file explaining what it
does. Reflashing to a newer release keeps what you put there.
To run it on a computer you already have, you'll need Go installed to build it. Then:
go build ./cmd/backupistd
cp backupist.example.yaml backupist.yaml # then edit it: where to save, and which accounts
./backupistd -config backupist.yaml
Press Ctrl-C to stop — it finishes what it's doing first. Add -v if you'd like to watch what it's up to.
The example file backupist.example.yaml explains every setting, but really you only need to say where to save your backups and which accounts to back up. If you mistype a setting it'll tell you, rather than quietly ignoring it.
Or with Docker #
docker run -d --name backupist -v ./backupist.yaml:/backupist.yaml:ro -v backupist-data:/data jphastings/backupist
Your config's storage_dir needs to be /data. The container runs as root, so a named volume or a bind-mounted host directory (like backupist-data above) is writable with no setup — which is also what platforms like Railway that hand a container its storage expect. There's nothing to publish with -p — backupistd reaches the outside world over iroh, which dials out rather than listening on a fixed port.
Where your backup lives #
Everything goes in the folder you chose, with a sub-folder for each account:
your-backup-folder/
blobs/ # every photo & video, stored once and shared between accounts
blocks/ # every account's posts, likes, follows…, stored once and shared between accounts
accounts/
<account>/
manifest.json # the list of what belongs to this account
state.json # bookkeeping
Posts, likes, and follows aren't kept as one big per-account file; they're broken into small, shared pieces in blocks/, so a single new post only costs the handful of pieces it actually touches rather than a whole fresh copy of everything. backupist export and backupist restore reassemble those pieces, together with the photos and videos in blobs/, into everything you'd need to set the account up again on a new server.