btrfs-auto-snapshot

btrfs-auto-snapshot is a Bash script designed to bring as much of the functionality of the wonderful ZFS snapshot tool zfs-auto-snapshot to BTRFS as possible. Designed to run from cron (using /etc/cron.{daily,hourly,weekly}) it automatically creates a snapshot of the specified BTRFS filesystem (or, optionally, all of them) and then automatically purges the oldest snapshots of that type (hourly, daily, et al) based on a user-defined retention policy.

Snapshots are stored in a '.btrfs' directory at the root of the BTRFS filesystem being snapped and are read-only by default.

Name
btrfs-auto-snapshot
Main Program
btrfs-auto-snapshot
Programs
  • btrfs-auto-snapshot
Homepage
Version
2.0.4
License
Maintainers
Platforms
  • aarch64-linux
  • armv5tel-linux
  • armv6l-linux
  • armv7a-linux
  • armv7l-linux
  • i686-linux
  • loongarch64-linux
  • m68k-linux
  • microblaze-linux
  • microblazeel-linux
  • mips-linux
  • mips64-linux
  • mips64el-linux
  • mipsel-linux
  • powerpc-linux
  • powerpc64-linux
  • powerpc64le-linux
  • riscv32-linux
  • riscv64-linux
  • s390-linux
  • s390x-linux
  • x86_64-linux
Defined
Source