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:
parent
2540b9f484
commit
0a3b3c1630
2 changed files with 2 additions and 0 deletions
|
@ -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 \
|
||||||
|
|
|
@ -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}" \
|
||||||
|
|
Loading…
Reference in a new issue