Commit Graph

27 Commits

Author SHA1 Message Date
b16c4d7330 Support recovery by setting up an existing repo 2024-07-01 14:24:28 -04:00
c68b867b50 Add notes about host ID 2021-11-16 10:11:08 -05:00
7dea155f58 use python3 when getting UUID 2021-11-16 09:55:58 -05:00
342e2cd0e8 Update README 2021-10-26 16:03:52 -04:00
b74f9c75a2 initial-setup: fix --update 2021-10-26 15:55:32 -04:00
9b38c248d8 borg: add ARM binary for Pi; update scripts to use it 2021-10-26 15:50:08 -04:00
dc7d72b2da initial-setup: make systemd units restart on failure 2021-10-26 13:24:28 -04:00
a15cb5b07d all: remove concept of read-write key
We don't need a read-write key: we can just SSH directly to
jim-backups@backup.jim.sh instead and run commands thay way.
Remove read-write key and document it in the README.

Also add some tools to update the README variables on updates.
2021-10-19 14:46:34 -04:00
b1748455a0 setup: add pipenv check 2021-10-17 21:16:52 -04:00
d413ea3b82 setup: prevent pager in systemctl list-timers 2021-10-17 21:03:15 -04:00
1beda9d613 setup: pick host-dependent start time 2021-10-17 09:26:41 -04:00
42edd0225d setup: fix bitwarden entry name 2021-10-16 19:21:09 -04:00
d1d561cb70 setup: allow hostname to be overridden 2021-10-16 18:48:43 -04:00
6066188ef1 vars: remove duplicate host_id 2021-10-16 09:45:50 -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
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
6830daa2b1 prune: save password in an SSH agent, and compact after pruning
Since we want to run two commands, use a temporary SSH agent
to hold the key, so that the user only has to enter the password
once.
2021-10-14 15:34:10 -04:00
69bfecd657 borg: include borg binary in repository
Put our own binary in here, so we can keep it updated with local
patches more easily.  Also add build instructions.
This one is built from
https://github.com/borgbackup/borg/pull/6011
2021-10-14 13:26:24 -04:00
0af42b8217 Fix shebang line after setup 2021-10-13 15:15:00 -04:00
e72564436c Update git setup 2021-10-13 14:46:25 -04:00
74e9e82117 Change to borg dir for setup 2021-10-13 14:42:24 -04:00
e82d40bbfb Fix some exclude/include path issues; misc setup improvements 2021-10-13 14:38:47 -04:00
0f56415493 Use actual file blocks rather than apparent size; doc updates 2021-10-11 23:30:53 -04:00
0039ca1ee0 Implement filesystem scanning with configurable filters 2021-10-11 16:50:08 -04:00
6978cfc012 Continue reworking towards local copy of borg, etc 2021-10-11 12:34:57 -04:00
883f984aef Restructure things; we will clone this repo directly on each client 2021-10-08 16:08:03 -04:00