Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 602 Bytes

README.md

File metadata and controls

34 lines (20 loc) · 602 Bytes

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 btrfs-snapshot@root.timer

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