Commit Graph

5 Commits

Author SHA1 Message Date
ducoterra
7c90ddc5ae Add logging and error handling to backup script
Add much needed logging and error handling to make sure backups happen
more consistently.
2022-02-04 13:49:31 -05:00
ducoterra
672371887c Add open_backup.sh
Add open_backup, a script to mount the encrypted backup drive created in
arch_backup.
2022-02-04 13:49:02 -05:00
ducoterra
f3ce93554d arch_backup major fixes
1. Don't automount disks (dconf changes) this breaks backups
2. Rewrite the entire backup script to handle mounting, decrypting,
   many use cases, etc
3. Update main.yaml to not create mount location for backup drive,
   script will handle it
2022-02-03 12:34:54 -05:00
ducoterra
b315d6a043 Don't send backup fail as critical alert
Critical alerts don't seem to timeout. Don't send critical alerts.
2022-02-02 09:29:27 -05:00
ducoterra
8abfbcf561 Fix issues where cryptsetup would fail to unmount
There were occasions where removing the backup drive would confuse luks
and prevent re-mounting. This fixes the issue by attempting to luks
close and open the drive before mounting, thereby correcting any issues
where the drive would stick.
2022-02-01 20:25:26 -05:00