borgwrapper/config

79 lines
1.8 KiB
Plaintext

######################################################################
## SET THE FOLLOWING TO "TRUE" WHEN YOU HAVE CONFIGURED THIS FILE ####
######################################################################
CONFIGURED="FALSE"
#############################
if [ "${CONFIGURED}" != "TRUE" ]; then
echo "Config file has not been set up."
exit 1
fi
# Beginning of configuration:
#############################
#BORG=$(which borg)
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://<user>@<reposerver>:<ssh_port>/srv/borg/${SYSTEM_NAME}"
BORG_PASSPHRASE="uD6Db2MrhxdCoKmD4gpW"
PACKAGE_LIST_DIRECTORY="/srv/dumps/"
MYSQL_DUMP_DIRECTORY="/srv/dumps/"
MONGODB_DUMP_DIRECTORY="/srv/dumps/"
PATHS=(
"/etc"
"/home"
"/root"
"/srv"
"/usr/local"
"/var/spool/cron/crontabs"
)
EXCLUDES=(
"sh:/home/**/.cache"
"/root/.cache"
"*.pyc"
)
KEEP_HOURLY=0
KEEP_DAILY=31
KEEP_WEEKLY=0
KEEP_MONTHLY=12
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.
# You can use K, M, G or T binary prefixes (power of 1024), e.g., 5M = 5MiB/s = 5242880 bytes/s.
#BWLIMIT=0
# Location of borgwrapper lock files
#LOCKDIR="/run/lock/borgwrapper"
# You can add args, such as a custom identity key file, to ssh here
#BORG_RSH="ssh"
# Optional arguments to the different borg commands.
# The current default values are listed. Modify if needed.
#BORG_CREATE_ARGS=(
# --info
# --stats
# --list
# --filter AME
# --compression lz4
#)
#BORG_PRUNE_ARGS=(
# --info
# --stats
# --list
#)
#BORG_CHECK_ARGS=(
# --info
#)
#BORG_INIT_ARGS=(
# --encryption repokey-blake2
#)