From 0a3b3c16303a0ef469c16a59e81ff6ffa5746f39 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 25 Oct 2024 03:09:24 +0200 Subject: [PATCH] Make actions explicit --- backup.sh | 1 + restore.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/backup.sh b/backup.sh index 0c30b1e..66e098d 100755 --- a/backup.sh +++ b/backup.sh @@ -21,6 +21,7 @@ if [ -n "${NTFY}" ]; then fi duplicity \ + backup \ --allow-source-mismatch \ --full-if-older-than "${DUPLICITY_FULL_IF_OLDER_THAN}" \ /mnt \ diff --git a/restore.sh b/restore.sh index 9259cdd..5ccb499 100755 --- a/restore.sh +++ b/restore.sh @@ -9,6 +9,7 @@ export PASSPHRASE=$(cat "${DUPLICITY_PASSPHRASE_FILE}") echo "Launched in restore mode, restoring backup..." >> /dev/stderr duplicity \ + restore \ --force \ --allow-source-mismatch \ "${DUPLICITY_TARGET_URL}" \