BTRFS-BACKUP-NG-INSTALL(1)

πŸ“¦ version 0.9.20, in fedora 43, fedora 44

πŸ’– 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 ✨

  • --timer PRESET β€” use a preset timer interval instead of hand-rolling your own. valid presets are: hourly, daily, weekly. pick one and go, bestie.
  • --oncalendar SPEC β€” a custom OnCalendar specification, 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 AM
  • Mon *-*-* 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