Default backup encryption to true when updating only location retention (#143997)

This commit is contained in:
Jan-Philipp Benecke
2025-04-30 23:45:41 +02:00
committed by GitHub
parent ba712ed514
commit 93f4f14b2a

View File

@@ -202,7 +202,7 @@ class BackupConfig:
if agent_id not in self.data.agents:
old_agent_retention = None
self.data.agents[agent_id] = AgentConfig(
protected=agent_config.get("protected", False),
protected=agent_config.get("protected", True),
retention=new_agent_retention,
)
else: