Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle not-sending of not-enabled datasets (#626)
* lib/ZnapZend.pm: createSnapshot(): be pedantic about "implicit value of org.znapzend:enabled" for sub-datasets Signed-off-by: Jim Klimov <[email protected]> * lib/ZnapZend.pm: createSnapshot(): update comments about creation and cleanup of snapshots on enabled=off sub-datasets Signed-off-by: Jim Klimov <[email protected]> * lib/ZnapZend.pm: refactor listDisabledSourceDescendants() out of createSnapshot() so it can also be used in sendRecvCleanup() Signed-off-by: Jim Klimov <[email protected]> * lib/ZnapZend.pm: refactor listDisabledSourceDescendants() calls to be done in refreshBackupPlans() once Track the list of names as @{$backupSet->{srcDisabledDescendants}} Signed-off-by: Jim Klimov <[email protected]> * lib/ZnapZend.pm: sendRecvCleanup(): skip sending of disabled datasets Signed-off-by: Jim Klimov <[email protected]> * lib/ZnapZend.pm: sendRecvCleanup(): clarify the message when we skip a not-enabled dataset Signed-off-by: Jim Klimov <[email protected]> * lib/ZnapZend.pm: sendRecvCleanup(): wrap the long source code line to emit a debug message about sending (or not) a dataset Signed-off-by: Jim Klimov <[email protected]> --------- Signed-off-by: Jim Klimov <[email protected]> Co-authored-by: Tobias Oetiker <[email protected]>
- Loading branch information