diff --git a/config b/config index e0135f1..ea9fe4e 100644 --- a/config +++ b/config @@ -13,10 +13,10 @@ fi # Beginning of configuration: ############################# -#BORG="/usr/bin/borg" +#BORG=$(which borg) -SYSTEM_NAME="ths" -BORG_REPO="bryan@172.16.1.83:/srv/borg/${SYSTEM_NAME}" +SYSTEM_NAME="frameless" +BORG_REPO="ths.tnet.space:/mnt/data/borg/${SYSTEM_NAME}" # If using a non-standard SSH port ssh:// have to be specified (per borg v1.0.9) #BORG_REPO="ssh://@:/srv/borg/${SYSTEM_NAME}" @@ -33,7 +33,6 @@ PATHS=( "/srv" "/usr/local" "/var/spool/cron/crontabs" - "/mnt" ) EXCLUDES=( "sh:/home/**/.cache" @@ -44,7 +43,7 @@ KEEP_HOURLY=0 KEEP_DAILY=31 KEEP_WEEKLY=0 KEEP_MONTHLY=12 -KEEP_YEARLY=5 +KEEP_YEARLY=0 # Limit bandwith used when backing up to SSH repositories. Requires the utility `pv`. # The unit is bytes per second. 0 means no limit. The numeric part must be an integer value. diff --git a/install b/install index addb987..356d7ef 100755 --- a/install +++ b/install @@ -1,8 +1,8 @@ #! /bin/bash -cp -i ./src/borgwrapper /usr/local/bin/borgwrapper -chown root. /usr/local/bin/borgwrapper -chmod 750 /usr/local/bin/borgwrapper +cp -i ./src/borgwrapper /usr/bin/borgwrapper +chown root. /usr/bin/borgwrapper +chmod 750 /usr/bin/borgwrapper if [ ! -d /etc/borgwrapper/ ]; then mkdir /etc/borgwrapper