[Bug 281192] sysutils/zfs-replicate update to v2.0
Date: Sun, 01 Sep 2024 17:13:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281192 Bug ID: 281192 Summary: sysutils/zfs-replicate update to v2.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: tschetter.victor@gmail.com Created attachment 253249 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=253249&action=edit v1.0 > v2.0 diff v2.0 now completely POSIX compliant! In version 2.0, zfs-replicate has been completely rewritten to the POSIX shell, removing the need for the bash dependency. This means it can be run with shell like sh, and dash without the need for additional dependencies. Every feature has been ported over, and the feature list remains the same. For reference, here they are. - The script follows strict POSIX standards and should be usable on any host with a POSIX compliant shell. - Source pools and datasets are always authoritative, the script will always defer to the source. - Supports push and pull replication with local and remote datasets. - Supports multiple pool/dataset pairs to replicate. - Supports divergence detection and reconciliation of destination datasets. - Logging leverages syslog (via logger) by default, but local logging may be configured. - Includes a well documented `config.sh` file that may be used as configuration or as reference for environment variables passed to the script. - May be run on any schedule using cron or similar mechanism. - Fully source compliant and may be used by other scripts. - Test coverage of core functions via mocks in the test/test.sh script. - Includes a `--status` option for XigmaNAS that can be used to email the last log output at your preferred schedule. Simply add it as a custom script in the email settings under "System > Advanced > Email Reports" -- You are receiving this mail because: You are the assignee for the bug.