From 95a33239934f2e015a062c48db495c5b22db9a54 Mon Sep 17 00:00:00 2001 From: szaimen Date: Mon, 27 Jun 2022 12:49:19 +0200 Subject: [PATCH] allow to change the backup path again if the initial backup was not successful Signed-off-by: szaimen --- php/templates/containers.twig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/php/templates/containers.twig b/php/templates/containers.twig index 173f7337..662f003f 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -306,6 +306,15 @@

Backup and restore

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

+ {% 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.

+
+ + + + +
+ {% endif %} {% elseif backup_exit_code == 0 %} {% if borg_backup_mode == "backup" %} Last {{ borg_backup_mode }} successful on {{ last_backup_time }} UTC! (Logs)