1
Fork 0
mirror of https://github.com/Steffo99/backup-duplicity.git synced 2024-12-22 03:34:17 +00:00

Make actions explicit

This commit is contained in:
Steffo 2024-10-25 03:09:24 +02:00
parent 2540b9f484
commit 0a3b3c1630
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
2 changed files with 2 additions and 0 deletions

View file

@ -21,6 +21,7 @@ if [ -n "${NTFY}" ]; then
fi fi
duplicity \ duplicity \
backup \
--allow-source-mismatch \ --allow-source-mismatch \
--full-if-older-than "${DUPLICITY_FULL_IF_OLDER_THAN}" \ --full-if-older-than "${DUPLICITY_FULL_IF_OLDER_THAN}" \
/mnt \ /mnt \

View file

@ -9,6 +9,7 @@ export PASSPHRASE=$(cat "${DUPLICITY_PASSPHRASE_FILE}")
echo "Launched in restore mode, restoring backup..." >> /dev/stderr echo "Launched in restore mode, restoring backup..." >> /dev/stderr
duplicity \ duplicity \
restore \
--force \ --force \
--allow-source-mismatch \ --allow-source-mismatch \
"${DUPLICITY_TARGET_URL}" \ "${DUPLICITY_TARGET_URL}" \