olevole / zrep

ZREP replication and failover. The original version developed by Philip Brown. Current version is the port from ksh to sh code with rewriting procfs-related code which is deprecated for FreeBSD.
http://www.bolthole.com/solaris/zrep/
Other
10 stars 2 forks source link

zrep does not seem to support sending recursive trees of datasets #2

Open cathode opened 9 years ago

cathode commented 9 years ago

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.

olevole commented 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.