Repository to automate my backups
This repo uses just as a nicer alternative to Make.
Other requirements:
- Borg: Backup software (really impressed by it).
- Backblaze: An account to store offsite backups.
- Terraform: Create backblaze bucket.
- Pipx / b2:
Python API for interacting with backblaze (TODO: Evaluate
rclone
, I've heard good things).
First step is to set up the secrets in .env
. Use .env.example
as a source.
Then, just offsite-create
will create a bucket in backblaze to store your backups,
with a random name.
And just backup
will create the backup, prune old backups and push it to backblaze.
It doesn't get much simpler than that.
I still need to finish this steps before calling this project done:
- Automated tests: A backup is not a backup until is tested.
- Running automatically: Currently thinking some systemd cron/startup job.