Backups: skip system dir lost+found
Some checks failed
Linting / YAML Lint (push) Failing after 8s
Linting / Ansible Lint (push) Successful in 15s

This commit was merged in pull request #1.
This commit is contained in:
2025-12-20 11:22:24 +03:00
parent dcc4970b20
commit 4fbe9bd5de

View File

@@ -67,7 +67,7 @@ class BackupManager:
source_dirs = applications_path.iterdir() source_dirs = applications_path.iterdir()
for app_dir in source_dirs: for app_dir in source_dirs:
if app_dir == "lost+found": if "lost+found" in str(app_dir):
continue continue
if app_dir.is_dir(): if app_dir.is_dir():
try: try: