docker-duplicity-cron/restore.sh

12 lines
187 B
Bash
Raw Normal View History

2017-06-29 06:28:48 +00:00
#! /bin/bash
set -e
duplicity restore \
--force \
2017-06-29 06:28:48 +00:00
--log-file /root/duplicity.log \
--name $BACKUP_NAME \
$OPT_ARGUMENTS \
$@ \
2017-06-29 06:28:48 +00:00
$BACKUP_DEST \
$PATH_TO_BACKUP