summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Chudnick <sam@chudnick.com>2022-06-16 21:20:08 -0400
committerSam Chudnick <sam@chudnick.com>2022-06-16 21:20:08 -0400
commitc090ce58a2fd1edfbdefd756e18bf2f2296d8a4a (patch)
treec13d7edc5b7d422ab2f8384534e1e638cf9ae3d9
parent3b279ef824063842af6d5098485aa4541b33cbef (diff)
Updated for new partition scheme
Updated script for new partition scheme. Removed backups for partitions that no longer exist.
-rwxr-xr-x.local/bin/backups/assimilate10
1 files changed, 0 insertions, 10 deletions
diff --git a/.local/bin/backups/assimilate b/.local/bin/backups/assimilate
index dea18d3..fd6ed7f 100755
--- a/.local/bin/backups/assimilate
+++ b/.local/bin/backups/assimilate
@@ -48,16 +48,6 @@ sudo $SUDO_OPTS borg create $CREATE_OPTS \
48 "/mnt/$LOCATION-backup/$(hostname)::boot-{now:%Y-%m-%d}" /boot 2>>$LOG 48 "/mnt/$LOCATION-backup/$(hostname)::boot-{now:%Y-%m-%d}" /boot 2>>$LOG
49check_rc $? 49check_rc $?
50 50
51# Backup home partition
52sudo $SUDO_OPTS borg create $CREATE_OPTS \
53 "/mnt/$LOCATION-backup/$(hostname)::home-{now:%Y-%m-%d}" /home 2>>$LOG
54check_rc $?
55
56# Backup var partition
57sudo $SUDO_OPTS borg create $CREATE_OPTS \
58 "/mnt/$LOCATION-backup/$(hostname)::var-{now:%Y-%m-%d}" /var 2>>$LOG
59check_rc $?
60
61# Send notifications based on return codes of archives 51# Send notifications based on return codes of archives
62 52
63[ $WARNING -eq 1 ] && notify-send "One or more archives produced a warning" \ 53[ $WARNING -eq 1 ] && notify-send "One or more archives produced a warning" \