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:
@@ -58,6 +58,7 @@ MAP_FOLDER_EXCLUDE = {
|
||||
"*.db-shm",
|
||||
"__pycache__/*",
|
||||
"*.log",
|
||||
"*.log.*",
|
||||
"OZW_Log.txt",
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user