Transform your Raspberry Pi into a Apple Time Capsule

This is a short guide (and reminder for myself) how to add a Samba share as target for macOS Time Machine. I found some blog posts about how to do this, but most of the time the author created a new disk on the share 1 2. This seems like a rather unusual complicated setup to do backups and there are products like the Apple Time Capsule, that works via network discovery....

November 23, 2021 · 3 min · 555 words · André Sterba

Backups with borg/borgmatic

I am a big fan of the backup tool borgbackup. Borg is space efficient as it supports compression and deduplication and is also secure, so you don’t have to trust the storage provider where your backup will be stored. In this short guide we will setup automatic backups for a server. But most of it can also be used to backup your clients. An addition to borg I use the wrapper borgmatic which will remove any custom scripts needed around borg....

April 21, 2021 · 5 min · 966 words · André Sterba

Release tools with goreleaser

I’m writing most of my own tools in go. Sometime ago I found a tool called goreleaser which automates the release process of software written in go. goreleaser is pretty well documented, therefore this is just a quick overview how I use it. It will do the following things for you: Generate a changelog with the latest commit since the last release. Build artifacts for different architectures (Linux/Mac/Windows). Create a GitHub/GitLab release and attach changelog and artifacts....

March 31, 2021 · 2 min · 320 words · André Sterba

Setup Wallabag

I am subscribed to a lot of blog feeds, but (sadly) I don’t have enough time to read all of them. This is especially the case for rather long (but often interesting) posts. Therefore it would be perfect to save these posts and read them in the near future. There are already existing solutions for this like Mozilla Pocket. But as always I want to host this service on my own server (I have to justify the server somehow)....

February 28, 2021 · 3 min · 636 words · André Sterba

Gitlab as Terraform backend

I manage a few servers with some friends. We mostly rely on Terraform to update/change DNS records or create new VMs. Terraform use a state to store the last applied configuration of the managed infrastructure. The default location for this state is your local filesystem, but if you manage your infrastructure with multiple persons it must be shared. This can be problematic as it also contains secrets, like api tokens, so it should not be accessible for everyone....

January 23, 2021 · 2 min · 273 words · André Sterba