oetiker / znapzend

zfs backup with remote capabilities and mbuffer integration.
www.znapzend.org
GNU General Public License v3.0
604 stars 136 forks source link

[RFE] `znapzendsetup` : support `dst_N_enable` setting #634

Closed jimklimov closed 2 months ago

jimklimov commented 4 months ago

Looking through my old branches, found this bit: the codebase (lib, tests) supports a dst_N_enable setting if present among ZFS dataset properties for the backup/retention schedule; however there is no "API way" to toggle this right in the new setting (there is a separate znapzendzetup enable-dst <src_dataset> <DST_key> at this time).

Being 5 years old, the idea would need brushing up:

First and foremost, the question is if it is worth the effort (is useful)? :)

github-actions[bot] commented 4 months ago

@check-spelling-bot Report jimklimov/znapzend: dst-enable-wip1 into -> oetiker/znapzend: 62394b2d8ec788ef19638d27781fcc73b8c3de8b

:red_circle: Please review

See the :open_file_folder: files view, the :scroll:action log, or :memo: job summary for details.

Unrecognized words (1318) ``` aaaa aaaf aab aabee aabf aac aacba aacc aacea aad aaddeab aae aaeaececace aaec aaf aaff abbae abcd abcdefghijklmnopqrstuvwxyz abe abf abfc abff aca acaa acab acaf ACAWK acb acbba acbce acbef accb accbf accd acconfig acd acdd acea acecd ACEOF acf acinclude aclocal ada adab adacfa adb adbaa adbb adbe adcbbd adcce adedd adf adfd aea aeabccdf aeac aeb aebdf aec aed aee aef aefb aefbba afafb afafba afbb afbd afc afcb afe affaff Affero afsws albundy alnum AMFLAGS AMTAR anewconfig anotherchild anothersource antoneliasson api arglist args ARGV ASBOX asciiphil ASEOF assignements astring ASUNAME atj attr austingroupbugs autocommit autoconf autocreation autom automake autoreconf autoscrub autotools availablility baaa babc bace backupplan backupset badb baf bafdc bak Balert bashism bbac bbb bbba bbbdf bbbe bbc bbcb bbce bbd bbdb bbdeb bbe bbf bbfc bbfe bbff bca bcabc bcaf bcafdd bcb bcc bccaed bcccb bccd bcda bceb bcecb bcee bcfccc Bcreate bda bdaa bdacb bdb bdbbf bdc bdce bdcf bdd bdda bddcf Bdebug bdeff Bdelete bdf bdfece bea beabbdd beb bebb bedbf bedc Bedit beec befbaa Benter bentertain bergulian Berr Bexport bfa bfab bfad bfb bfc bfca bfcc bfce bfd bfdfe bfe bff bffe bfff Bimport bindir Binfo blib Bnoaction Bnot booleanish bootblocks bpatsubst Bpidfile Bpost Bpre bserv Bsyslog buffersize bugfix BUGREPORT bui buil builddir butlast Bwarning bzip Bznapzend Bznapzendzetup Bznapzendztatz caa caab cabf cac cacb cach cadb caddb cae caebfe caee cafcfab cafdd cafddfe cafeccaeb cange cba cbaac cbae cbaec cbb cbbd cbc cbd cbdd cbe cbea cbefa cbfc cca ccac ccae ccbe ccc cccd ccd ccdcc cce cced ccf cda cdad cdaeb cdb cdbcdeea cdbfe cdcb cdd cddb cddd cdde cddf cde cdec cdfaafc cdff cdffaed CDPATH cea ceaf ceafe ceb cec ced cedde ceeb ceebab ceecf ceef cef cefba cfa cfabe cfb cfbd cfcbcfd cfe cfed cff cfff cfg CFLAGS changelog chdir checkinstall chf chgrp chgrpcmd chgrpprog childds chkconfig chmod chmodcmd chmodprog chof chown chowncmd chownprog chrisridd christo CLICOLOR cmdfail cmds cmp cmpprog cnf codebase codepath cois commandline compat compgen Complilation COMPREPLY condrestart confcache confdefs confdir confi config conftemp conftest conftools CONNEC Consor coprs copyleft coredumps coreutils cpan cpanm cpanmin cpanminus cpio cpp CPPFLAGS cpprog crfl cron crt cscope CSCOPEFLAGS cscopelist ctags CTAGSFLAGS CURDIR cwd CWORD CXX cygpath cygwin daa daad daba dabc dabf dac daccb dadc daded dadfbd daed daemonize daemonized daf dafb dashdash datad datadi datadir datar dataro dataroo dataroot datarootd datarootdi datarootdir datastream dba dbab dbacc dbacf dbb dbba dbbb dbbff dbc dbcb dbcbcc dbce dbd dbdd dbe dbf dcac dcafee dcbe dcc dccc dcd dcdaa dcdc dce dcee dcf dcfcdf ddae ddb ddc ddcc ddcf ddd dddacf dddb dddd dddf dde ddeb ddec ddf ddfaddc ddfd ddfe deaa deaab debb debd debian debu decfcd ded dede deeaefda defcf deffd defn defun depcomp dependecy dependeny depfiles deps dest destdir destfail destorying dfa dfaa dfb dfca dfcd dfda dfde dfe dfeba dfec dfed dfee dff dglushenok dickson dirname dirs distcheck distclean distcleancheck distdir DISTFILES distro dists distuninstallcheck DJDIR DJGPP dmp dnf dnl docdi docdir DOCTYPE docu DOITPROG dominik domnik donotask dryrun dse dspmsg dst dstdir dstds DSTFILE dstname dsttmp DTDs DTRT DUALCASE dummydataset Dungen dvi dvid dvidi dvidir dylan eaa eaab eab eabe eabedbaeacc eac eacaf eade eae eaf eafd eafff eba ebad ebbad ebbb ebca ebcb ebd ebdbcfc ebe ebebe ebf ebuild eca ecae ecc eccc ecd ecde ece eced eceeb ecf eckels eda edaad edac edb edbaac edc edcfa edd eddfe ede edeba edec ededad edede edef edf edffd EDm edouard edu eea eeabba eeaf eeb eebae eec eeca eecbcccc eed eedbe eede eee eeea eef efa efaa efb efbade efbdc efbf efc efcbf efcd efd efe efebb effc effec Eliasson elif Elmar elsif Emacs enableval endif ENOMEM environement envvar EOL EPREFIX epruesse errmsg erroring esac esyscmd etags ETAGSFLAGS eventloop exe executables exeext exitcode exitstatus exitval Explicitely expr extist EXTRADIST extrasub faa faab faac faad fabdbf fabe fadfb faeb faecf faf failcom fba fbae fbb fbba fbbb fbc fbca fbcf fbd fbde fbdffce fbea fbed fbf fbfc fbfcaa fca fcaba fcb fcbee fcbf fcc fccb fccd fcd fcddf fcec fcef fcf fda fdadb fdadf fdae fdb fdbbc fdbd fdc fdcc fdd fddc fde fdeb fdef fdf fdfb fdfbf fea fead feaf feb fedc fedd fede fedorainfracloud fedoraproject feeaf feedad feeeeb feefb fefd fefdcbfa ffb ffbfa ffc ffcdc ffd ffdb ffde ffdf ffe ffea fff fffaf fffcdbef fffd fffe FHL FHLC fhp filehandle filepath fileset filesystem fileutils FIXME flaged flg flixman fmri fnord foreach forkcall FPATH freenode frubar fsf gcc gdb generatable gerczei Getopt getsysinfo ggrep ghanima ginstall github gitlab gmail gmake gmkdir gmtime gmx gnumake gnutar gotchas GPATH grantwwu greggbg gregy grep griffith GRTAGS GSYMS gtags gtar gunzip guyz gzip hadfl hashpointers Hassler haystask healthian Heitm heitmueller HMSz hos hostinfo hostname htm html htmld htmldi htmldir http Icommand Icreate Idataset Idestroy Idocuments Iexport Ifacility ifdef Ifeature IFELSE Ifilepath ifndef ifset ifval igncr Ihome iki Ilimited illumos ilm imandir img implem inclu includ includedi includedir infod infodi infodir informatique ings inh inheritedattr initialising initscripts installbsd installcheck installdirs installinfo Inumber invokation Inztructionz ioloop Ioptions Ipath Ipictures irc Irecursive IRIX iro isa Isnapshots Isources isrc issuecomment Itank Ithirdparty Itimeout Iusbbackup Iuser Ivalue Iznapzendzetup jamesmarsh jimklimov JMo justinscholz karssen kauffman keepgoing keylen killproc Klimov kngnt ksh Kuzmarski launchctl launchd Lce lckarssen LDFLAGS len Lennart leoj lgpl libd libdi libdir libe libex libexe libexec libexecd libexecdi libexecdir libobj LIBOBJDIR librar librari librarie lineno linux listds listfiles listsnapshots localattr localedi localedir localhost localst localsta localstat localstate localstatedi localstatedir localtime loctext logfile loglevel logto lotheac lowmem lpr lsb ltlibobjs ltrim lzip machanics MAILPATH MAINPID Makefiles makeflags makeinfo MAKELEVEL malc manpage manpath manuel mariadb mariadblock mbuffer mbuffersize MConfig MDevel metaworx MExt Meyering MFLAGS MIO missingpool mkdir mkdirprog mkid mkinstalldirs mktemp mline modled mojolicious morphsen mostlyclean MSYS mvcmd mvprog MYMETA mysql nahall NAL nameing namespace nawk neccessary newcfgdata nfields nfp noaction nobase nodelay nodestroy nodoc NOEXIT NOEXPORT NONINFRINGEMENT noreply nosets nostdinc notest NOTMAKE nroff NULLCMD nytprof OBJC OBJCXX objext oep oetiker oldi oldin oldinc oldincl oldinclu oldinclud oldinclude oldincludedi oldincludedir openlog optarg orepan oslevel oss OSX pak parseable partcular passwordless pdf pdfd pdfdi pdfdir pdksh perl pfexec Phlogi php pid pidfile pkgdatadir pkgincludedir pkglibdir pkglibexecdir pkglicense pkgname pkgonly pkgrelease pkgsource pkgversion pkill plaintar plist pobox polyomica poolname posix prebuild prebuilt precmd prefi PREREQ previosuly printf printsrc PROGNAME progr propval Pruesse psd psdi psdir pstcmd pulsewidth pwd pwplus qdir qprefix quie qwe rageltman rczei readme rech reche rechec recu recursi recursio recv recvu redhat reeboot reexec refactor regen regex regexes regexp reldir renard respawn respinn RETVAL RHEL Ridd rmcmd rmdir rmprog rmtmp ron rueegg runing runlevel runonce runst runsta runstat runstate runstatedi runstatedir rwilkey rwx sbi sbin sbind sbindi sbindir schould scoinst scriptversion sdir selftest sempervictus sens sepcific setopt setsid sfw shar shareds sharedst sharedsta sharedstat sharedstate sharedstatedi sharedstatedir shaun shellwords shess shoul shtool SIGHUP SIGINT SIGKILL SIGTERM simplifie smf smv solaris sourced sourceforge sourcetype Specifiy src srcame srcd srcdi srcdir srcdirstrip srcenabled srcenabledsuffix srcfile srcname srcsuffix ssh standalone startd startstop stderr stdin stdout stefan strftime stripcmd stripprog strptime subdataset subdir subfolder substed substr subsys sudo sudoers suffi supress svcadm svccfg svcdir svcinstall SVCINSTALLDIR svcname svg sylvain symlink sys sysc sysco syscon sysconf sysconfd sysconfdi sysconfdir syslog syslogstyle systemctl systemd sysv tabledata tarball tardir tarfile targ TARNAME tattr tempfile templated testbird testmode testsuite texi texinfo tgerczei thining thirdparty Thu timeslot timewarp tinherit TION Tirkkonen tisc tiscarabee tium tlowmem tmp tmpdir tobi todo topsrcdirstrip trailopt tran transfo transfor trecurse troff tsformat tzoffset ubuntu ucb uchicago uid Ultrix umask umontreal uname uncomment uncompress unconfigured undef Unicode uninstall uniq uniquify unneccessary unshar unsubscribe untars url usbbackup usedbysnapshot username useropt userprop usr ustar UTF Utils UWIN varname verbo versi versio vpath vpsub vroff waitpid wget whitespaces Wiedenroth wiedi windoz wip withval WNOHANG workaround wouter www xargs xcode xfiles xml xno xpg xset XXXXXX xyes yacc yandex Ymd yml Zends zet zetup zfs zfsonlinux zfsutils zfsutilsdep znap znapzend ZNAPZENDOPTIONS znapzendsetup ZNAPZENDTEST znapzendzetup znapzendztats znapzendztatz zpool zsh ztatz zxvf ```
Some files were automatically ignored :see_no_evil: These sample patterns would exclude them: ``` ^AUTHORS$ ``` You should consider adding them to: ``` .github/workflows//spelling/excludes.txt ``` File matching is via Perl regular expressions. To check these files, more of their words need to be in the dictionary than not. You can use `patterns.txt` to exclude portions, add items to the dictionary (e.g. by adding them to `allow.txt`), or fix typos.
To accept these unrecognized words as correct and update file exclusions, you could run the following commands ... in a clone of the [https://github.com/oetiker/znapzend](https://github.com/oetiker/znapzend) repository on the `master` branch ([:information_source: how do I use this?]( https://github.com/check-spelling/check-spelling/wiki/Accepting-Suggestions)): ``` sh 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/7821897960/attempts/1' ```
Available :books: dictionaries could cover words not in the :blue_book: dictionary Dictionary | Entries | Covers | Uniquely -|-|-|- [cspell:software-terms/dict/softwareTerms.txt](https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20230509/dictionaries/software-terms/dict/softwareTerms.txt)|1288|83|19| [cspell:python/src/python/python-lib.txt](https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20230509/dictionaries/python/src/python/python-lib.txt)|2417|68|9| [cspell:php/dict/php.txt](https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20230509/dictionaries/php/dict/php.txt)|1689|68|8| [cspell:node/dict/node.txt](https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20230509/dictionaries/node/dict/node.txt)|891|57|7| [cspell:r/src/r.txt](https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20230509/dictionaries/r/src/r.txt)|543|31|7| Consider adding them (in `.github/workflows/spelling.yml`): ``` yml with: extra_dictionaries: cspell:software-terms/dict/softwareTerms.txt cspell:python/src/python/python-lib.txt cspell:php/dict/php.txt cspell:node/dict/node.txt cspell:r/src/r.txt ``` To stop checking additional dictionaries, add (in `.github/workflows/spelling.yml`): ``` yml check_extra_dictionaries: '' ```
Warnings (1) See the [:open_file_folder: files](null/files/) view, the [:scroll:action log](https://github.com/oetiker/znapzend/actions/runs/7821897960/job/21339831651#step:3:1), or [:memo: job summary](https://github.com/oetiker/znapzend/actions/runs/7821897960/attempts/1#summary-21339831651) for details. [:information_source: Warnings](https://github.com/check-spelling/check-spelling/wiki/Event-descriptions) | Count -|- [:information_source: noisy-file](https://github.com/check-spelling/check-spelling/wiki/Event-descriptions#noisy-file) | 1 See [:information_source: Event descriptions](https://github.com/check-spelling/check-spelling/wiki/Event-descriptions) for more information.
stale[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.