A new backup strategy using restic

A sketch to show the relationship between the backups on the local machine, the NAS and the offsite backup.

A sketch of the basic backup scheme.

I’ve been doing some more NixOS pottering over this weekend, working out the details of a thorough backup strategy. Before I moved to Linux, I used (and still use) iDrive for my backups. Its reasonably priced, and has servers based in Europe, and seems to work well enough. You can also run it on Linux, but I had some trouble getting it working with NixOS. I have also used the Gnome Circle app Pika Backup, which is delightful, but that is obviously not cross-platform. It is based on Borg Backup which is cross-platform (across Linux and macOS anyway), but I struggled a bit to think how I would link everything up.

After quite a bit of reading on what might work well, I settled on Restic. This is cross-platform, has a long development history, is now quite well-established and stable, and has incremental snapshots and encryption built in. It enables backing up to a variety of remote locations natively, but can also be paired with rclone backends to enable an even wider range of possibilities. It is available as a brew on macOS, but on NixOS, you can set it up as a service for automatic backups using a systemd timer.

Continue reading

Let's hope it's a good one

Happy New Year? I dearly hope it’s better than the last one for all of us, but time and reality is gradually sanding the corners off my innate and irrepressible optimism.

I can’t speak for the rest of the world, but this is how the end part of the last year was for me, and what 2026 looks like.

Continue reading

Using Denix for a multi-host nix config

Since getting back into running NixOS, I have been having a whale of a time configuring my Linux machine. The declarative life is somewhat addictive. However, I felt that I could be improving my configuration in a couple of ways. First, while I was learning how to configure NixOS, I had tended to scatter bits of code about randomly, and so it started to become a challenge to find what I needed. Second, I was getting the itch to bring some of the benefits of declarative configuration to my macOS machines. You obviously have less control there (even with nix-darwin), but I have tailored my Emacs, Neovim and shell environment just the way I like them, and every time I use macOS, it irks me that I don’t have access to the nice configuration that is set up on my Linux box.

In my browsing around, I came across Denix, which solves both problems very nicely.

Continue reading

The train seat incident

The incident I’m about to tell you about happened a few weeks ago, but life is busy, so I’ve only just got around to writing about it. Prepare yourself for The Tale of the Train Seat Incident!

Continue reading

ZSA Navigator

My ZSA Voyager keyboard has a new travelling companion: a ZSA Navigator. I love using it, but it has taken a bit of time to figure out the best configuration for me.

Continue reading

Fun with niri window manager

As I wrote in my previous post, the other main hobby I practised during my recent holiday was tinkering more with my Linux box. This post will be a bit piecemeal, but I wanted to write about a few changes I have made recently.

A screenshot of a minimal Niri desktop with a Ghostty terminal showing three panes with in a Zellij layout. The colourscheme is warm dark brown backgrounds with warm-toned highlight colours.

A zellij project showing lazygit in the left pane, and taskwarrior-tui and a shell in the right pane.

Continue reading

Holiday sewing

This year, we did not go away when I booked my annual leave. It was a decision that arose out of a combination of not wanting to leave our elderly cat in a cattery, the fact that I was so exhausted from ME fatigue that I felt the work involved in going somewhere on holiday might be counter-productive, but also — if I’m honest — the fact that neither of us got things together sufficiently to book anywhere.

Never mind. A change of scenery might have been nice, but the opportunity to potter around and rest was very welcome. We did go out for a couple of day trips which were lovely, but much of the time I immersed myself in hobbies: my favourite things. This post will be about the fibre hobbies (sewing and knitting), and the next will be about changes I have made to my Linux setup.

Continue reading

Caring for an elderly cat

Friday morning did not start well. I swung a leg out of bed, and made gentle contact with our 18-year-old cat Bianca, who was crouched miserably by the side of the bed. Then I noticed spots of blood. Lots of them. I checked her and the clues in the blood-spattered environment over carefully, and — long story short — the blood was coming from her urinary tract.

Continue reading

Building a NAS

I have been thinking about setting up network attached storage (a NAS) for a while. The largest collection of files in my home folder on all my machines is in the Music and Photos folders, and since they are on both my Linux box and my Mac mini, that felt like unnecessary duplication and complexity. I need to sync the contents of both and back them up separately, which — given their size — is not a trivial matter. Moving these folders to a NAS share and then mounting the share on each of the computers that needed access would make much more sense, and I could also point my Roon Server at the Music folder to play local files.

My first thought was just to buy one of the well known pre-built NAS units (Synology or QNAP), but then I found out that there are several software projects to enable you to run a NAS on almost any hardware. Shortly after that, I discovered that small business servers (meant for small businesses, but also physically small) go for very reasonable prices used on ebay. And so, a plan formed. I would semi-DIY a NAS.

Continue reading

All the editors

I spent a bit of time over the Easter break getting my editors configured on NixOS. Yes, editors plural. Yes, it is overkill. But I can, so I have.

Continue reading

If you like what you have seen here, there are many other articles to read. Browse the archives, look for interesting tags, or search for something specific.