mirror of https://github.com/jimsalterjrs/sanoid
catch another case were the resume state isn't availabe anymore
This commit is contained in:
parent
487693993b
commit
b808a74e2e
5
syncoid
5
syncoid
|
|
@ -550,7 +550,10 @@ sub syncdataset {
|
||||||
}
|
}
|
||||||
|
|
||||||
$exit == 0 or do {
|
$exit == 0 or do {
|
||||||
if ($stdout =~ /\Qused in the initial send no longer exists\E/) {
|
if (
|
||||||
|
$stdout =~ /\Qused in the initial send no longer exists\E/ ||
|
||||||
|
$stdout =~ /incremental source [0-9xa-f]+ no longer exists/
|
||||||
|
) {
|
||||||
if (!$quiet) { print "WARN: resetting partially receive state because the snapshot source no longer exists\n"; }
|
if (!$quiet) { print "WARN: resetting partially receive state because the snapshot source no longer exists\n"; }
|
||||||
resetreceivestate($targethost,$targetfs,$targetisroot);
|
resetreceivestate($targethost,$targetfs,$targetisroot);
|
||||||
# do an normal sync cycle
|
# do an normal sync cycle
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue