btrfs-sxbackup(1)
π btrfs-sxbackup β the bestie manual page π
okay so you found the btrfs-sxbackup(1) page, welcome, pull up a chair, we're doing snapshots today π¦
β¨ NAME β¨
btrfs-sxbackup β a btrfs snapshot backup utility π
like, it backs up your btrfs snapshots. that's the whole vibe. iconic.
πΈ SYNOPSIS πΈ
btrfs-sxbackup [-h | --help] [-q | --quiet] [-v] [--version]
π DESCRIPTION π
Btrfs snapshot backup utility with push/pull support via SSH, retention, email notifications, compression of transferred data, and syslog logging.
okay but fr fr, read that again. push and pull over SSH. retention (so your backups don't hoard like your camera roll πΈ). email notifications. compression of the data it transfers. and syslog logging. she does it all, no cap. π
β OPTIONS β
-h,--helpβ show help message and exit π«Ά (she'll tell you what's up, then dip)-q,--quietβ do not log to stdout π€« (stealth mode, main character but silent)--versionβ show program's version number and exit π-vβ can be specified multiple times to increase verbosity π (once = chatty, twice = chattier, the way that it just keeps going...)
π EXAMPLES π
π Initialize
Initialize a backup job pulling snapshots of subvolume / on remote host myhost.org to local subvolume /backup/myhost:
btrfs-sxbackup init ssh://root@myhost.org:/ /backup/myhost
like, pulling the remote into your local. she's coming to you bestie π
Initialize a backup job pushing snapshots of local subvolume / to remote subvolume /backup/myhost on host mybackupserver.org:
btrfs-sxbackup init / ssh://root@mybackupserver.org:/backup/myhost
and this one's the opposite β your local / goes out to the remote. sending it, fr. π€
π Run
Run a backup job:
btrfs-sxbackup run /backup/myhost
one command. that's it. ate. π₯
π Cron
Cronjob performing a pull backup job:
# /etc/cron.d/btrfs-sxbackup
PATH="/usr/sbin:/usr/bin:/sbin:/bin"
30 2 * * * root btrfs-sxbackup run /backup/myhost
not you setting up 2:30am backups and then sleeping peacefully π΄π€ lowkey the most responsible thing you'll do all week.
π¦ SEE ALSO π¦
btrfs-sxbackup-init(1), btrfs-sxbackup-run(1), btrfs-sxbackup-info(1), btrfs-sxbackup-update(1), btrfs-sxbackup-destroy(1), btrfs-sxbackup-transfer(1)
the whole friend group, go say hi to each one π«Άβ¨
π and that's the page!! this was 0.5.8 ofbtrfs-sxbackup(1)β version0.5.8, periodt. go make some snapshots, bestie, your data deserves it. πππ§
π¦ where this page comes from
- fedora 43: btrfs-sxbackup 0.6.11-36.fc43 Β· GPL-2.0-only
- fedora 44: btrfs-sxbackup 0.6.11-38.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms