From df117bcfc8f6ed16d842418833a1095bebd6bace Mon Sep 17 00:00:00 2001 From: Bryan Date: Sun, 1 Nov 2020 10:29:27 -0600 Subject: [PATCH] remove from git deleted files --- src/config.example | 76 ---------------------------------------------- src/install | 24 --------------- 2 files changed, 100 deletions(-) delete mode 100644 src/config.example delete mode 100755 src/install diff --git a/src/config.example b/src/config.example deleted file mode 100644 index 751b08a..0000000 --- a/src/config.example +++ /dev/null @@ -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="@:/srv/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}" -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 -#) diff --git a/src/install b/src/install deleted file mode 100755 index 4c0ebe5..0000000 --- a/src/install +++ /dev/null @@ -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