-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle enabled=off
with recursion in place
#625
Handle enabled=off
with recursion in place
#625
Conversation
…of org.znapzend:enabled" for sub-datasets Signed-off-by: Jim Klimov <jimklimov@gmail.com>
… cleanup of snapshots on enabled=off sub-datasets Signed-off-by: Jim Klimov <jimklimov@gmail.com>
…teSnapshot() so it can also be used in sendRecvCleanup() Signed-off-by: Jim Klimov <jimklimov@gmail.com>
… done in refreshBackupPlans() once Track the list of names as @{$backupSet->{srcDisabledDescendants}} Signed-off-by: Jim Klimov <jimklimov@gmail.com>
…ledSourceDescendants(): recognize sub-datasets that are both enabled(=off|on) and recursive(=on) Signed-off-by: Jim Klimov <jimklimov@gmail.com>
@check-spelling-bot Report jimklimov/znapzend: enabled-off-with-recursion into -> oetiker/znapzend: 100c9f6🔴 Please reviewSee the 📂 files view, the 📜action log, or 📝 job summary for details. Unrecognized words (5)hashmaps Previously acknowledged words that are now absentaix Balert Bcreate Bdebug Bdelete Bedit Berr Bexport Bimport Binfo Bnoaction Bnot Bpidfile Bpost Bpre Bsyslog Bwarning Bzfs Bznapzend Bznapzendzetup Bznapzendztatz CBuilder cpanfile cpanm cpanmin CPANSNAPV crt Cwd cygwin DBD DESTDIR distdir DTDs endif EXTRADIST Fcntl forkcall Icommand Icommon Icreate Idataset Idestroy Idocuments Iexport Ifacility Ifeature Ifilepath Ihome Ilimited imandir Inumber Ioptions Ipath Ipictures Irecursive Isend Iskip Isnapshots Isnapsuffix Isources Itank Ithirdparty Itimeout Iusbbackup Iuser Ivalue Iznapzendzetup JBERGER LEONT lpr Mkbootstrap nobase notest nroff ODBC Pipely RCAPUTO SUBDIRS svcdir troff unicode utf VOS vroff xargs 🫥To accept these unrecognized words as correct and remove the previously acknowledged and now absent words, you could run the following commands... in a clone of the https://github.com/oetiker/znapzend repository curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.22/apply.pl' |
perl - 'https://github.com/oetiker/znapzend/actions/runs/7533184333/attempts/1' Available 📚 dictionaries could cover words (expected and unrecognized) not in the 📘 dictionaryThis includes both expected items (649) from .github/workflows//spelling/expect.txt and unrecognized words (5)
Consider adding them (in with:
extra_dictionaries:
cspell:software-terms/dict/softwareTerms.txt
cspell:php/dict/php.txt
cspell:python/src/python/python-lib.txt
cspell:node/dict/node.txt
cspell:filetypes/filetypes.txt To stop checking additional dictionaries, add (in check_extra_dictionaries: '' |
Signed-off-by: Jim Klimov <jimklimov@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removing the extra snapshots quickly seems like a good move!
Thanks for the review, and the master-branch bump (docker fix), nice to see it all claim to be green again :)
I don't think this PR tackles it directly - this is part of |
Hm, I don't actually see any docs about the UPDATE: Actually, |
Signed-off-by: Jim Klimov <jimklimov@gmail.com>
…figurations Signed-off-by: Jim Klimov <jimklimov@gmail.com>
…r a recursive backup schedule Signed-off-by: Jim Klimov <jimklimov@gmail.com>
…tree pruning [oetiker#625] Signed-off-by: Jim Klimov <jimklimov@gmail.com>
… type for raw and parsed cmd output [oetiker#625 review] Signed-off-by: Jim Klimov <jimklimov@gmail.com>
…d" [oetiker#625 review] Signed-off-by: Jim Klimov <jimklimov@gmail.com>
…recursion Signed-off-by: Jim Klimov <jimklimov@gmail.com>
Ok, so after the merge of groundwork from #623 the specific changes of this PR are much better visible :) |
(Includes and) Follows up from #623 with a practical feature: if the same intermediate dataset that declares
enabled=off
also saysrecursive=on
, the disablement takes place for descendants as well.As discussed among ideas in #623, this PR adds recognition for datasets (descendants of a "backupSet") which declare not only an
org.znapzend:enabled
value but optionally also anorg.znapzend:recursive
one (so only these one or two ZFS properties are defined in a local source dataset under the one which defines a full retention schedule).It also somewhat reasonably defines behavior for such dataset trees where a
backupSet
with a full retention schedule has some descendant which defines anenabled=off
behavior (individual or recursive), and some of its descendants re-enable the backup (individually or recursively). I'm sure this can be tested with mocks, but out of time at least today, maybe longer, to pursue testing. Worked as expected in a real-life setup (which however did not try all edge cases) :)This is also seen in
znapzendzetup list
outputs: