diff options
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/backups/assimilate | 10 |
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 |
| 49 | check_rc $? | 49 | check_rc $? |
| 50 | 50 | ||
| 51 | # Backup home partition | ||
| 52 | sudo $SUDO_OPTS borg create $CREATE_OPTS \ | ||
| 53 | "/mnt/$LOCATION-backup/$(hostname)::home-{now:%Y-%m-%d}" /home 2>>$LOG | ||
| 54 | check_rc $? | ||
| 55 | |||
| 56 | # Backup var partition | ||
| 57 | sudo $SUDO_OPTS borg create $CREATE_OPTS \ | ||
| 58 | "/mnt/$LOCATION-backup/$(hostname)::var-{now:%Y-%m-%d}" /var 2>>$LOG | ||
| 59 | check_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" \ |
