New ansible role papanito.backup
Posted February 1, 2022 by Adrian Wyssmann ‐ 2 min read
While using borg since a long, I recently decided to move to restic. As for that I have created a new ansible role
I currently backup my systems onto a Hetzner Storage Box, which have a fair pricing. But as I plan to extend my workload, I also need more backup storage. The “problem” with Hetzner Storage Box is, they offer only tiers of 100 GB, 500 GB, 1 TB, 2 TB, 5 TB and 10 TB. I currently use 2 TB but this is soon running out. While the next step would be 5 TB, by doubling the price - which is still a fair price - I will pay for 3 TB which I will probably not use in this year.
Googling around, Backblaze seems a very good choice as it offers not only Personal Backup, but also B2 Cloud Storage. While Personal Backup seems a very nice choice for your personal backup, there is unfortunately no Linux client available.
However, for backing up my servers and also my personal data, I choose to use B2 Cloud Storage. Looking at the pricing offers much more space if required and is slightly cheaper than a Hetzner Storage Box. The pricing does not really make a huge difference, as Hetzner Storage Box has some download traffic included. The advantage of Backblaze over Hetzner Storage Box is - at least for me - you pay what you need.
When it comes to the backup tool - working on Linux - I use borg as my favoritr, as it’s just a great tool. It allows me easily to backup my stuff on a Hetzner Storage Box. For that reason I made an ansible role papanito.borg which allows me to easily setup borg on any of my systems. But now, as I want to switch to Backblaze, borg has no integration for Backblaze I have decided to switch to restic, as it offers native integration with Backblaze B2 storage, as well as many others. The usage is similar to borg, so the switch should be easy.
The ansible role
Have a look and let me know what you think. More details can be found at