Backups with restic

Source code repository

This outlines how to set up backups to B2 (Backblaze) using restic. It isolates configuration data and credentials, and uses systemd for the scheduling. I’m not going to justify any of the decisions, except to say that Backblaze is a great service, and is both extremely cost effective and easy to use with restic, as restic has built-in support for it.

Backups with restic are pretty easy, but it may save someone some time if I document my configuration.

This outlines how to set up backups to B2 (Backblaze) using restic. It isolates configuration data and credentials, and uses systemd for the scheduling. I’m not going to justify any of the decisions, except to say that Backblaze is a great service, and is both extremely cost effective and easy to use with restic, as restic has built-in support for it.

At the end of this, you’ll have encrypted, automated backups in the cloud.

Most of the value is in having everything cleanly separated, with the configuration in separate files, hiding credentials, and creating the service descriptions. Setting up Backblaze and running restic are anticlimactically trivial.

I hope that this can save someone a little time.