aaronhurt / zfs-replicate

POSIX compliant shell script to manage ZFS snapshot replication locally, or between hosts.
72 stars 17 forks source link

Version 1.0.1 #22

Closed tschettervictor closed 2 months ago

tschettervictor commented 2 months ago

I have updated the main script to include a "status" flag, which will output the latest status. This allows the "status-report.sh" file to be safely removed.

I added some additional error checking to avoid having the script run without some necessary variables. I also added error checking to ensure if the snapshot command fails, it will exit.

And i changed the default log path to be /var/log/zfs-replicate according to FreeBSDs heir structure.

tschettervictor commented 2 months ago

Closed in favor of a new PR.