Compare commits

..

15 Commits

Author SHA1 Message Date
f70bffed37 misc: ignore .venv dir 2021-10-16 09:37:04 -04:00
979dfd892f backup: revert to catching fewer exceptions
We specifically don't want to catch BrokenPipeError; just list
file-related ones that we might expect to see if we hit bad
permissions, disk errors, or race conditions.
2021-10-16 09:37:04 -04:00
ab6dce0c2c borg: update binary to fix upstream bug 6009 2021-10-16 09:37:04 -04:00
aff447c1b6 notify: fix notify.sh to work with server side; adjust text 2021-10-16 09:37:03 -04:00
f7e9c3e232 borg.sh: only try ssh keys, not password authentication 2021-10-16 09:37:03 -04:00
d168c5bf54 backup: catch all OSError exceptions while accessing files
We might see these if files change during the scan, for example.
2021-10-16 09:37:03 -04:00
31d88f9345 backup: print final results and run notification script on error 2021-10-16 09:37:03 -04:00
ccf54b98d7 backup: fix archive name
Was overly quoted from when this was a shell script
2021-10-16 09:37:03 -04:00
59ad2b5b4d backup: capture borg output for later reporting 2021-10-16 09:37:03 -04:00
0c74f1676c backup: add bold option to log(); simplify logic 2021-10-16 09:37:03 -04:00
5e06ebd822 backup: change some warnings into errors 2021-10-16 09:37:03 -04:00
929a323cf0 notify: add ssh key for running remote notifications; add notify.sh 2021-10-16 09:37:03 -04:00
86bb72f201 setup: fix borg path in initial connection test 2021-10-16 09:37:03 -04:00
54437456ae prune: use new vars.sh 2021-10-16 09:37:03 -04:00
c7a6d08665 initial-setup: generate vars.sh instead of borg.sh; commit borg.sh
Put setup-time variables into a generated vars.sh, and put borg.sh
directly into the repo.
2021-10-16 09:36:56 -04:00

12
vars.sh
View File

@ -1,12 +0,0 @@
export BACKUP_USER=jim-backups
export BACKUP_HOST=backup.jim.sh
export BACKUP_REPO=borg/basis
export HOSTNAME=basis
export BORG_REPO="ssh://jim-backups@backup.jim.sh/./borg/basis"
export BORG_HOST_ID=basis.bacon@91300097352395
export BORG_PASSCOMMAND="cat /opt/borg/passphrase"
export BORG_DIR=/opt/borg
export SSH=/opt/borg/ssh
export BORG=/opt/borg/borg.sh
export BORG_BIN=/opt/borg/Borg.bin