What I'm missing in zrepl is a command hook before some job starts and when finished.
To explain a scenario I use regularly.
resume usb external drive
import pool
backup
export pool
suspend usb drive
I do this by external cronjob that do the steps and then signal zrepl to do the job. I need to wait for a fixed time (getting proper finish status from zrepl is hard) and then do the final steps to suspend the drives.
What I'm missing in zrepl is a command hook before some job starts and when finished.
To explain a scenario I use regularly.
I do this by external cronjob that do the steps and then signal zrepl to do the job. I need to wait for a fixed time (getting proper finish status from zrepl is hard) and then do the final steps to suspend the drives.
I can imagine something like:
I'm not a go programmer, but I may try to look at it.