Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Tabelle für Backupverlauf

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    Tabelle für Backupverlauf

    This topic has been deleted. Only users with topic management privileges can see it.
    • David G.
      David G. last edited by David G.

      Hallo,

      ich versuche mir grade eine Tabelle für den Backupverlauf zu erstellen.

      Leider stimmt da was nicht.
      Die Schleife wiederholt sich locker 200 mal.
      Der Inhalt besteht nur aus den Tabellenteilen ohne die Variablen mit den Daten.

      Sieht einer den Fehler?

      Screenshot_20220212-140258_Chrome.jpg

      Export:

      <xml xmlns="https://developers.google.com/blockly/xml">
       <variables>
         <variable id="D?f8d1}yqMAQtN6*#D[=">tabelle_backup</variable>
         <variable id="`Gx:t#j6V|d3X;um-a*O">Liste_backup</variable>
         <variable id="qBavb}BH]gCu?^|_[#d+">i</variable>
         <variable id="e611AD9uF^v98HFpN4=b">obj_backup</variable>
         <variable id="k-n-/t=xT{X6,mPRsT(M">datum</variable>
         <variable id="SL/R/)aq*FUQ0^X`Wu9[">quelle</variable>
         <variable id="Z1{kN?pgEdRgO~H8YyV5">ziel</variable>
       </variables>
       <block type="on" id="v)Zqh[l{w5?cEUfP,?xz" x="62" y="62">
         <field name="OID">backitup.0.history.json</field>
         <field name="CONDITION">ne</field>
         <field name="ACK_CONDITION"></field>
         <statement name="STATEMENT">
           <block type="variables_set" id="h1IOb.lR,!LeVcd(XzEu">
             <field name="VAR" id="D?f8d1}yqMAQtN6*#D[=">tabelle_backup</field>
             <value name="VALUE">
               <block type="text" id="flo+i`GppGgKiXd(h;Na">
                 <field name="TEXT"></field>
               </block>
             </value>
             <next>
               <block type="variables_set" id="A8yxY$}r=+2{Q8`vjqdI">
                 <field name="VAR" id="`Gx:t#j6V|d3X;um-a*O">Liste_backup</field>
                 <value name="VALUE">
                   <block type="get_value" id="1q8Ifw*_70B|esm(C@Da">
                     <field name="ATTR">val</field>
                     <field name="OID">backitup.0.history.json</field>
                   </block>
                 </value>
                 <next>
                   <block type="controls_for" id="f.#,Y7Pmow~n{J/;8Jv,">
                     <field name="VAR" id="qBavb}BH]gCu?^|_[#d+">i</field>
                     <value name="FROM">
                       <shadow type="math_number" id="d(zGP@FUd5lGx7a*XDaP">
                         <field name="NUM">1</field>
                       </shadow>
                     </value>
                     <value name="TO">
                       <shadow type="math_number" id="z3#XH-)!!ssABeZ/MxsD">
                         <field name="NUM">10</field>
                       </shadow>
                       <block type="lists_length" id="hRN5Il/8[|m*dK|[|(-2">
                         <value name="VALUE">
                           <block type="variables_get" id="1yZP$9?O+H4LQBUP?pwk">
                             <field name="VAR" id="`Gx:t#j6V|d3X;um-a*O">Liste_backup</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="BY">
                       <shadow type="math_number" id="]jF#y=5PFQ8..Kwk[jx!">
                         <field name="NUM">1</field>
                       </shadow>
                     </value>
                     <statement name="DO">
                       <block type="variables_set" id="Zc#Uo-du@LJxElhgsb/u">
                         <field name="VAR" id="e611AD9uF^v98HFpN4=b">obj_backup</field>
                         <value name="VALUE">
                           <block type="lists_getIndex" id="O,1Y1$lf4U1P#DmMrRZK">
                             <mutation statement="false" at="true"></mutation>
                             <field name="MODE">GET</field>
                             <field name="WHERE">FROM_START</field>
                             <value name="VALUE">
                               <block type="variables_get" id="vulF69{ihnD*D0l0Cs?Q">
                                 <field name="VAR" id="`Gx:t#j6V|d3X;um-a*O">Liste_backup</field>
                               </block>
                             </value>
                             <value name="AT">
                               <block type="variables_get" id="?NP*J4k/|`C5j_PxXE^S">
                                 <field name="VAR" id="qBavb}BH]gCu?^|_[#d+">i</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <next>
                           <block type="variables_set" id="}^xayayF*2OyBHtG.bR,">
                             <field name="VAR" id="k-n-/t=xT{X6,mPRsT(M">datum</field>
                             <value name="VALUE">
                               <block type="get_attr" id="zd~2E+7@myRY(!u$E91=">
                                 <value name="PATH">
                                   <shadow type="text" id=".*qh;$XA%iYiuNsK/c-A">
                                     <field name="TEXT">timestamp</field>
                                   </shadow>
                                 </value>
                                 <value name="OBJECT">
                                   <block type="variables_get" id="60|2{Hsxfv^k4;wsPICV">
                                     <field name="VAR" id="e611AD9uF^v98HFpN4=b">obj_backup</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <next>
                               <block type="variables_set" id="Eisu*85eL:9Wh^jj+oje">
                                 <field name="VAR" id="SL/R/)aq*FUQ0^X`Wu9[">quelle</field>
                                 <value name="VALUE">
                                   <block type="get_attr" id="z.}K4YQ5!~jfugKg2^VX">
                                     <value name="PATH">
                                       <shadow type="text" id="V#51ggRlT4a(:Z#Ll0SS">
                                         <field name="TEXT">"type"</field>
                                       </shadow>
                                     </value>
                                     <value name="OBJECT">
                                       <block type="variables_get" id="#[%FnHsXLqf[Oa2Y^BP?">
                                         <field name="VAR" id="e611AD9uF^v98HFpN4=b">obj_backup</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="variables_set" id="9X53iyYkR*VwpT%;wUv*">
                                     <field name="VAR" id="Z1{kN?pgEdRgO~H8YyV5">ziel</field>
                                     <value name="VALUE">
                                       <block type="get_attr" id="Qu1?S+tFrKfm8(3d`TCC">
                                         <value name="PATH">
                                           <shadow type="text" id="}W~oB8?]N3o1w{xEOyte">
                                             <field name="TEXT">storage</field>
                                           </shadow>
                                         </value>
                                         <value name="OBJECT">
                                           <block type="variables_get" id="G$Bh_;0Qp[lwvX$.(eke">
                                             <field name="VAR" id="e611AD9uF^v98HFpN4=b">obj_backup</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="variables_set" id="X-yrWEzIo6*zE(}u-j4L">
                                         <field name="VAR" id="D?f8d1}yqMAQtN6*#D[=">tabelle_backup</field>
                                         <value name="VALUE">
                                           <block type="text_join" id="h8pOkCzPMiozF(UN0nR_">
                                             <mutation items="8"></mutation>
                                             <value name="ADD0">
                                               <block type="variables_get" id="-2+VbDoY8;K+;56BC5)6">
                                                 <field name="VAR" id="D?f8d1}yqMAQtN6*#D[=">tabelle_backup</field>
                                               </block>
                                             </value>
                                             <value name="ADD1">
                                               <block type="text" id="~VVBMggtBnL*J!H:`{gw">
                                                 <field name="TEXT">&lt;tr&gt;&lt;td&gt;</field>
                                               </block>
                                             </value>
                                             <value name="ADD2">
                                               <block type="variables_get" id="Aq6*ZXnZNtv2@bYp%s}F">
                                                 <field name="VAR" id="k-n-/t=xT{X6,mPRsT(M">datum</field>
                                               </block>
                                             </value>
                                             <value name="ADD3">
                                               <block type="text" id="K|.#yJX+xWaYb5p)=CBx">
                                                 <field name="TEXT">&lt;/td&gt;&lt;td&gt;</field>
                                               </block>
                                             </value>
                                             <value name="ADD4">
                                               <block type="variables_get" id="$ebRGAEm}MP@n5p-wn;T">
                                                 <field name="VAR" id="SL/R/)aq*FUQ0^X`Wu9[">quelle</field>
                                               </block>
                                             </value>
                                             <value name="ADD5">
                                               <block type="text" id="-ZxZ:qZfJ]GVI_!3/uUI">
                                                 <field name="TEXT">&lt;/td&gt;&lt;/tr&gt;</field>
                                               </block>
                                             </value>
                                             <value name="ADD6">
                                               <block type="variables_get" id="B}3CA12z-LyRwh2Rj(G~">
                                                 <field name="VAR" id="Z1{kN?pgEdRgO~H8YyV5">ziel</field>
                                               </block>
                                             </value>
                                             <value name="ADD7">
                                               <block type="text" id="1M3zK-9DP]slw2G|G.R;">
                                                 <field name="TEXT">&lt;/td&gt;&lt;/tr&gt;</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </statement>
                     <next>
                       <block type="update" id="B[!Fjpa|_R1z$s0|X*0c">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                         <field name="OID">0_userdata.0.VIS.Tabellen.Backup</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="text_join" id=".]flS_;xn3uTGPwjxvVx">
                             <mutation items="3"></mutation>
                             <value name="ADD0">
                               <block type="text" id="+(Y$S8OmE;U+BWlOofQk">
                                 <field name="TEXT">&lt;table&gt;&lt;tr&gt;&lt;th width=100 align=left&gt;Datum&lt;/th&gt; &lt;th width=600 align=left&gt;Quelle&lt;/th&gt;&lt;th width=100 align=left&gt;Ziel&lt;/th&gt;&lt;tr&gt;&lt;td colspan="3"&gt;&lt;hr&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&#10;</field>
                               </block>
                             </value>
                             <value name="ADD1">
                               <block type="variables_get" id="5=Wp9Ea@]FR.}^s9nW~]">
                                 <field name="VAR" id="D?f8d1}yqMAQtN6*#D[=">tabelle_backup</field>
                               </block>
                             </value>
                             <value name="ADD2">
                               <block type="text" id="AzcVKlc(Q_rjxOh5r$r=">
                                 <field name="TEXT">&lt;/table&gt;</field>
                               </block>
                             </value>
                           </block>
                         </value>
                       </block>
                     </next>
                   </block>
                 </next>
               </block>
             </next>
           </block>
         </statement>
       </block>
      </xml>
      

      Sie sieht die json die verarbeitet wird aus:

      [{"date":"12. Februar 2022 um 11:30 Uhr","name":"iobroker_2022_02_12-11_29_10_backupiobroker.tar.gz","type":"iobroker","storage":["FTP","Dropbox","Google Drive"],"filesize":"8MB","error":"none","timestamp":1644661832215},{"date":"12. Februar 2022 um 11:23 Uhr","name":"homematic_2022_02_12-11_23_20_3.61.7_backupiobroker.tar.sbk","type":"ccu","storage":["FTP","Dropbox","Google Drive"],"filesize":"1MB","error":"none","timestamp":1644661413209},{"date":"12. Februar 2022 um 11:19 Uhr","name":"iobroker_2022_02_12-11_18_41_backupiobroker.tar.gz","type":"iobroker","storage":["FTP","Dropbox","Google Drive"],"filesize":"8MB","error":"none","timestamp":1644661199596}]
      

      EDIT:
      Das type hatte ich zum testen mal in "" gesetzt.

      paul53 1 Reply Last reply Reply Quote 0
      • paul53
        paul53 @David G. last edited by

        @david-g sagte: Sie sieht die json die verarbeitet wird aus:

        Du musst erst JSON in ein Array wandeln.

        Bild_2022-02-12_142251.png

        David G. 1 Reply Last reply Reply Quote 0
        • David G.
          David G. @paul53 last edited by David G.

          @paul53

          Danke, das war.
          Hatte eine andere Tabelle abgewandelt für Werte vom ical-Adapter. Da war das nicht nötig....

          EDIT:
          Das ist der aktuelle Stand.
          Poste das Skript wenn es fertig ist.
          Im Moment sind auch Fehlgeschlagene Backups grün. Liegt aber an der json. Die behauptet immer, dass keine Fehler aufgetreten sind auch wenn es einen gab....

          Screenshot_20220212-151912_Fully Kiosk Browser.jpg

          1 Reply Last reply Reply Quote 0
          • David G.
            David G. last edited by

            Bin jetzt fertig.

            So sieht es jetzt aus.
            Screenshot_20220213-204620_Fully Kiosk Browser~2.jpg

            Fehlerhafte Backups werden rot hervorgehoben (ab BackupIt 2.3.2).
            Oben die Zeile mit dem Fehler, bezieht sich immer auf den letzten Fehler den es bei einem Backup gab.
            Wenn im Verlauf kein Fehler zu finden ist verschwindet die Zeile komplett.

            Anbei das Skript:


            Screenshot_20220213-220626_Chrome.jpg

            <xml xmlns="https://developers.google.com/blockly/xml">
              <variables>
                <variable id="]qSnf%4zxqWestQA_|w8">fehlermerker</variable>
                <variable id="D?f8d1}yqMAQtN6*#D[=">tabelle_backup</variable>
                <variable id="`Gx:t#j6V|d3X;um-a*O">Liste_backup</variable>
                <variable id="Z^[~#Xa,tDAQ3.@!Xbxm">text_fehler</variable>
                <variable id="qBavb}BH]gCu?^|_[#d+">i</variable>
                <variable id="e611AD9uF^v98HFpN4=b">obj_backup</variable>
                <variable id="k-n-/t=xT{X6,mPRsT(M">datum</variable>
                <variable id="SL/R/)aq*FUQ0^X`Wu9[">quelle</variable>
                <variable id="Z1{kN?pgEdRgO~H8YyV5">ziel</variable>
                <variable id="*pm.4^0iJwGj}mMQ4I[-">groesse</variable>
                <variable id="tANAQ$rrD@HIgv7#S9%{">fehler</variable>
                <variable id="cVu:k[|gr`TFk49Y45b{">Fehler_farbe</variable>
              </variables>
              <block type="on" id="GRUtF4Vs$g$HKYsBwXbg" x="137" y="62">
                <field name="OID">backitup.0.history.json</field>
                <field name="CONDITION">ne</field>
                <field name="ACK_CONDITION"></field>
                <statement name="STATEMENT">
                  <block type="variables_set" id="VRrH6vTW^BV2S3NFhWn[">
                    <field name="VAR" id="]qSnf%4zxqWestQA_|w8">fehlermerker</field>
                    <value name="VALUE">
                      <block type="math_number" id="rX1K5mOtK}~F[K2OKx2G">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="GTi,dk[?$E8{v,?U9^t=">
                        <field name="VAR" id="D?f8d1}yqMAQtN6*#D[=">tabelle_backup</field>
                        <value name="VALUE">
                          <block type="text" id="fzPH]P`L^.p2NN)7!?g~">
                            <field name="TEXT"></field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id=":iNu7teVft6eRy,X^]ji">
                            <field name="VAR" id="`Gx:t#j6V|d3X;um-a*O">Liste_backup</field>
                            <value name="VALUE">
                              <block type="convert_json2object" id="OO+bET).IEq0kh3WH[jQ">
                                <value name="VALUE">
                                  <block type="get_value" id="B!+`v=fag5bPjiaD6QAJ">
                                    <field name="ATTR">val</field>
                                    <field name="OID">backitup.0.history.json</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="z9^tj?~?V(A*$?3KH)T|">
                                <field name="VAR" id="Z^[~#Xa,tDAQ3.@!Xbxm">text_fehler</field>
                                <value name="VALUE">
                                  <block type="text" id="X1Xa/ol{r(DS)+f6$#@{">
                                    <field name="TEXT"></field>
                                  </block>
                                </value>
                                <next>
                                  <block type="controls_for" id="2W=RDigLBBxs_B`0PsDM">
                                    <field name="VAR" id="qBavb}BH]gCu?^|_[#d+">i</field>
                                    <value name="FROM">
                                      <shadow type="math_number" id="zm@(S,gLm}#wHyn5Qq9}">
                                        <field name="NUM">1</field>
                                      </shadow>
                                    </value>
                                    <value name="TO">
                                      <shadow type="math_number" id="z3#XH-)!!ssABeZ/MxsD">
                                        <field name="NUM">10</field>
                                      </shadow>
                                      <block type="lists_length" id="hRN5Il/8[|m*dK|[|(-2">
                                        <value name="VALUE">
                                          <block type="variables_get" id="1yZP$9?O+H4LQBUP?pwk">
                                            <field name="VAR" id="`Gx:t#j6V|d3X;um-a*O">Liste_backup</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="BY">
                                      <shadow type="math_number" id="le!N,+DCszazCe]Qau!I">
                                        <field name="NUM">1</field>
                                      </shadow>
                                    </value>
                                    <statement name="DO">
                                      <block type="variables_set" id="7r=57B2@)7a6p9]b%Z)P">
                                        <field name="VAR" id="e611AD9uF^v98HFpN4=b">obj_backup</field>
                                        <value name="VALUE">
                                          <block type="lists_getIndex" id="-OJU56A=[1^raGq,Y:2^">
                                            <mutation statement="false" at="true"></mutation>
                                            <field name="MODE">GET</field>
                                            <field name="WHERE">FROM_START</field>
                                            <value name="VALUE">
                                              <block type="variables_get" id="dX!4d0zd98)/^}=qd;}T">
                                                <field name="VAR" id="`Gx:t#j6V|d3X;um-a*O">Liste_backup</field>
                                              </block>
                                            </value>
                                            <value name="AT">
                                              <block type="variables_get" id="HHJAf(!k=Bx~%n,NaT!Z">
                                                <field name="VAR" id="qBavb}BH]gCu?^|_[#d+">i</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="*`MOE53qLp/jRZ..5${D">
                                            <field name="VAR" id="k-n-/t=xT{X6,mPRsT(M">datum</field>
                                            <value name="VALUE">
                                              <block type="get_attr" id="zL|QH!2@5|qp8V(*@/[[">
                                                <value name="PATH">
                                                  <shadow type="text" id="iUO@mIvJ[n7[Uw;9I_Y$">
                                                    <field name="TEXT">timestamp</field>
                                                  </shadow>
                                                </value>
                                                <value name="OBJECT">
                                                  <block type="variables_get" id="F)DtA.MO@}Fq}n(Nb*us">
                                                    <field name="VAR" id="e611AD9uF^v98HFpN4=b">obj_backup</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="SjI]K#)3btO*JEXWYVT|">
                                                <field name="VAR" id="SL/R/)aq*FUQ0^X`Wu9[">quelle</field>
                                                <value name="VALUE">
                                                  <block type="get_attr" id="a[gS{x(~M`5`~xg{{erm">
                                                    <value name="PATH">
                                                      <shadow type="text" id="ZEH}dmsR_nZ!h7CR,LT[">
                                                        <field name="TEXT">type</field>
                                                      </shadow>
                                                    </value>
                                                    <value name="OBJECT">
                                                      <block type="variables_get" id="]9KWEjpt!.-kkU+7VPRU">
                                                        <field name="VAR" id="e611AD9uF^v98HFpN4=b">obj_backup</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="variables_set" id=";?kK7h!xomO@hYlyO--p">
                                                    <field name="VAR" id="Z1{kN?pgEdRgO~H8YyV5">ziel</field>
                                                    <value name="VALUE">
                                                      <block type="get_attr" id="!CL;Z5c.bt#eq|J}V%tv">
                                                        <value name="PATH">
                                                          <shadow type="text" id="l7l%wt.q[0=BS%c)k^c{">
                                                            <field name="TEXT">storage</field>
                                                          </shadow>
                                                        </value>
                                                        <value name="OBJECT">
                                                          <block type="variables_get" id="wOS,JN{51gT)2(e?UCSI">
                                                            <field name="VAR" id="e611AD9uF^v98HFpN4=b">obj_backup</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="variables_set" id=")rJW5JBMaBo)Zv{72PWP">
                                                        <field name="VAR" id="*pm.4^0iJwGj}mMQ4I[-">groesse</field>
                                                        <value name="VALUE">
                                                          <block type="get_attr" id="[;-VX?3QZ(58=gOjtb@:">
                                                            <value name="PATH">
                                                              <shadow type="text" id="Yt_{[RBj#fKB_uDW~)bc">
                                                                <field name="TEXT">filesize</field>
                                                              </shadow>
                                                            </value>
                                                            <value name="OBJECT">
                                                              <block type="variables_get" id="+A9Aa!IWd:Jt8-j3y_uC">
                                                                <field name="VAR" id="e611AD9uF^v98HFpN4=b">obj_backup</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="variables_set" id="Z}AorM|W3%t!ipRBFd]Y">
                                                            <field name="VAR" id="tANAQ$rrD@HIgv7#S9%{">fehler</field>
                                                            <value name="VALUE">
                                                              <block type="get_attr" id="eHbD4!_1Cq!qz]8O^|kK">
                                                                <value name="PATH">
                                                                  <shadow type="text" id="VMDEX]CJofgkS`vXmzej">
                                                                    <field name="TEXT">error</field>
                                                                  </shadow>
                                                                </value>
                                                                <value name="OBJECT">
                                                                  <block type="variables_get" id="}#b}2KKPE:y,GRNqZBe9">
                                                                    <field name="VAR" id="e611AD9uF^v98HFpN4=b">obj_backup</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="controls_if" id="hbf|_*4MvA0XpbQFW;RL">
                                                                <mutation else="1"></mutation>
                                                                <value name="IF0">
                                                                  <block type="logic_compare" id="ep?x-Vb*q65G6/C}p@+@">
                                                                    <field name="OP">EQ</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id="4#j=_cP+`JIc1GX`UxF4">
                                                                        <field name="VAR" id="tANAQ$rrD@HIgv7#S9%{">fehler</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="text" id="zHJcdK|6LJ~ysK])oLA$">
                                                                        <field name="TEXT">none</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="variables_set" id="ai(ZUR{`p?(g^zVW_jO8">
                                                                    <field name="VAR" id="cVu:k[|gr`TFk49Y45b{">Fehler_farbe</field>
                                                                    <value name="VALUE">
                                                                      <block type="text" id="J[ZXujIq{z,CQ!fx?yQc">
                                                                        <field name="TEXT">&lt;font color=green&gt;</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </statement>
                                                                <statement name="ELSE">
                                                                  <block type="variables_set" id="I)!ej_t_w?g~ZpGrFSp~">
                                                                    <field name="VAR" id="cVu:k[|gr`TFk49Y45b{">Fehler_farbe</field>
                                                                    <value name="VALUE">
                                                                      <block type="text" id="tt1[(5Rdu,U~~7OT{_F}">
                                                                        <field name="TEXT">&lt;font color=red&gt;</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="controls_if" id="z4Tv5U]z!a4@=;vnq?18">
                                                                        <value name="IF0">
                                                                          <block type="logic_compare" id="hlC{L+K,1yIAc+qMr[gl">
                                                                            <field name="OP">EQ</field>
                                                                            <value name="A">
                                                                              <block type="variables_get" id="vU6g|!Vybq+y66%0ry$s">
                                                                                <field name="VAR" id="]qSnf%4zxqWestQA_|w8">fehlermerker</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="math_number" id="#WU+b6zL{nml@V0-6PZr">
                                                                                <field name="NUM">0</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO0">
                                                                          <block type="variables_set" id="Y~cnW9Nv-oT(j[#4Vy|f">
                                                                            <field name="VAR" id="Z^[~#Xa,tDAQ3.@!Xbxm">text_fehler</field>
                                                                            <value name="VALUE">
                                                                              <block type="text_join" id="mmL{#zGyAZcsB@DUA8tO">
                                                                                <mutation items="3"></mutation>
                                                                                <value name="ADD0">
                                                                                  <block type="text" id="WCL}3)Z6xbTEjms*2V=/">
                                                                                    <field name="TEXT">Letzter Backupfehler - </field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="ADD1">
                                                                                  <block type="variables_get" id="$@4-2YXm`m4WTl:ibQa6">
                                                                                    <field name="VAR" id="tANAQ$rrD@HIgv7#S9%{">fehler</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="ADD2">
                                                                                  <block type="text" id="~tNyJQc{6`,2*U52T^*d">
                                                                                    <field name="TEXT">&lt;br&gt;</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="variables_set" id="Jp+ycblbyyzOnG?jk~D]">
                                                                                <field name="VAR" id="]qSnf%4zxqWestQA_|w8">fehlermerker</field>
                                                                                <value name="VALUE">
                                                                                  <block type="math_number" id="(sChNpn%eZd5R)cMf*Id">
                                                                                    <field name="NUM">1</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </statement>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                                <next>
                                                                  <block type="variables_set" id=")m^3{dQ4fQw]`f9*[xzT">
                                                                    <field name="VAR" id="D?f8d1}yqMAQtN6*#D[=">tabelle_backup</field>
                                                                    <value name="VALUE">
                                                                      <block type="text_join" id="#O_?iv,ZUg9:@%.2AU)Q">
                                                                        <mutation items="11"></mutation>
                                                                        <value name="ADD0">
                                                                          <block type="variables_get" id="[J*^[oB}-wyiUO^n1P0@">
                                                                            <field name="VAR" id="D?f8d1}yqMAQtN6*#D[=">tabelle_backup</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD1">
                                                                          <block type="text" id="^=*L/b5/+k_J!k=|4|Ux">
                                                                            <field name="TEXT">&lt;tr&gt;&lt;td&gt;</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD2">
                                                                          <block type="convert_from_date" id="bp{kgd{F2]vLMLJrzCE{">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
                                                                            <field name="OPTION">custom</field>
                                                                            <field name="FORMAT">TT.MM SS:mm</field>
                                                                            <value name="VALUE">
                                                                              <block type="variables_get" id="g(WgLYjyr~b7@sq|gLn*">
                                                                                <field name="VAR" id="k-n-/t=xT{X6,mPRsT(M">datum</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD3">
                                                                          <block type="text" id="}x#IN[hn2k=+ys=^qs-E">
                                                                            <field name="TEXT">&lt;/td&gt;&lt;td&gt;</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD4">
                                                                          <block type="variables_get" id="B??|SW~rp_;UIaBbqLu)">
                                                                            <field name="VAR" id="cVu:k[|gr`TFk49Y45b{">Fehler_farbe</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD5">
                                                                          <block type="variables_get" id="3rY=!qo-ZSKH{PPSqtwP">
                                                                            <field name="VAR" id="SL/R/)aq*FUQ0^X`Wu9[">quelle</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD6">
                                                                          <block type="text" id=":,]a=72.ag@1Pcem$_kK">
                                                                            <field name="TEXT"> &lt;/font&gt;&lt;/td&gt;&lt;td&gt;</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD7">
                                                                          <block type="variables_get" id="A?)+ys55pGGHpsUeCctk">
                                                                            <field name="VAR" id="*pm.4^0iJwGj}mMQ4I[-">groesse</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD8">
                                                                          <block type="text" id="?r}yw(Q[`02:DUP3bcUA">
                                                                            <field name="TEXT">&lt;/td&gt;&lt;td&gt;</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD9">
                                                                          <block type="variables_get" id="q0M8+,ELR{Rq}lE$#T7_">
                                                                            <field name="VAR" id="Z1{kN?pgEdRgO~H8YyV5">ziel</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD10">
                                                                          <block type="text" id="T_uN%,Dhtl-J1c*KqIpX">
                                                                            <field name="TEXT">&lt;/td&gt;&lt;/tr&gt;</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="update" id="1=d#lLZ4le*e1#_#;n{/">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">0_userdata.0.VIS.Tabellen.Backup</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="text_join" id="H]6pVar:omjEqZQ|ASft">
                                            <mutation items="4"></mutation>
                                            <value name="ADD0">
                                              <block type="variables_get" id="lZ7;pMQ|^:-eQBxd#Lf.">
                                                <field name="VAR" id="Z^[~#Xa,tDAQ3.@!Xbxm">text_fehler</field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="text" id="ji)pPpja_KiJk?2%WY./">
                                                <field name="TEXT">&lt;table width="100%"&gt;&lt;tr&gt;&lt;th width="85px" align=left&gt;Datum&lt;/th&gt; &lt;th align=left&gt;Quelle&lt;/th&gt;&lt;th align=left&gt;Größe&lt;/th&gt;&lt;th align=left&gt;Ziel&lt;/th&gt;&lt;tr&gt;&lt;td colspan="4"&gt;&lt;hr&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &#10;</field>
                                              </block>
                                            </value>
                                            <value name="ADD2">
                                              <block type="variables_get" id="=[CSjfu.DUzr-dFSgn?u">
                                                <field name="VAR" id="D?f8d1}yqMAQtN6*#D[=">tabelle_backup</field>
                                              </block>
                                            </value>
                                            <value name="ADD3">
                                              <block type="text" id="KxUF:wWwdcR*f*Nds3zz">
                                                <field name="TEXT">&lt;/table&gt;</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </xml>
            

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Support us

            ioBroker
            Community Adapters
            Donate

            815
            Online

            32.0k
            Users

            80.5k
            Topics

            1.3m
            Posts

            2
            4
            157
            Loading More Posts
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes
            Reply
            • Reply as topic
            Log in to reply
            Community
            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
            The ioBroker Community 2014-2023
            logo