Watch
0
0
Fork
You've already forked hyperhive
0

swarm-archive: back up every agent's state to an append-only restic repository per agent

swarm-archive serves restic repositories with rclone, append-only, one login
and one repository per agent. swarm-controller writes each placed agent's
login and restic password to the store, replaces them on a move and removes
them when the agent is destroyed. Every hive backs its agents up hourly under
its own store identity. The archive host prunes by retention.
This commit is contained in:
atlas 2026-11-10 07:49:49 +01:00
commit 306aae0378

View file

@ -139,6 +139,14 @@ in
&& deployCfg.bao.atticClientKeyFile != null
);
# The backup archive, on the same terms: its units log in to the store as the
# archive's own principal.
config.services.hyperhive.deploy.archive.enable = lib.mkDefault (
deployCfg.allSwarmServices
&& deployCfg.bao.archiveClientCertFile != null
&& deployCfg.bao.archiveClientKeyFile != null
);
# The claude login minter, defaulted on the same terms as the review
# classifier.
config.services.hyperhive.deploy.claude-login.enable = lib.mkDefault (