commit 7f44500593a4e67add85fe7bf4aac83f9bddb54b parent a0773767445e01fe3cc74204cd3f4fb875854317 Author: AndrewLockVI <andrew@laack.co> Date: Thu, 13 Feb 2025 22:55:39 -0600 Updated install script and backup to use rsync over ssh instead of sshfs which was clunky and inconsistent Diffstat:
| M | backupHelper.sh | | | 10 | +--------- |
| M | install.sh | | | 3 | --- |
2 files changed, 1 insertion(+), 12 deletions(-)
diff --git a/backupHelper.sh b/backupHelper.sh @@ -11,15 +11,7 @@ echo "BACKUP SIZE (BEFORE):" du -sh /home/serverBackup du -s /home/serverBackup - -if ! mount | grep "/mnt " > /dev/null; then - echo "MOUNTING SERVER TO REMOTE" - sshfs andrew@brgr.heron-peacock.ts.net:/home/shared/ /mnt/ -o reconnect -fi - -rsync -az /mnt/* /home/serverBackup -doas umount -l /mnt - +rsync -avzq -e ssh andrew@brgr.heron-peacock.ts.net:/home/shared/ /home/serverBackup/ echo "BACKUP SIZE (AFTER):" du -sh /home/serverBackup diff --git a/install.sh b/install.sh @@ -37,9 +37,6 @@ doas apk add rsync doas apk add python3 doas apk add py3-pip -# mount server -doas apk add sshfs - # Email Client doas apk add thunderbird