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}" \