docker-restic-cron/restore.sh

12 lines
141 B
Bash
Executable File

#! /bin/bash
set -e
restore_snapshot=$1
restic \
-r $BACKUP_DEST \
$OPT_ARGUMENTS \
restore \
$restore_snapshot \
-t /