docker-duplicity-cron/verify.sh

13 lines
263 B
Bash
Raw Normal View History

2017-06-29 01:12:49 +00:00
#! /bin/bash
2020-02-14 20:12:07 +00:00
set -euf
2017-06-29 01:12:49 +00:00
2020-02-14 20:12:07 +00:00
# Intentionally not wrapping OPT_ARGUMENTS
# shellcheck disable=SC2086
2017-06-29 06:28:48 +00:00
duplicity verify \
--compare-data \
--log-file /root/duplicity.log \
2020-02-14 20:12:07 +00:00
--name "$BACKUP_NAME" \
2017-06-29 06:28:48 +00:00
$OPT_ARGUMENTS \
2020-02-14 20:12:07 +00:00
"$BACKUP_DEST" \
"$PATH_TO_BACKUP"