1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 04:19:03 +00:00

Exclude old log files from backup (#3307)

Currently log files are excluded from the backup. Core uses a time or
startup based log rotation mechanism, both append a dot and an
additional; string (`.1`, `.{timestamp}`). There is also a fault
mechanism which creates a log file with the ending `.log.fault`. Exclude
all cases from the backup.
This commit is contained in:
Stefan Agner
2021-12-28 17:40:32 +01:00
committed by GitHub
parent e0fd31c390
commit d8c934365a

View File

@@ -58,6 +58,7 @@ MAP_FOLDER_EXCLUDE = {
"*.db-shm",
"__pycache__/*",
"*.log",
"*.log.*",
"OZW_Log.txt",
]
}