Our backupscript for automated server backups via cronjob
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
183 B

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