From 3c40abbb60b69663fd107910a011c9194d607249 Mon Sep 17 00:00:00 2001 From: Simon L Date: Sat, 10 Dec 2022 18:00:33 +0100 Subject: [PATCH] make more clear what to do when borg check fails Signed-off-by: Simon L --- php/templates/containers.twig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php/templates/containers.twig b/php/templates/containers.twig index 33d9cf1b..d95e150f 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -111,7 +111,7 @@ {% if borg_backup_mode == 'test' %} Please adjust the path and/or the password in order to make it work!

{% elseif borg_backup_mode == 'check' %} - The backup archive seems to be corrupt. Please try to use a different intact backup archive or try to fix it by following this documentation + The backup archive seems to be corrupt. Please try to use a different intact backup archive or try to fix it by following this documentation {% endif %} {% elseif backup_exit_code == 0 %} Last {{ borg_backup_mode }} successful! (Logs)

@@ -328,6 +328,9 @@

Backup and restore

{% if backup_exit_code > 0 %} Last {{ borg_backup_mode }} failed! (Logs)

+ {% if borg_backup_mode == "check" %} + The backup archive seems to be corrupt. You can try to fix it by following this documentation

+ {% endif %} {% if has_backup_run_once == false %} You may change the backup path again since the initial backup was not successful. After submitting the new value, you need to click on 'Create Backup' for testing the new value.