remove from git deleted files

dev
Bryan 2020-11-01 10:29:27 -06:00
parent e0fbe5d737
commit df117bcfc8
2 changed files with 0 additions and 100 deletions

View File

@ -1,76 +0,0 @@
######################################################################
## 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="/usr/bin/borg"
SYSTEM_NAME="name-of-computer"
BORG_REPO="<user>@<reposerver>:/srv/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="longandcomplexpassphrase"
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=24
KEEP_YEARLY=5
# 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
#)

View File

@ -1,24 +0,0 @@
#! /bin/bash
cp -i ./borgwrapper /usr/local/bin/borgwrapper
chown root. /usr/local/bin/borgwrapper
chmod 750 /usr/local/bin/borgwrapper
if [ ! -d /etc/borgwrapper/ ]; then
mkdir /etc/borgwrapper
fi
if [ ! -e ./config ]; then
echo "Please rename \"config.example\" to \"config\""
echo "And make sure to update with your settings before running \"install\" again!"
exit 1
fi
cp -i ./config /etc/borgwrapper/config
chown root. /etc/borgwrapper/config
chmod 600 /etc/borgwrapper/config
echo
echo "Please edit \"/etc/borgwrapper/config\" to make changes to configuration."
echo "Read \"README.md\" for more information."
echo