This version includes enhancements and features such as
- supports PUSH or PULL replication
- supports LOCAL or REMOTE replication
- supports multiple pool/dataset pairs to replicate
- everything is logged to `${SCRIPTPATH}/logs` by default (can be set to custom location using $LOGBASE variable) but its better to keep it together with the scripts
- runs off a well documented `config.sh` file (see below)
- can be run on any schedule using cron with `bash zfs-replicate.sh -config.sh`
- (for XigmaNAS) includes a `status-report.sh` that can be used to email latest replication status, which will email the latest replication status at your preferred schedule. Simply add it as a custom script in the email settings under "System > Advanced > Email Reports"
- includes ALLOW_REPLICATE_FROM_SCRATCH option (see below, or `config.sh` file for details)
PR: 280987
Reported by: Victor <tschetter.victor@gmail.com> (Maintainer)
3 lines
143 B
Plaintext
3 lines
143 B
Plaintext
Advanced ZFS replication script to replicate zfs datasets/volumes between hosts
|
|
(or between pools on the same host) via incremental snapshots.
|