Important for Grokbot users (and really this can apply to any similar cloud-based agent setup like Muse or Dots, although the details will vary):
BACKUP YOUR BOTS!
Here's a cheap $5/mo setup if you want to copy it. The bonus is that you get a bunch of cloud storage that you can use for other purposes as well. Better than relying on free services imo.
Storage is Hetzner Storage Share, their managed Nextcloud: 1 TB for $5/mo. The bot gets its own Nextcloud user with an app password, a storage quota and a private backup folder, so it never touches my main account.
restic makes encrypted, de-duplicated, compressed snapshots and sends them to Nextcloud over WebDAV through rclone. Credentials exist only as environment variables at runtime, never in a config file. The restic password is a long random one, with a copy of it kept in my password vault for safekeeping.
The backup covers the bot's workspace, agent data, skills and chat logs. The bots' live memory sits on the provider's servers, not the agent workspace, so each bot runs a routine an hour before the backup to export its own memory, routines and profile to text. Databases get snapshotted first so they're consistent.
Saved secrets like tokens, cookies and logins stay out of it. Those are only restored by logging in again from a checklist, and a secrets scan keeps out any file that looks like it holds a key. (Even encrypted, secrets don't belong in a backup!)
There are a few guardrails:
The backup refuses to run if the file count or total size drops more than 30%, so a wiped computer can't push an empty backup over good ones.
It alerts if the backup store grows past 25 GB or one night adds more than 2 GB.
It keeps 7 daily, 4 weekly and 6 monthly snapshots.
To prove it works, a routine does a test restore on the 1st of every month. A small rebuild kit sits unencrypted next to the repo, with a tool list, a reinstall script and a re-login checklist, so a rebuild doesn't depend on anything on the computer itself.
Hope that helps!