mirror of
https://github.com/home-assistant/core.git
synced 2025-04-19 14:57:52 +00:00
Ignore dangling symlinks when restoring backup (#136893)
This commit is contained in:
parent
708ae09c7a
commit
1b5316b269
@ -146,6 +146,7 @@ def _extract_backup(
|
||||
config_dir,
|
||||
dirs_exist_ok=True,
|
||||
ignore=shutil.ignore_patterns(*(keep)),
|
||||
ignore_dangling_symlinks=True,
|
||||
)
|
||||
elif restore_content.restore_database:
|
||||
for entry in KEEP_DATABASE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user