From 031d647864143bd71336d45b0eb5de2cd507db3a Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Mon, 24 Jan 2022 07:26:03 +0100 Subject: [PATCH] bundles/openhab: do full backup in backup-pre-hooks --- bundles/openhab/metadata.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bundles/openhab/metadata.py b/bundles/openhab/metadata.py index 13094a3..e029a6f 100644 --- a/bundles/openhab/metadata.py +++ b/bundles/openhab/metadata.py @@ -26,6 +26,13 @@ defaults = { '/var/lib/openhab', }, }, + 'backup-client': { + 'pre-hooks': { + 'openhab': [ + '/usr/share/openhab/runtime/bin/backup --full', + ], + }, + }, }