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.
    • simatec
      simatec Developer Most Active @Marc Berg last edited by

      @marc-berg Ich nehme das mal mit fürs nächste Dev Meeting mit

      B O 2 Replies Last reply Reply Quote 1
      • B
        bommel_030 @simatec last edited by

        @simatec
        Hi, ich habe mit der backitup >v3 Probleme beim sichern mein influxdb v2.

        2024-06-10 01:00:10.031	debug	Backup has started ...
        2024-06-10 01:00:20.033	debug	[iobroker/mount] nfs-mount command: "sudo mount 192.168.10.25:/volume1/backup/iobroker /opt/iobroker/backups"
        2024-06-10 01:00:20.099	debug	[iobroker/mount] mount successfully completed
        2024-06-10 01:00:20.100	debug	[iobroker/mount] done
        2024-06-10 01:00:25.722	debug	[iobroker/iobroker] host.iobroker-master 81154 states saved
        2024-06-10 01:00:27.018	debug	[iobroker/iobroker] host.iobroker-master 96012 objects saved
        2024-06-10 01:00:30.322	debug	[iobroker/iobroker] Backup created: /opt/iobroker/backups/iobroker_2024_06_10-01_00_20_standard_vm_backupiobroker.tar.gz
        2024-06-10 01:00:30.322	debug	[iobroker/iobroker] This backup can only be restored with js-controller version up from 4.1
        2024-06-10 01:00:31.363	debug	[iobroker/iobroker] done
        2024-06-10 01:00:31.515	debug	[iobroker/influxDB] InfluxDB-Backup for influx_dauer is started ...
        2024-06-10 01:00:31.516	debug	[iobroker/influxDB] Start InfluxDB Backup ...
        2024-06-10 01:00:31.521	debug	[iobroker/influxDB] InfluxDB Backup tmp directory created
        2024-06-10 01:00:31.524	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
        2024-06-10 01:00:31.525	error	unhandled promise rejection: The argument 'command' must be a string without null bytes. Received 'influx backup --bucket iobroker_never --host http://192.168.10.7:8086 -t WR`\fh\x0B\x00(Va\x00^\x0Ei\x06oByi\x009\r\x033#\x0F\x...
        2024-06-10 01:00:31.529	error	TypeError: The argument 'command' must be a string without null bytes. Received 'influx backup --bucket iobroker_never --host http://192.168.10.7:8086 -t WR`\fh\x0B\x00(Va\x00^\x0Ei\x06oByi\x009\r\x033#\x0F\x... at validateArgumentNullCheck (node:child_process:973:11) at normalizeExecArgs (node:child_process:191:3) at Object.exec (node:child_process:233:16) at /opt/iobroker/node_modules/iobroker.backitup/lib/scripts/12-influxDB.js:79:17
        2024-06-10 01:00:31.530	error	Exception-Code: ERR_INVALID_ARG_VALUE: The argument 'command' must be a string without null bytes. Received 'influx backup --bucket iobroker_never --host http://192.168.10.7:8086 -t WR`\fh\x0B\x00(Va\x00^\x0Ei\x06oByi\x009\r\x033#\x0F\x...
        2024-06-10 01:00:31.551	info	cleaned everything up...
        2024-06-10 01:00:31.552	info	terminating
        2024-06-10 01:00:31.552	debug	Plugin sentry destroyed
        2024-06-10 01:00:31.553	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
        2024-06-10 01:00:32.054	info	terminating
        host.iobroker-master
        2024-06-10 01:00:32.220	error	Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
        host.iobroker-master
        2024-06-10 01:00:32.223	error	Caught by controller[1]: TypeError: The argument 'command' must be a string without null bytes. Received 'influx backup --bucket iobroker_never --host http://192.168.10.7:8086 -t WR`\fh\x0B\x00(Va\x00^\x0Ei\x06oByi\x009\r\x033#\x0F\x...
        host.iobroker-master
        2024-06-10 01:00:32.223	error	Caught by controller[1]: at validateArgumentNullCheck (node:child_process:973:11)
        host.iobroker-master
        2024-06-10 01:00:32.223	error	Caught by controller[1]: at normalizeExecArgs (node:child_process:191:3)
        host.iobroker-master
        2024-06-10 01:00:32.223	error	Caught by controller[1]: at Object.exec (node:child_process:233:16)
        host.iobroker-master
        2024-06-10 01:00:32.223	error	Caught by controller[1]: at /opt/iobroker/node_modules/iobroker.backitup/lib/scripts/12-influxDB.js:79:17
        host.iobroker-master
        2024-06-10 01:00:32.223	error	instance system.adapter. terminated with code 6 (UNCAUGHT_EXCEPTION)
        

        Vorher läuft das Backup vom ioBroker problemlos durch, bei influx stürzt er scheinbar ab (Bekomme auch keine Benachrichtigung über einen Fehler) und führt danach problemlos das CCU Backup durch. Falls ich ein issue erstellen soll mache ich das gerne.

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

          @bommel_030 Welche Version von Backitup ist installiert? Bitte poste mal deine Backitup Config als JSON

          B 1 Reply Last reply Reply Quote 0
          • B
            bommel_030 @simatec last edited by bommel_030

            @simatec
            Installiert ist v3.0.2. Im JSON habe ich PW und Token unkenntlich gemacht.
            Dabei ist mir aufgefallen, die beiden Token unter "influxDBEvents" sehen "komisch" aus.
            19a65a03-e8a0-4c01-a7eb-4ac61ea37d2f-image.png
            Der unter "influxDBToken""normal":
            5d6065d6-d1f3-44cd-8f24-ea78457661ef-image.png
            Wobei ich nicht weiß ob das ein Anzeigeeffekt von Notepad++ ist.

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

              @bommel_030 Bitte trage deine Token erneut in der Config ein und speichere sie.
              Danach sollte es funktionieren. In Version 3.0.1 gab es da eine Änderung.

              B 1 Reply Last reply Reply Quote 0
              • B
                bommel_030 @simatec last edited by

                @simatec
                Danke, hätte ich auch selber drauf kommen können.... Mal schauen ob der Durchlauf heute Nacht noch mal meckert.

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

                  @bommel_030 Kannst ja auch mit einem manuellen Backup testen

                  1 Reply Last reply Reply Quote 1
                  • O
                    oFbEQnpoLKKl6mbY5e13 @simatec last edited by oFbEQnpoLKKl6mbY5e13

                    @simatec sagte in Test Adapter ioBroker.backitup v3.0.x:

                    @marc-berg Ich nehme das mal mit fürs nächste Dev Meeting mit

                    Was ist daraus geworden, denn du hast das nicht angesprochen?

                    https://forum.iobroker.net/topic/27267/test-adapter-iobroker-backitup-v3-0-x/2658

                    mcm1957 simatec 2 Replies Last reply Reply Quote 0
                    • mcm1957
                      mcm1957 @oFbEQnpoLKKl6mbY5e13 last edited by

                      @ofbeqnpolkkl6mby5e13
                      Sorry - aber warum hast DU das nicht IM Meeting angesprochen wenn du offenbar eh dabei warst? Wurde je mehrmals nachgefragt ob noch wer was hat ...

                      Schätze mal die Sache ist untergegangen ./ vergessen worden ...

                      O 1 Reply Last reply Reply Quote 0
                      • O
                        oFbEQnpoLKKl6mbY5e13 @mcm1957 last edited by

                        @mcm1957

                        Ich werde im Developer-Meeting nichts vortragen.

                        mcm1957 1 Reply Last reply Reply Quote 0
                        • mcm1957
                          mcm1957 @oFbEQnpoLKKl6mbY5e13 last edited by

                          @ofbeqnpolkkl6mby5e13
                          Geht da ja nicht um vortragen sondern um ne Frage stellen bzw. eine potenzielles Thema anzusprechen dass dich ja interessiert. Wär ggF auch via Chat möglich gewesen. Kann mich nicht erinnern dass im Meeting schon mal wer angeschnautzt wurde weil er was gefragt / angeregt hat...

                          Schade, wär sicher sinnvoll gewesen es anzusprechen.

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

                            @ofbeqnpolkkl6mby5e13 sagte in Test Adapter ioBroker.backitup v3.0.x:

                            @simatec sagte in Test Adapter ioBroker.backitup v3.0.x:

                            @marc-berg Ich nehme das mal mit fürs nächste Dev Meeting mit

                            Was ist daraus geworden, denn du hast das nicht angesprochen?

                            https://forum.iobroker.net/topic/27267/test-adapter-iobroker-backitup-v3-0-x/2658

                            Eine Optimierung wurde bereits angeschoben und wird mit dem nächsten Update sicher kommen.
                            Thema ist also bereits geklärt und wurde deshalb nicht im Meeting angesprochen.

                            1 Reply Last reply Reply Quote 2
                            • T
                              TT-Tom last edited by

                              @simatec

                              ich habe ein Problem mit dem Hochladen von Backupdateien.
                              das Fenster mit der Aufforderung eine Datei reinzuziehen öffnet sich, die Datei wird auch erkannt und dargestellt. Beim klick in das Fenster öffnet sich ein Dateiauswahlfenster und die gewählte Datei wird auch dann angezeigt. Was nicht funktioniert ist dann das hochladen nach dem Klick auf den Button. Das Fenster ist weg und und nur ein weißer Screen ohne Meldung. Habe schon geprüft das Popups erlaubt sind.
                              Ich nutze Safari.

                              Ist das Problem schon bekannt bzw. kann es jemand bestätigen??

                              Marc Berg simatec 2 Replies Last reply Reply Quote 0
                              • Marc Berg
                                Marc Berg Most Active @TT-Tom last edited by

                                @tt-tom sagte in Test Adapter ioBroker.backitup v3.0.x:

                                Ist das Problem schon bekannt bzw. kann es jemand bestätigen??

                                Nutzt du Container?

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  TT-Tom @Marc Berg last edited by

                                  @marc-berg

                                  ja, bin dabei mich mit Proxmox zu beschäftigen.

                                  Marc Berg 1 Reply Last reply Reply Quote 0
                                  • Marc Berg
                                    Marc Berg Most Active @TT-Tom last edited by

                                    @tt-tom sagte in Test Adapter ioBroker.backitup v3.0.x:

                                    ja, bin dabei mich mit Proxmox zu beschäftigen.

                                    Dann ist es wohl kein Thema, bei Docker (Bridge Netzwerk) müsste man weitere Ports mappen. Steht so auch explizit in der Backitup Doku.

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      TT-Tom @Marc Berg last edited by

                                      @marc-berg
                                      werde mal die Doku lesen, bei Proxmox gibt es doch auch Bridge Netzwerke. Bin wie gesagt am Anfang mit dem System

                                      1 Reply Last reply Reply Quote 0
                                      • simatec
                                        simatec Developer Most Active @TT-Tom last edited by

                                        @tt-tom sagte in Test Adapter ioBroker.backitup v3.0.x:

                                        @simatec

                                        ich habe ein Problem mit dem Hochladen von Backupdateien.
                                        das Fenster mit der Aufforderung eine Datei reinzuziehen öffnet sich, die Datei wird auch erkannt und dargestellt. Beim klick in das Fenster öffnet sich ein Dateiauswahlfenster und die gewählte Datei wird auch dann angezeigt. Was nicht funktioniert ist dann das hochladen nach dem Klick auf den Button. Das Fenster ist weg und und nur ein weißer Screen ohne Meldung. Habe schon geprüft das Popups erlaubt sind.
                                        Ich nutze Safari.

                                        Ist das Problem schon bekannt bzw. kann es jemand bestätigen??

                                        Ich habe gerade nochmal mit Chrome, Firefox und Edge getestet und es gibt bei keinem Browser Probleme.
                                        Welche Version des Adapters ist installiert? Gibt es im Debuglog eine Fehlermeldung? Schaue auch mal bitte in die Entwicklerkonsole des Browser, ob dort eventuell Fehlermeldungen kommen.

                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          TT-Tom @simatec last edited by TT-Tom

                                          @simatec

                                          ich habe zwei Tests jetzt durchgeführt.

                                          System 1: Raspi4 mit stable Versionen von JS-Controller, Admin und Backitup

                                          Log

                                          backitup.0
                                          	2024-06-21 14:13:02.448	debug	Redis Objects: Use Redis connection: 127.0.0.1:9001
                                          backitup.0
                                          	2024-06-21 14:13:02.510	debug	Objects client ready ... initialize now
                                          backitup.0
                                          	2024-06-21 14:13:02.512	debug	Objects create System PubSub Client
                                          backitup.0
                                          	2024-06-21 14:13:02.514	debug	Objects create User PubSub Client
                                          backitup.0
                                          	2024-06-21 14:13:02.613	debug	Objects client initialize lua scripts
                                          backitup.0
                                          	2024-06-21 14:13:02.624	debug	Objects connected to redis: 127.0.0.1:9001
                                          backitup.0
                                          	2024-06-21 14:13:02.693	debug	Redis States: Use Redis connection: 127.0.0.1:9000
                                          backitup.0
                                          	2024-06-21 14:13:02.725	debug	States create System PubSub Client
                                          backitup.0
                                          	2024-06-21 14:13:02.728	debug	States create User PubSub Client
                                          backitup.0
                                          	2024-06-21 14:13:02.826	debug	States connected to redis: 127.0.0.1:9000
                                          backitup.0
                                          	2024-06-21 14:13:02.941	debug	Plugin sentry Do not initialize Plugin (enabled=false)
                                          backitup.0
                                          	2024-06-21 14:13:03.029	debug	Plugin sentry destroyed because not initialized correctly
                                          backitup.0
                                          	2024-06-21 14:13:04.095	info	starting. Version 2.11.0 in /opt/iobroker/node_modules/iobroker.backitup, node: v20.14.0, js-controller: 5.0.19
                                          backitup.0
                                          	2024-06-21 14:13:04.159	debug	Backitup has recognized a linux system
                                          backitup.0
                                          	2024-06-21 14:13:04.185	info	[iobroker] backup will be activated at 03:46 every 2 day(s)
                                          backitup.0
                                          	2024-06-21 14:13:06.888	debug	detect backup file 1 from NAS: iobroker_2024_06_15-03_46_10_IOBrocker_backupiobroker.tar.gz
                                          backitup.0
                                          	2024-06-21 14:13:06.889	debug	detect backup file 2 from NAS: iobroker_2024_06_17-03_46_10_IOBrocker_backupiobroker.tar.gz
                                          backitup.0
                                          	2024-06-21 14:13:06.889	debug	detect backup file 3 from NAS: iobroker_2024_06_19-03_46_10_IOBrocker_backupiobroker.tar.gz
                                          backitup.0
                                          	2024-06-21 14:13:06.889	debug	detect backup file 4 from NAS: iobroker_2024_06_19-20_42_30_IOBrocker_backupiobroker.tar.gz
                                          backitup.0
                                          	2024-06-21 14:13:06.890	debug	detect backup file 5 from NAS: iobroker_2024_06_21-03_49_08_IOBrocker_backupiobroker.tar.gz
                                          backitup.0
                                          	2024-06-21 14:13:06.891	debug	detect last backup file: iobroker_2024_06_21-03_49_08_IOBrocker_backupiobroker.tar.gz
                                          backitup.0
                                          	2024-06-21 14:13:52.811	debug	The local storage check was completed successfully. On the host "iobmaster" are currently 475349 MB free space available!
                                          backitup.0
                                          	2024-06-21 14:15:00.522	debug	Upload server Connections could not be closed
                                          backitup.0
                                          	2024-06-21 14:15:00.523	debug	Upload server Connections could not be closed
                                          backitup.0
                                          	2024-06-21 14:15:00.546	debug	Uploadserver on port 34303 started
                                          backitup.0
                                          	2024-06-21 14:17:43.645	debug	The local storage check was completed successfully. On the host "iobmaster" are currently 475348 MB free space available!
                                          backitup.0
                                          	2024-06-21 14:17:56.299	debug	Backup list be read ...
                                          backitup.0
                                          	2024-06-21 14:18:23.150	debug	Downloadserver on port 36637 started
                                          backitup.0
                                          	2024-06-21 14:18:23.172	debug	Download finish ...
                                          backitup.0
                                          	2024-06-21 14:19:17.487	debug	The local storage check was completed successfully. On the host "iobmaster" are currently 475348 MB free space available!
                                          backitup.0
                                          	2024-06-21 14:19:52.037	debug	Uploadserver is running on Port 34303...
                                          

                                          Upload ohne ersichtlichen Erfolg, wenn wo werden die Dateien abgelegt. ich gehe mal vom aktuellen Speicherort für die Backups

                                          Beim Download bekam ich diese Fehlermeldung
                                          Bildschirmfoto 2024-06-21 um 14.19.04.png

                                          mein zweites System ist ein Proxmox Container mit den Beta Versionen

                                          Log

                                          backitup.0
                                          	2024-06-21 14:31:21.221	debug	Redis Objects: Use Redis connection: 127.0.0.1:9001
                                          backitup.0
                                          	2024-06-21 14:31:21.230	debug	Objects client ready ... initialize now
                                          backitup.0
                                          	2024-06-21 14:31:21.231	debug	Objects create System PubSub Client
                                          backitup.0
                                          	2024-06-21 14:31:21.231	debug	Objects create User PubSub Client
                                          backitup.0
                                          	2024-06-21 14:31:21.240	debug	Objects client initialize lua scripts
                                          backitup.0
                                          	2024-06-21 14:31:21.243	debug	Objects connected to redis: 127.0.0.1:9001
                                          backitup.0
                                          	2024-06-21 14:31:21.249	debug	Redis States: Use Redis connection: 127.0.0.1:9000
                                          backitup.0
                                          	2024-06-21 14:31:21.252	debug	States create System PubSub Client
                                          backitup.0
                                          	2024-06-21 14:31:21.253	debug	States create User PubSub Client
                                          backitup.0
                                          	2024-06-21 14:31:21.299	debug	States connected to redis: 127.0.0.1:9000
                                          backitup.0
                                          	2024-06-21 14:31:21.310	debug	Plugin sentry Initialize Plugin (enabled=true)
                                          backitup.0
                                          	2024-06-21 14:31:21.439	info	starting. Version 3.0.5 in /opt/iobroker/node_modules/iobroker.backitup, node: v20.14.0, js-controller: 6.0.5
                                          backitup.0
                                          	2024-06-21 14:31:21.445	debug	BackItUp has recognized a linux system
                                          backitup.0
                                          	2024-06-21 14:31:21.458	info	[iobroker] backup will be activated at 02:40 every 2 day(s)
                                          backitup.0
                                          	2024-06-21 14:31:23.604	debug	detect backup file 1 from NAS: iobroker_2024_06_19-15_51_15_backupiobroker.tar.gz
                                          backitup.0
                                          	2024-06-21 14:31:23.605	debug	detect backup file 2 from NAS: iobroker_2024_06_21-02_40_10_backupiobroker.tar.gz
                                          backitup.0
                                          	2024-06-21 14:31:23.605	debug	detect last backup file: iobroker_2024_06_21-02_40_10_backupiobroker.tar.gz
                                          backitup.0
                                          	2024-06-21 14:31:57.675	debug	Reading backup list...
                                          backitup.0
                                          	2024-06-21 14:31:59.675	debug	Backup list was read: {"data":{"nas / copy":{"iobroker":[{"path":"/mnt/Stick/iobroker_2024_06_19-15_51_15_backupiobroker.tar.gz","name":"iobroker_2024_06_19-15_51_15_backupiobroker.tar.gz","size":4198492},{"path":"/mnt/Stick/iobroker_2024_06_21-02_40_10_backupiobroker.tar.gz","name":"iobroker_2024_06_21-02_40_10_backupiobroker.tar.gz","size":4197591}],"javascripts":[{"path":"/mnt/Stick/javascripts_2024_06_19-15_51_19_backupiobroker.tar.gz","name":"javascripts_2024_06_19-15_51_19_backupiobroker.tar.gz","size":400444},{"path":"/mnt/Stick/javascripts_2024_06_21-02_40_14_backupiobroker.tar.gz","name":"javascripts_2024_06_21-02_40_14_backupiobroker.tar.gz","size":400445}]}}}
                                          backitup.0
                                          	2024-06-21 14:32:04.225	debug	Download https server started on port 36933
                                          backitup.0
                                          	2024-06-21 14:32:57.538	debug	Upload server connections could not be closed
                                          backitup.0
                                          	2024-06-21 14:32:57.538	debug	Upload server connections could not be closed
                                          backitup.0
                                          	2024-06-21 14:32:57.541	debug	Upload https server started on port 36803
                                          

                                          der Download funktioniert ohne Probleme nach Bestätigung von Zertifikat und Popup

                                          der Upload endet nach dem Start mit einen leeren Fenster.

                                          simatec 1 Reply Last reply Reply Quote 0
                                          • simatec
                                            simatec Developer Most Active @TT-Tom last edited by

                                            @tt-tom ich denke dein Hauptproblem sind die Zertifikate. Entweder du erstellst mal für den iobroker gültige Zertifikate, die dein Browser / System kennt, oder wenn du iobroker nur lokal nutzt, schalte https aus.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            677
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

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