项目作者: YHNdnzj

项目描述 :
Tool for creating btrfs snapshots
高级语言: Shell
项目地址: git://github.com/YHNdnzj/btrfs-snapshot.git
创建时间: 2019-09-14T04:26:01Z
项目社区:https://github.com/YHNdnzj/btrfs-snapshot

开源协议:MIT License

下载


btrfs-snapshot

Tool for creating btrfs snapshots

Installation

$ aur_helper -S btrfs-snapshot

Usage

# btrfs-snapshot --help

Scheduled snapshot creation

Configuration example
  1. /etc/btrfs-snapshot/root.conf
  2. #!/hint/bash
  3. SUBVOL=/
  4. DEST=/.snapshot/root
  5. 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.