docker-duplicity-cron/verify.sh
2020-02-14 12:12:07 -08:00

13 lines
263 B
Bash
Executable File

#! /bin/bash
set -euf
# Intentionally not wrapping OPT_ARGUMENTS
# shellcheck disable=SC2086
duplicity verify \
--compare-data \
--log-file /root/duplicity.log \
--name "$BACKUP_NAME" \
$OPT_ARGUMENTS \
"$BACKUP_DEST" \
"$PATH_TO_BACKUP"