-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle
enabled=off
with recursion in place (#625)
* 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/Config.pm::checkBackupSets(), lib/ZnapZend.pm::listDisabledSourceDescendants(): recognize sub-datasets that are both enabled(=off|on) and recursive(=on) Signed-off-by: Jim Klimov <[email protected]> * .github/workflows/spelling/expect.txt: update for PERL source changes Signed-off-by: Jim Klimov <[email protected]> * CHANGES: update wording about "enabled=off" support Signed-off-by: Jim Klimov <[email protected]> * README.md: clarify about use of local ZFS properties for ZnapZend configurations Signed-off-by: Jim Klimov <[email protected]> * README.md: clarify about current support of not-enabled datasets under a recursive backup schedule Signed-off-by: Jim Klimov <[email protected]> * README.md: update about "enabled=off + recursive=on" setting for sub-tree pruning [#625] Signed-off-by: Jim Klimov <[email protected]> * lib/ZnapZend.pm: listDisabledSourceDescendants(): avoid changing data type for raw and parsed cmd output [#625 review] Signed-off-by: Jim Klimov <[email protected]> * lib/ZnapZend.pm: listDisabledSourceDescendants(): avoid "&&", use "and" [#625 review] Signed-off-by: Jim Klimov <[email protected]> --------- Signed-off-by: Jim Klimov <[email protected]> Co-authored-by: Tobias Oetiker <[email protected]>
- Loading branch information
Showing
5 changed files
with
200 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters