|
|
@ -19,11 +19,11 @@ |
|
|
|
# 0.2.0 |
|
|
|
PURPOSE="SYSTEM" |
|
|
|
TARGET_HOST="" |
|
|
|
LOCATION="/tank/borg/" |
|
|
|
LOCATION="/tank/borg" |
|
|
|
BORG_REPO="${HOSTNAME}" |
|
|
|
ARC_NAME="${HOSTNAME}+${USER}:$(date +"%Y%m%dT%H%M%S")" |
|
|
|
BORG_COMMENT="Automated \"${PURPOSE}\" backup to repository \"${BORG_REPO}\" at \"${TARGET_HOST}${LOCATION}\" issued $(date +"%Y-%m-%dT%H:%M:%S")." |
|
|
|
BORG_OPTS="--keep-within 31d" |
|
|
|
BORG_OPTS="--keep-within 15d" |
|
|
|
LOGFILE_LOCATION="/tmp" |
|
|
|
LOGFILE="borg-${PURPOSE}_$(date +"%Y%m%dT%H%M%S").log" |
|
|
|
export BORG_RELOCATED_REPO_ACCESS_IS_OK=yes |
|
|
|