sys

git clone git://mattcarlson.org/repos/sys.git
Log | Files | Refs

commit 0c4a08a34c053563a9c6d2b2b2d82ed4377aaeb2
parent 51508d6510c817e06ebeec949da33d15f0ce1d59
Author: Matthew Carlson <matt@mcarlson.xyz>
Date:   Tue,  7 Sep 2021 23:39:06 -0400

added backup drive that is encrypted, with automated backups

Diffstat:
Metc/crontab | 8+++++---
Aetc/crypttab | 1+
Metc/fstab | 3+++
3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/etc/crontab b/etc/crontab @@ -1,3 +1,5 @@ -0 * * * * su -c '. ${HOME}/.profile; /home/${USER}/.local/bin/bar/mail.sh -g' mc -0 * * * * su -c '. ${HOME}/.profile; /home/${USER}/.local/bin/bar/pkgs.sh -g' mc -0 * * * * su -c '. ${HOME}/.profile; /home/${USER}/.local/bin/bar/rss.sh -g' mc +0 12 * * * su -c '/home/mc/.local/bin/backup.sh' +0 * * * * su -c '. ${HOME}/.profile; /home/${USER}/.local/bin/bar/mail.sh -g' mc +0 * * * * su -c '. ${HOME}/.profile; /home/${USER}/.local/bin/bar/pkgs.sh -g' mc +0 * * * * su -c '. ${HOME}/.profile; /home/${USER}/.local/bin/bar/rss.sh -g' mc +0 12 * * * su -c '. ${HOME}/.profile; /home/${USER}/.local/bin/vultr.sh' mc diff --git a/etc/crypttab b/etc/crypttab @@ -0,0 +1 @@ +backup UUID=1685e173-11a0-4616-ab04-aa426ea4434f /etc/backup.key nofail diff --git a/etc/fstab b/etc/fstab @@ -3,3 +3,6 @@ UUID=a138ad72-8bbd-4429-81dd-352ffc067ea4 / ext4 rw,relatime 0 1 # boot UUID=B08A-2AB6 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2 + +# backup +UUID=387f839f-ca68-4984-a902-b7f0bdb60b11 /mnt/backup ext4 nofail 0 2