From 71903d906bd4d2c17f5c839475d11c05abe8b959 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Thu, 24 Feb 2022 20:26:57 +0100 Subject: [PATCH] Create a backup on add-on auto update (#3464) --- supervisor/misc/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisor/misc/tasks.py b/supervisor/misc/tasks.py index 989902f0d..1a2eae233 100644 --- a/supervisor/misc/tasks.py +++ b/supervisor/misc/tasks.py @@ -146,7 +146,7 @@ class Tasks(CoreSysAttributes): # avoid issue on slow IO _LOGGER.info("Add-on auto update process %s", addon.slug) try: - await addon.update() + await addon.update(backup=True) except AddonsError: _LOGGER.error("Can't auto update Add-on %s", addon.slug)