BTRFS-BACKUP-NG-INSTALL(1)
π btrfs-backup-ng-install(1) β the install-your-timers era π
okay bestie, so this is the page for btrfs-backup-ng-install, which lives in the User Commands section of the manual. it's the one that sets up your automatic backups so you can stop doing it by hand like it's 2009. π
β¨ NAME β¨
btrfs-backup-ng-install β install systemd timer/service. that's it, that's the whole job, and it does it flawlessly. π
πΈ SYNOPSIS πΈ
btrfs-backup-ng install [OPTIONS]
π¦ DESCRIPTION π¦
so what this actually does: it generates and installs systemd units for automated backups. not one unit β two. it creates both a service unit and a timer unit, and the timer unit is the one that runs your backups on a schedule. it's giving "set it and forget it" main character energy. π₯
by default it installs system-wide services, which means it needs root privileges. yeah. sudo. you know the drill.
but if you don't wanna do the root thing, use --user for user-level services instead. no cap. π
β¨ OPTIONS β¨
--timerPRESET β use a preset timer interval instead of hand-rolling your own. valid presets are:hourly,daily,weekly. pick one and go, bestie.--oncalendarSPEC β a customOnCalendarspecification, for when you want scheduling that's flexible and very much your own vibe.--userβ install as a user service instead of a system service. does not require root privileges, and it runs in the user's session. lowkey the move if it's your own machine. π
β OnCalendar examples, since these go hard β
*:0/15β Every 15 minutes*:0/5β Every 5 minutes*-*-* 02:00:00β Daily at 2 AMMon *-*-* 03:00:00β Every Monday at 3 AM
π GENERATED FILES π
these are the files it drops. remember them, because you'll be poking at them when you want to know what's going on. π
π System Installation
/etc/systemd/system/btrfs-backup-ng.serviceβ Service unit file./etc/systemd/system/btrfs-backup-ng.timerβ Timer unit file.
π User Installation
~/.config/systemd/user/btrfs-backup-ng.serviceβ User service unit file.~/.config/systemd/user/btrfs-backup-ng.timerβ User timer unit file.
π EXAMPLES π
install an hourly timer, system-wide:
sudo btrfs-backup-ng install --timer hourly
install a daily timer at 2 AM:
sudo btrfs-backup-ng install --oncalendar *-*-* 02:00:00
install one that fires every 15 minutes:
sudo btrfs-backup-ng install --oncalendar *:0/15
install it as a user service instead:
btrfs-backup-ng install --timer hourly --user
π«Ά POST-INSTALLATION π«Ά
once it's installed, the timer is automatically enabled and started. you don't have to do anything else. it just. goes. β¨
to check status:
systemctl status btrfs-backup-ng.timer
systemctl list-timers btrfs-backup-ng.timer
and for user services specifically:
systemctl --user status btrfs-backup-ng.timer
ngl, the --user flag in that last command is doing a lot of heavy lifting. don't forget it or you'll be staring at a system timer that does not exist and feeling unwell. π
π SEE ALSO π
btrfs-backup-ng(1), btrfs-backup-ng-uninstall(1), systemd.timer(5), systemd.time(7)
and that's the page, bestie. slay, you're scheduled now. π¦
this whole thing is from btrfs-backup-ng, dated January 2026, and it lives at BTRFS-BACKUP-NG-INSTALL(1) in the manual. periodt. ππ
π¦ where this page comes from
- fedora 43: btrfs-backup-ng 0.8.2-1.fc43
- fedora 43: btrfs-backup-ng 0.9.20-2.fc43 Β· MIT
- fedora 44: btrfs-backup-ng 0.8.2-3.fc44 Β· MIT
- fedora 44: btrfs-backup-ng 0.9.20-1.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms