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:
parent
409e7ee5a0
commit
306aae0378
1 changed files with 2214 additions and 5 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Reference in a new issue