saveme snapshots and encrypted archive disks for Linux

btrfs · zfs · LUKS

Every root command, shown before it runs.

saveme takes snapshots and thins them by age, and prepares LUKS-encrypted archive disks. It prints the commands it will run as root and asks before running them.

Snapshots and encrypted archive disks for Linux, on btrfs, zfs and LUKS.

What it does

saveme doesn’t encrypt snapshots; encryption applies to the LUKS archive disks it prepares. Snapshots catch mistakes, but they’re not a backup by themselves.

How it runs

Every root action, snapshot creation and deletion included, is a short bash script in scripts/ that checks its inputs and prints the commands it would run. saveme shows that list and asks before running it, unless --noprompt is given. So the commands that change disks are always visible, at the prompt and in the log.

# crontab -l
10,40 * * * * snapmgr create /my/vol --noprompt
0     4 * * * snapmgr manage /my/vol --noprompt \
                  --policy="0-1dy: all, 1dy-1wk: 8hr, 1wk-1yr: 2wk, 1yr+: none"

It runs on Linux with btrfs, zfs, ext4, GPT partition tables and dm-crypt (LUKS). See Usage for details.