btrfs-sxbackup(1)

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

πŸ’– 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 of btrfs-sxbackup(1) β€” version 0.5.8, periodt. go make some snapshots, bestie, your data deserves it. πŸŽ€πŸ’–πŸ§š
πŸ“¦ where this page comes from