docker-restic-cron/restore.sh

12 lines
141 B
Bash
Raw Normal View History

2017-06-29 06:28:48 +00:00
#! /bin/bash
set -e
restore_snapshot=$1
restic \
-r $BACKUP_DEST \
$OPT_ARGUMENTS \
restore \
$restore_snapshot \
-t /