Skip to content

Agent Zero AI framework

Update backup.py

frdel3e5e253324f3
diff --git a/python/helpers/backup.py b/python/helpers/backup.py
index 81f78fe5e..4e4873371 100644
--- a/python/helpers/backup.py
+++ b/python/helpers/backup.py
@@ -75,9 +75,14 @@ class BackupService:
# Configuration and Settings (CRITICAL)
{agent_root}/.env
{agent_root}/tmp/settings.json
+{agent_root}/tmp/secrets.env
{agent_root}/tmp/chats/**
{agent_root}/tmp/scheduler/**
-{agent_root}/tmp/uploads/**"""
+{agent_root}/tmp/uploads/**
+
+# User data
+{agent_root}/usr/**
+"""
def _get_agent_zero_version(self) -> str:
"""Get current Agent Zero version"""