From ee8c884460bab5fa3655a5bcff574a62e6114aad Mon Sep 17 00:00:00 2001 From: Jim Salter Date: Fri, 8 Apr 2022 21:34:01 +0000 Subject: [PATCH] put local resume token support back in --- syncoid | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/syncoid b/syncoid index 539c0f8..89f16ea 100755 --- a/syncoid +++ b/syncoid @@ -338,9 +338,7 @@ sub syncdataset { my $receiveextraargs = ""; my $receivetoken; - # we need to make sure this isn't a local-only replication before trying to use resume tokens. - # trying to receive using -s on a stream sent from another dataset on the same host produces ZFS errors. (Discovered on 2022-04-08 on an Ubuntu 20.04 system) - if ($resume && ($sourcehost ne $targethost)) { + if ($resume) { # save state of interrupted receive stream $receiveextraargs = "-s";