~cdv/snapmgr

A simple btrfs snapshotting tool
Get more subvolume paths.
Add prune functionality.
Use syslog for output

clone

read-only
https://git.sr.ht/~cdv/snapmgr
read/write
git@git.sr.ht:~cdv/snapmgr

You can also use your local clone with git send-email.

snapmgr

A snapshotting and snapshot pruning tool for btrfs volumes.

Usage

# snapmgr help
usage: snapmgr [subcommand]

subcommands:
	snapmgr help
		print this help
	snapmgr take <volume> <path>
		take a snapshot of <volume>, placing it in directory <path>
	snapmgr prune <path>
		prunes old snapshots in directory <path>

Building

Dependencies:

$ PREFIX=$prefix meson build
$ ninja -C build
# ninja -C build install

License

Copyright (C) 2020 Christopher Vittal chris@vittal.dev

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see [https://www.gnu.org/licenses/][https://www.gnu.org/licenses]