lvm-backup/prune.sh

12 lines
183 B
Bash
Raw Permalink Normal View History

2017-08-24 23:27:49 +02:00
#!/bin/bash
2017-10-28 11:06:02 +02:00
cd $(dirname $0)
2017-08-24 23:27:49 +02:00
# read configuration variables
source config.sh
export RESTIC_PASSWORD=${BACKUP_PASSWORD}
2017-08-26 09:55:02 +02:00
$RESTIC --repo $URI $QUIET prune "$@"
2017-08-24 23:27:49 +02:00
unset RESTIC_PASSWORD