Open cathode opened 9 years ago
Just forward this question to Philip Brown, original zrep developer ( http://www.bolthole.com/solaris/zrep ). Adding this functionality is not difficult. But first I want to wait for a response from Philip - maybe he has a more recent version where this request is taken into account. Therefore, I will just merge code with upstream.
If I have a pool 'tank', and a dataset 'tank/shares' and several child datasets under that, I don't see a way that zrep can replicate 'tank/shares' to a remote including all the child datasets. This should be as simple as adding the option to zrep, and using the -R or -r switches when invoking ZFS commands, but I am not familiar enough with shell scripting to submit a patch.