lvm-backup/prune.sh

11 lines
183 B
Bash
Executable file

#!/bin/bash
cd $(dirname $0)
# read configuration variables
source config.sh
export RESTIC_PASSWORD=${BACKUP_PASSWORD}
$RESTIC --repo $URI $QUIET prune "$@"
unset RESTIC_PASSWORD