ZFS tools
- Perl 98.4%
- Shell 0.9%
- Makefile 0.7%
| _morgue | ||
| .gitignore | ||
| autosnapshots.conf.template | ||
| COPYRIGHT | ||
| Makefile | ||
| manage-autosnapshots | ||
| README | ||
| zrepl | ||
This collection shall grow to contain a few ZFS-related utility
programs. For now this is only manage-autosnapshots, a program intended
to be called regularly (like every 10 minutes or so) by cron, that
creates FS snapshots and expires them. The idea is that you have a
relatively high density of snapshots that grows sparser as they age.
- manage-autosnapshots, a program intended to be called regularly
(like every 10 minutes or so) by cron, that creates FS snapshots
and expires them. The idea is that you have a relatively high
density of snapshots that grows sparser as they age. A configuration
file example is included, but is unlikely to work for you as is.
- zrepl, a program that creates a snapshot in one ZFS file system
and replicates it to another. The target file system must either
not exist or have as the most recent snapshot one that has been
created by an earlier invocation of zrepl together with a
corresponding snapshot in the source file system. In the former
case, the target filesystem is created, and a newly created
snapshot in the source file system is replicated into it; in
the latter case, an incremental replication is made from the
source file system to the target file system. An example script
that makes backups of certain file systems from one zpool to
another is included.
Documentation: The example configuration file for manage-autosnapshots
has an explanation of the config file syntax. A manpage for zrepl
will be generated when you run "make". Both programs give option
and parameter usage information when called with "-?".
Juergen Nickelsen <ni@w21.org>, 2015-03-21.