dots

git clone git://mattcarlson.org/repos/dots.git
Log | Files | Refs

commit ec3fe74fc588902dfdecd09e5a474099ae671919
parent df6fc9ab52ff7d2980bc4fcab8bf373db71e02d9
Author: Matthew Carlson <matt@mattcarlson.org>
Date:   Fri,  9 Feb 2024 14:55:51 -0500

full system backup

Diffstat:
M.config/transmission-daemon/settings.json | 6+++---
M.local/bin/backup.sh | 2+-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.config/transmission-daemon/settings.json b/.config/transmission-daemon/settings.json @@ -31,11 +31,11 @@ "peer-id-ttl-hours": 0, "peer-limit-global": 65535, "peer-limit-per-torrent": 65535, - "peer-port": 62979, + "peer-port": 61408, "peer-port-random-high": 65535, "peer-port-random-low": 49152, "peer-port-random-on-start": true, - "peer-socket-tos": "default", + "peer-socket-tos": "le", "pex-enabled": true, "port-forwarding-enabled": true, "preallocation": 2, @@ -74,7 +74,7 @@ "tcp-enabled": true, "torrent-added-verify-mode": "fast", "trash-original-torrent-files": false, - "umask": 0, + "umask": "000", "upload-slots-per-torrent": 0, "utp-enabled": true } diff --git a/.local/bin/backup.sh b/.local/bin/backup.sh @@ -10,7 +10,7 @@ main() { if df | grep -q "${BACKUP_DIR}"; then [ ! -e "${LOG}" ] && touch "${LOG}" # shellcheck disable=SC3009 - rsync -aAXHv --delete --exclude={"/*bin","/dev/","/lib*","/lost+found/","/mnt/","/opt/","/proc/","/root/","/run/","/srv/","/sys/","/tmp/","/usr/","/var/","/*.wants/"} --exclude="media/" / "${BACKUP_DIR}" + rsync -aAXHv --delete --exclude={"/mnt/","/proc/","/sys/"} --exclude="media/" / "${BACKUP_DIR}" printf '%s\n' "${stamp} - System backup complete." >> "${LOG}" else printf '%s\n' "${stamp} - ${BACKUP_DIR} is not a mount point. Not backing up system." >> "${LOG}" fi