My backup scripts and tools
Go to file
2021-08-13 15:32:36 -04:00
borg-setup.sh Finish first version of script 2021-08-13 15:32:36 -04:00
Makefile Finish first version of script 2021-08-13 15:32:36 -04:00
README.md Finish first version of script 2021-08-13 15:32:36 -04:00

Design

  • On bucket, we have a separate user account "jim-backups". Password for this account is in bitwarden.

  • Repository keys are repokeys, with passphrases saved on clients and in bitwarden.

  • Each client has two SSH keys: one for append-only operation (no pass) and one for read-write (password in bitwarden)

  • Pruning requires the password and is a manual operation (run sudo /opt/borg/prune.sh)

  • Systemd timers start daily backups

Usage

Run borg-setup.sh on a client