mirror of https://github.com/jimsalterjrs/sanoid
1.0.19 - working recursive sync in syncoid!
This commit is contained in:
parent
6b4cf63e44
commit
b4d6a6f8eb
2
syncoid
2
syncoid
|
|
@ -54,7 +54,7 @@ my %snaps;
|
||||||
## break here to call replication individually so that we can loop across children separately, for recursive replication ##
|
## break here to call replication individually so that we can loop across children separately, for recursive replication ##
|
||||||
|
|
||||||
if (! $args{'recursive'}) {
|
if (! $args{'recursive'}) {
|
||||||
print "syncdataset($sourcehost, $sourcefs, $targethost, $targetfs);\n";
|
syncdataset($sourcehost, $sourcefs, $targethost, $targetfs);
|
||||||
} else {
|
} else {
|
||||||
if ($debug) { print "DEBUG: recursive sync of $sourcefs.\n"; }
|
if ($debug) { print "DEBUG: recursive sync of $sourcefs.\n"; }
|
||||||
my @datasets = getchilddatasets($sourcehost, $sourcefs, $sourceisroot);
|
my @datasets = getchilddatasets($sourcehost, $sourcefs, $sourceisroot);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue