mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-21 08:06:30 +00:00
Create a backup on add-on auto update (#3464)
This commit is contained in:
parent
36f4e494a2
commit
71903d906b
@ -146,7 +146,7 @@ class Tasks(CoreSysAttributes):
|
|||||||
# avoid issue on slow IO
|
# avoid issue on slow IO
|
||||||
_LOGGER.info("Add-on auto update process %s", addon.slug)
|
_LOGGER.info("Add-on auto update process %s", addon.slug)
|
||||||
try:
|
try:
|
||||||
await addon.update()
|
await addon.update(backup=True)
|
||||||
except AddonsError:
|
except AddonsError:
|
||||||
_LOGGER.error("Can't auto update Add-on %s", addon.slug)
|
_LOGGER.error("Can't auto update Add-on %s", addon.slug)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user