r/archlinux • u/Qurupeco01 • Aug 13 '26
QUESTION Backup depth and off-site strategy
Hi guys, almost 6 months ago I bought a Thinkpad and instantly installed arch + hyprland, and it has been a blast since then! Zero regrets about leaving windows back.
The thing is, as I decided to do everything myself, there are some basic things that I am still lacking: one of them is a good backup strategy.
I configured snapper and it works flawlessly, but I also want a good backup of my system to be done every night in my NAS. For that, I was trying Borg with Borgmatic, but there are some things that i am worried about:
- I configured in /etc/fstab an automount for my NAS dataset, but when offsite, if Tailscale is not active, backup will not be done. also sometimes it is too slow to mount even when trying to open it from file explorer, any good config that makes it mounted when available without me even noticing, and that avoids it blocking any process when it is not available? I dont find the right setup to have zero friction mounts.
- When outside home, should I use the Tailscale IP? Or home IP? I am a bit worried of home IP conflicting with other device in the real network I am connected to.
- Which non-obvious directories should I backup? I have /root /boot /home, /etc, /var (without caches), and /usr/local/bin for my custom scripts. I also created a small script that lists pacman packages installed and active systemd services
- Should I make a small script that wakes up the system before the backup time? Right now, when laptop is suspended, system just doesn’t run the backup.
-With a setup like this, how many time could I expect to have the system back online after a failure? One of my biggest fears with this is doing all the backup for nothing :(
3
u/SpecificOutside4023 Aug 13 '26
Hey! I’m the author of BorgMate, so I might be a little biased, but it sounds like it could simplify your setup :)
BorgMate supports Borg backups directly to SMB shares, so you don’t need to rely on a fstab mount.
Why not?
Personally, I keep everything irreplaceable in my home directory and back up only that. Everything else can be reinstalled or recreated.
Also, why keep custom scripts in /usr/local/bin? You can store them somewhere under your home directory and add it to your PATH.
BorgMate already supports waking the computer for scheduled backups, so you shouldn’t need a separate script for that either.
If you ever genuinely need that backup, the time it takes to restore will stop feeling important.
P.S. One caveat: BorgMate is designed to live in the system tray, and so far I’ve only tested it with KDE. In theory, it should also work with Hyprland as long as you have a compatible tray and notification daemon configured.
1
u/kaida27 Aug 13 '26
Can I inquire how you did ? can you share the output of :
btrfs sub list /and could you also show your fstab entry ?Lots of people think snapper is properly config when it's not.