mirror of https://github.com/jimsalterjrs/sanoid
Merge pull request #4 from 0xFate/patch-2
further pares down output when fetching snapshot list for sync - only lists datasets one step down from parent, including snapshots of parent and child datasets of parent but NOT snapshots OF child datasets of parent
This commit is contained in:
commit
a6ad424fce
2
syncoid
2
syncoid
|
|
@ -547,7 +547,7 @@ sub getsnaps() {
|
|||
|
||||
if ($rhost ne '') { $rhost = "$sshcmd $rhost"; }
|
||||
|
||||
my $getsnapcmd = "$rhost $zfscmd get -Hpr creation $fs |";
|
||||
my $getsnapcmd = "$rhost $zfscmd get -Hpd 1 creation $fs |";
|
||||
if ($debug) { print "DEBUG: getting list of snapshots on $fs...\n"; }
|
||||
open FH, $getsnapcmd;
|
||||
my @rawsnaps = <FH>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue