scripts

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit f2cb3c7eb17b9feb63ca616895b10a8fb4f1a3e2
parent 78fbbd3745c1df884031194f6b07fa305580236f
Author: AndrewLockVI <andrew@laack.co>
Date:   Sun,  9 Feb 2025 00:14:03 -0600

Updated scripts

Diffstat:
MbackupHelper.sh | 12++++++++++++
Minstall.sh | 8++++++--
2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/backupHelper.sh b/backupHelper.sh @@ -6,6 +6,12 @@ # This ensures in case there have been any issues with the mount it will remount it. echo "=== STARTING ===" date + +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 @@ -13,4 +19,10 @@ fi rsync -az /mnt/* /home/serverBackup doas umount -l /mnt + + +echo "BACKUP SIZE (AFTER):" +du -sh /home/serverBackup +du -s /home/serverBackup + echo "=== COMPLETED SUCCESSFULLY ===" diff --git a/install.sh b/install.sh @@ -30,8 +30,6 @@ doas apk add sshfs # window manager doas apk add sway -# tailscale -doas apk add tailscale # Email Client doas apk add thunderbird @@ -63,3 +61,9 @@ doas apk add firefox # LaTeX + filetype conversion doas apk add texmf-dist texlive doas apk add pandoc + + + +# tailscale +doas apk add tailscale +doas tailscale up