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
2018-07-24 15:38:22 +00:00
restore_snapshot=$1
2018-07-24 15:38:22 +00:00
restic \
-r $BACKUP_DEST \
$OPT_ARGUMENTS \
restore \
$restore_snapshot \
-t /