Skip to content

YHNdnzj/btrfs-snapshot

Repository files navigation

btrfs-snapshot

Tool for creating btrfs snapshots

Installation

$ aur_helper -S btrfs-snapshot

Usage

# btrfs-snapshot --help

Scheduled snapshot creation

Configuration example
/etc/btrfs-snapshot/root.conf

#!/hint/bash
SUBVOL=/
DEST=/.snapshot/root
NKEEP=10
Enable systemd timer

# systemctl enable --now btrfs-snapshot.timer

Or

# systemctl enable --now [email protected]

OnCalendar is set to daily by default. Edit the corresponding systemd timer if necessary.