Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter ioBroker.backitup v3.1.x

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter ioBroker.backitup v3.1.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      ente34 @simatec last edited by

      @simatec
      Man könnte auch die admin Seite "härten", bei Spielereien hatte ich mal denselben Fehler:

              function getName(name) {
                  var parts = name.split('_');
                  if (parseInt(parts[0], 10).toString() !== parts[0]) {
                      parts.shift();
                  }
                  //prevent exception if split fails
                  if (parts.length >= 4)
                  {
                      return new Date(
                          parts[0],
                          parseInt(parts[1], 10) - 1,
                          parseInt(parts[2].split('-')[0], 10),
                          parseInt(parts[2].split('-')[1], 10),
                          parseInt(parts[3], 10)).toLocaleString().replace(/:00$/, '');
                  }
                  //Jan 01 1970 00:00:00 target with size 0 bytes
                  return new Date(0);
              }
      
      
      1 Reply Last reply Reply Quote 0
      • gelberlemmy
        gelberlemmy @simatec last edited by

        @simatec Guten Morgen, ich habe aktuell mit dem IoBroker dieverse Probleme. Habe natürlich genügend Backups zu Wiederherstellung. Kann ich eigentlich das Backup einfach über mein altes System laufen lassen? Ich weiss, wurde bestimmt 100 mal bereits gefragt, nur finde ich es gerade nicht. O
        Oder was passiert dort beim Redtore auf dem alten System?

        simatec 1 Reply Last reply Reply Quote 0
        • sigi234
          sigi234 Forum Testing Most Active @simatec last edited by sigi234

          @simatec

          Hallo, bekomme immer eine Fehler Meldung per Mail von Jarvis wenn es per Cron gestartet wird.
          Wenn ich es Manuel starte sollte es aber laut Log passen.

          BackItUp:
          Your backup was not completely created. Please check the errors!!
          
          cifs: Error: EPERM: operation not permitted, unlink 'F:\Backup ioBroker\iobroker\jarvis.0_2021_01_11-00_08_06_backupiobroker.tar'
          

          Log:

          2021-01-24 09:18:48.183 - debug: backitup.0 (14844) system.adapter.admin.0: logging false
          2021-01-24 09:20:25.055 - debug: backitup.0 (14844) [iobroker/mount] done
          2021-01-24 09:20:25.055 - debug: backitup.0 (14844) Backup has started ...
          2021-01-24 09:20:28.887 - debug: backitup.0 (14844) [iobroker/iobroker] host.Medion(Test) 16022 states saved
          2021-01-24 09:20:28.965 - debug: backitup.0 (14844) [iobroker/iobroker] host.Medion(Test) 30651 objects saved
          2021-01-24 09:20:48.151 - debug: backitup.0 (14844) system.adapter.admin.0: logging true
          2021-01-24 09:20:58.734 - debug: backitup.0 (14844) [iobroker/iobroker] Backup created: C:\Program Files\iobroker\Test\backups\iobroker_2021_01_24-09_20_25_backupiobroker.tar.gz
          2021-01-24 09:20:59.792 - debug: backitup.0 (14844) [iobroker/iobroker] done
          2021-01-24 09:21:00.966 - debug: backitup.0 (14844) [iobroker/jarvis] found Jarvis Instance: 0
          2021-01-24 09:21:00.967 - debug: backitup.0 (14844) [iobroker/jarvis] start Jarvis Backup for Instance 0...
          2021-01-24 09:21:00.999 - debug: backitup.0 (14844) [iobroker/jarvis] Backup created: C:\Program Files\iobroker\Test\backups\jarvis.0_2021_01_24-09_21_00_backupiobroker.tar.gz
          2021-01-24 09:21:01.000 - debug: backitup.0 (14844) [iobroker/jarvis] done
          2021-01-24 09:21:01.485 - debug: backitup.0 (14844) [iobroker/cifs] Copy iobroker_2021_01_24-09_20_25_backupiobroker.tar.gz...
          2021-01-24 09:21:02.784 - debug: backitup.0 (14844) [iobroker/cifs] Copy jarvis.0_2021_01_24-09_21_00_backupiobroker.tar.gz...
          2021-01-24 09:21:02.807 - debug: backitup.0 (14844) [iobroker/cifs] done
          2021-01-24 09:21:03.277 - debug: backitup.0 (14844) [iobroker/clean] done
          2021-01-24 09:21:08.451 - debug: backitup.0 (14844) [iobroker/email] [iobroker] used E-Mail-Instance: email.0
          2021-01-24 09:21:08.455 - debug: backitup.0 (14844) [iobroker/email] done
          2021-01-24 09:21:09.077 - debug: backitup.0 (14844) [iobroker/historyHTML] new history html values created
          2021-01-24 09:21:09.078 - debug: backitup.0 (14844) [iobroker/historyHTML] done
          2021-01-24 09:21:09.235 - debug: backitup.0 (14844) [iobroker/historyJSON] new history json values created
          2021-01-24 09:21:09.236 - debug: backitup.0 (14844) [iobroker/historyJSON] done
          2021-01-24 09:21:09.392 - debug: backitup.0 (14844) [iobroker/umount] done
          2021-01-24 09:21:09.550 - debug: backitup.0 (14844) [iobroker] exec: done
          

          Output Line:

          [DEBUG] [umount] start with {"mountType":"Copy","type":"storage","source":"local","mount":"192.168.178.23","debugging":true,"fileDir":"C:\\Program Files\\iobroker\\Test\\node_modules\\iobroker.backitup","wakeOnLAN":false,"macAd":"xxx","wolTime":"","smb":"vers=1.0","sudo":false,"cifsDomain":"","deleteOldBackup":true,"ownDir":true,"bkpType":null,"dir":"F:\\Backup ioBroker\\iobroker","dirMinimal":"F:\\Backup ioBroker\\iobroker","user":"","pass":"****","backupDir":"C:/Program Files/iobroker/Test/backups"}
          

          Screenshot (3218).png

          Backups werden aber erstellt.

          Screenshot (3220).png

          Platform: Windows
          RAM: 16 GB 
          Node.js: v12.20.1
          NPM: 6.14.10
          JS Controler: 3.2.10
          Admin: 4.2.1
          Web: 3.2.3
          Socket.io: 3.1.4
          Script Engine: 4.10.13
          IOT: 1.8.8
          VIS: 1.3.7
          HM-Rega: 3.0.7
          HM-RPC: 1.14.31
          Jarvis: 2.2.0-beta.24
          
          simatec 1 Reply Last reply Reply Quote 0
          • simatec
            simatec Developer Most Active @sigi234 last edited by

            @sigi234
            Hi Siggi, werden die anderen Backups gelöscht und nur jarvis bleibt, oder besteht das Problem auch mit den anderen Backups.
            Ich vermute es liegt am Leerzeichen im Pfad. Schaue mir das aber nachher mal genauer an

            sigi234 1 Reply Last reply Reply Quote 0
            • simatec
              simatec Developer Most Active @gelberlemmy last edited by

              @gelberlemmy
              Der Stand aus deinem Backup wird damit wiederhergestellt

              1 Reply Last reply Reply Quote 0
              • sigi234
                sigi234 Forum Testing Most Active @simatec last edited by

                @simatec sagte in Test Adapter Backitup v1.8.x:

                nur jarvis bleibt

                Ja, nur bei jarvis

                simatec 1 Reply Last reply Reply Quote 0
                • simatec
                  simatec Developer Most Active @sigi234 last edited by

                  @sigi234
                  Ich schaue mir nachher mal den Code an. Sind bei dem jarvis Backup irgendwie abweichende Rechte?

                  sigi234 1 Reply Last reply Reply Quote 0
                  • sigi234
                    sigi234 Forum Testing Most Active @simatec last edited by

                    @simatec sagte in Test Adapter Backitup v1.8.x:

                    Sind bei dem jarvis Backup irgendwie abweichende Rechte?

                    Glaube nicht, wo sehe ich die?

                    simatec 1 Reply Last reply Reply Quote 0
                    • simatec
                      simatec Developer Most Active @sigi234 last edited by

                      @sigi234
                      Denke im Windows unter Eigenschaften der Datei ... Bin mehr Linux 😋

                      P 1 Reply Last reply Reply Quote 0
                      • P
                        passuff @simatec last edited by passuff

                        Wie kann ich manuell ein influxdb backup anstoßen? Ich möchte meine Konfiguration testen.
                        EDIT: wird beim normalen iobroker backup angestoßen.

                        simatec 1 Reply Last reply Reply Quote 0
                        • simatec
                          simatec Developer Most Active @passuff last edited by

                          @passuff
                          Genau ... alle Feature Backups werden mit dem iobroker Backup ausgeführt

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

                            Hallo,

                            seit ein paar Tagen läuft das Backup nicht mehr.

                            Folgendes steht im Log:

                            
                            
                            backitup.0
                             close	Zeit	
                            debug
                            Meldung
                            backitup.0	2021-02-07 11:00:31.338	error	--- property 'parent' closes the circle Please check the config of backitup and execute "iobroker fix"
                            backitup.0	2021-02-07 11:00:31.338	error	| index 0 -> object with constructor 'DailyRotateFile'
                            backitup.0	2021-02-07 11:00:31.338	error	| property 'pipes' -> object with constructor 'Array'
                            backitup.0	2021-02-07 11:00:31.338	error	| property '_readableState' -> object with constructor 'ReadableState'
                            backitup.0	2021-02-07 11:00:31.338	error	--> starting at object with constructor 'DerivedLogger'
                            backitup.0	2021-02-07 11:00:31.338	error	(780) [iobroker] error on backup process: Script "umount" TypeError: Converting circular structure to JSON
                            backitup.0	2021-02-07 11:00:31.185	error	(780) [iobroker] error on backup process: Script "history" SyntaxError: Unexpected token u in JSON at position 0 Please check the config of backitup and execute "iobroker fix"
                            backitup.0	2021-02-07 11:00:31.183	error	(780) [iobroker] cannot parse config for history!!
                            backitup.0	2021-02-07 11:00:30.880	error	(780) [iobroker] error on backup process: Script "telegram" SyntaxError: Unexpected token u in JSON at position 0 Please check the config of backitup and execute "iobroker fix"
                            backitup.0	2021-02-07 11:00:30.878	error	(780) [iobroker] cannot parse config for telegram!!
                            backitup.0	2021-02-07 11:00:20.725	error	--- property 'parent' closes the circle Please check the config of backitup and execute "iobroker fix"
                            backitup.0	2021-02-07 11:00:20.725	error	| index 0 -> object with constructor 'DailyRotateFile'
                            backitup.0	2021-02-07 11:00:20.725	error	| property 'pipes' -> object with constructor 'Array'
                            backitup.0	2021-02-07 11:00:20.725	error	| property '_readableState' -> object with constructor 'ReadableState'
                            backitup.0	2021-02-07 11:00:20.725	error	--> starting at object with constructor 'DerivedLogger'
                            backitup.0	2021-02-07 11:00:20.725	error	(780) [iobroker] error on backup process: Script "cifs" TypeError: Converting circular structure to JSON
                            backitup.0	2021-02-07 11:00:10.172	error	--- property 'parent' closes the circle Please check the config of backitup and execute "iobroker fix"
                            backitup.0	2021-02-07 11:00:10.172	error	| index 0 -> object with constructor 'DailyRotateFile'
                            backitup.0	2021-02-07 11:00:10.172	error	| property 'pipes' -> object with constructor 'Array'
                            backitup.0	2021-02-07 11:00:10.172	error	| property '_readableState' -> object with constructor 'ReadableState'
                            backitup.0	2021-02-07 11:00:10.172	error	--> starting at object with constructor 'DerivedLogger'
                            backitup.0	2021-02-07 11:00:10.172	error	(780) [iobroker] error on backup process: Script "iobroker" TypeError: Converting circular structure to JSON
                            backitup.0	2021-02-07 11:00:10.017	error	--- property 'parent' closes the circle Please check the config of backitup and execute "iobroker fix"
                            backitup.0	2021-02-07 11:00:10.017	error	| index 0 -> object with constructor 'DailyRotateFile'
                            backitup.0	2021-02-07 11:00:10.017	error	| property 'pipes' -> object with constructor 'Array'
                            backitup.0	2021-02-07 11:00:10.017	error	| property '_readableState' -> object with constructor 'ReadableState'
                            backitup.0	2021-02-07 11:00:10.017	error	--> starting at object with constructor 'DerivedLogger'
                            backitup.0	2021-02-07 11:00:10.017	error	(780) [iobroker] error on backup process: Script "mount" TypeError: Converting circular structure to JSON
                            
                            

                            Hat jemand eine Idee, woran das liegen kann?
                            An den Settings habe ich nichts geändert.

                            EDIT:
                            Hab grad iobroker fix drüber laufen lassen.
                            Das manuelle Backup hat jetzt geklappt, morgen mal das automatische Backup abwarten.

                            Was das wohl war, wenn es dann klappt....

                            simatec 1 Reply Last reply Reply Quote 0
                            • simatec
                              simatec Developer Most Active @David G. last edited by

                              @david-g
                              Gast du eventuell ein js-controller Update gefahren?

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

                                @simatec

                                Nein, hab ich nicht.

                                simatec 1 Reply Last reply Reply Quote 0
                                • simatec
                                  simatec Developer Most Active @David G. last edited by

                                  @david-g
                                  iobroker fix behebt in der Regel alle Probleme mit Rechten.

                                  1 Reply Last reply Reply Quote 0
                                  • simatec
                                    simatec Developer Most Active last edited by

                                    Ab sofort steht die Version 2.0.0 auf Github und in Kürze auch im latest (Beta) bereit.

                                    Changelog

                                    2.0.0 (31.01.2021)

                                    • (simatec) BugFix detect last backup
                                    • (simatec) WebDAV added
                                    • (simatec) BugFix Zigbee
                                    • (simatec) stop/start Instances on restore
                                    • (simatec) Download Icon for Cloud Restore added
                                    • (simatec) javscript Backup added
                                    • (simatec) Grafana Backup added
                                    • (simatec) Restore added for some types without restart
                                    • (simatec) timestamp for history-json added
                                    • (simatec) Source code rewritten
                                    • (simatec) Restore revised
                                    • (simatec) fixed many small bugs
                                    • (simatec) Added warning messages
                                    • (simatec) Fixed cloud restore
                                    1 Reply Last reply Reply Quote 3
                                    • JB_Sullivan
                                      JB_Sullivan last edited by

                                      Vielen Dank für diese neue Version - funktioniert sehr gut. Geil finde ich auch das Grafana mit dabei ist 👍 👍 👍 👍

                                      simatec 1 Reply Last reply Reply Quote 0
                                      • simatec
                                        simatec Developer Most Active @JB_Sullivan last edited by

                                        @jb_sullivan
                                        Dankeschön... viel Spaß damit

                                        1 Reply Last reply Reply Quote 0
                                        • Diginix
                                          Diginix last edited by Diginix

                                          @simatec
                                          Seit v2 erhalte ich keine Telegram Benachrichtigung nach erfolgreichem Backup.
                                          Meine Einstellungen sehen so aus und habe bis einschl. v1.8 immer funktioniert:

                                          d0f53a89-5c11-443c-9446-5605aa51b1e8-image.png

                                          Wenn ich das Empfänger Dropdown aufklappe sehe ich merkwürdige "firstname" Einträge. Eigentlich gibt es nur 2 Telegram Kontakte. Der 2 fehlt komplett.

                                          0234a50f-b17d-4743-b356-bd443dbafc48-image.png

                                          Im Log sehe ich dann:

                                          telegram.0	2021-02-24 00:30:32.996	warn	(3670) 1 of 1 recipients are unknown!
                                          

                                          Ich habe extra in Telegram den Empfänger gelöscht und wieder neu angelegt.
                                          c49ab8cf-4e28-45ed-a95a-2323ace833a8-image.png

                                          Hilft aber nicht.
                                          Nur wenn ich "alle Empfänger" wähle, bekomme ich eine Benachrichtigung.

                                          simatec 1 Reply Last reply Reply Quote 0
                                          • simatec
                                            simatec Developer Most Active @Diginix last edited by

                                            @diginix
                                            Das liegt nicht an Backitup.
                                            Backitup holt sich deine angelegten User aus dem Objekt "telegram.0.communicate.users"
                                            Hier sollte der Wert wie folgt aussehen:

                                            {"12345678":"username"}
                                            
                                            Diginix 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            658
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            backitup backitup backup ccu history mysql redis restore restore backup
                                            170
                                            2779
                                            2218764
                                            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