Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter: iobroker.backitup (stable Release)

    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

    Adapter: iobroker.backitup (stable Release)

    This topic has been deleted. Only users with topic management privileges can see it.
    • simatec
      simatec Developer Most Active last edited by

      Kannst du bitte die Instanz von backitup auf debug stellen und dann diesen Log posten.

      Der jetzige ist nicht aussagekräftig

      Gesendet von iPhone mit Tapatalk

      1 Reply Last reply Reply Quote 0
      • P
        paul.honka last edited by

        Hallo simatec, jetzt noch mal ein Start für Restore Minimal. Debug der Instans ist eingeschaltet.

        backitup.0	2019-01-16 09:48:20.286	warn	Cannot read log file: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.backitup/lib/total.json'
        backitup.0	2019-01-16 09:48:20.284	error	[ERROR] [minimal] Stop iobroker first!
        backitup.0	2019-01-16 09:48:20.275	info	starting. Version 1.0.5 in /opt/iobroker/node_modules/iobroker.backitup, node: v8.15.0
        host.ioBroker-Sted1	2019-01-16 09:48:19.343	info	instance system.adapter.backitup.0 started with pid 2750
        discovery.0	2019-01-16 09:48:16.036	info	starting. Version 1.2.4 in /opt/iobroker/node_modules/iobroker.discovery, node: v8.15.0
        host.ioBroker-Sted1	2019-01-16 09:48:15.326	info	instance system.adapter.discovery.0 started with pid 2740
        admin.0	2019-01-16 09:48:14.862	info	Repository received successfully.
        host.ioBroker-Sted1	2019-01-16 09:48:13.615	info	Update repository "default" under "http://download.iobroker.net/sources-dist.json"
        admin.0	2019-01-16 09:48:13.510	info	Use link "http://localhost:8081" to configure.
        admin.0	2019-01-16 09:48:13.509	info	http server listening on port 8081
        admin.0	2019-01-16 09:48:13.461	info	received all objects
        admin.0	2019-01-16 09:48:13.024	info	received all states
        admin.0	2019-01-16 09:48:12.798	info	Request actual repository...
        admin.0	2019-01-16 09:48:12.797	info	requesting all objects
        admin.0	2019-01-16 09:48:12.795	info	requesting all states
        admin.0	2019-01-16 09:48:12.782	info	starting. Version 3.5.10 in /opt/iobroker/node_modules/iobroker.admin, node: v8.15.0
        host.ioBroker-Sted1	2019-01-16 09:48:11.344	info	instance system.adapter.admin.0 started with pid 2730
        host.ioBroker-Sted1	2019-01-16 09:48:11.311	info	starting 3 instances
        host.ioBroker-Sted1	2019-01-16 09:48:11.305	info	3 instances found
        host.ioBroker-Sted1	2019-01-16 09:48:11.296	info	InMemoryDB connected
        host.ioBroker-Sted1	2019-01-16 09:48:11.280	info	inMem-objects listening on port 9001
        host.ioBroker-Sted1	2019-01-16 09:48:11.186	info	inMem-states listening on port 9000
        host.ioBroker-Sted1	2019-01-16 09:48:11.125	info	ip addresses: 192.168.0.80 2a02:8109:dc0:40cc:ae93:e08a:dff2:31f1 fe80::cbf:4678:3b10:d5d2
        host.ioBroker-Sted1	2019-01-16 09:48:11.122	info	hostname: ioBroker-Sted1, node: v8.15.0
        host.ioBroker-Sted1	2019-01-16 09:48:11.122	info	Copyright (c) 2014-2018 bluefox, 2014 hobbyquaker
        host.ioBroker-Sted1	2019-01-16 09:48:11.117	info	iobroker.js-controller version 1.4.2 js-controller starting
        admin.0	2019-01-16 09:48:10.327	info	terminating http server on port 8081
        

        Zur Info, der IOBroker läuft auf einem Tinker S.

        Beste Grüsse paul geändert: Code in Code-Tags; Homoran (Admin)

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

          Nein die Instanz von backitup ist noch immer nicht auf debug.

          Gehe mal bitte auf Instanzen und schalte die Log-Stufe von backitup dort auf debug.

          Wie startest du iobroker? Mit "sudo iobroker start" oder "sudo systemctl start iobroker"

          1 Reply Last reply Reply Quote 0
          • P
            paul.honka last edited by

            Hallo simatec, ich habe die Instanz Backitup in der Instanz auf Debug gestellt.

            Haken bei Debug aktivieren / deaktivieren.

            Gestartet wird der IOBroker mit "sudo systemctl start iobroker", neues Installationsscript.

            Beste Grüsse paul
            746_back1.jpg

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

              @paul.honka:

              Hallo simatec, ich habe die Instanz Backitup in der Instanz auf Debug gestellt.

              Haken bei Debug aktivieren / deaktivieren. `

              Gemeint ist im Admin in der Liste der Instanzen die Spalte rel. weit rechts, wo der LogLevel eingestellt wird.

              1282_2019-01-16_12_27_58-000066.png

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

                @paul.honka:

                Hallo simatec, ich habe die Instanz Backitup in der Instanz auf Debug gestellt.

                Haken bei Debug aktivieren / deaktivieren.

                Gestartet wird der IOBroker mit "sudo systemctl start iobroker", neues Installationsscript.

                Beste Grüsse paul `

                Du musst in der Adapterliste auf debuggen stellen nicht im Adapter selbst

                1 Reply Last reply Reply Quote 0
                • P
                  paul.honka last edited by

                  Hallo simatec, bischen verwirrend, ein Ausdruck für zwei Sachen.

                  Hier das neue Log.

                  ! backitup.0 2019-01-16 13:19:31.358 debug system.adapter.admin.0: logging true
                  ! backitup.0 2019-01-16 13:19:26.838 warn Cannot read log file: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.backitup/lib/total.json'
                  ! backitup.0 2019-01-16 13:19:26.837 debug [EXIT] 1
                  ! backitup.0 2019-01-16 13:19:26.837 error [ERROR] [minimal] Stop iobroker first!
                  ! backitup.0 2019-01-16 13:19:26.836 debug Printing logs of previous backup
                  ! backitup.0 2019-01-16 13:19:26.830 info starting. Version 1.0.5 in /opt/iobroker/node_modules/iobroker.backitup, node: v8.15.0
                  ! backitup.0 2019-01-16 13:19:26.691 debug statesDB connected
                  ! backitup.0 2019-01-16 13:19:26.650 debug objectDB connected
                  ! host.ioBroker-Sted1 2019-01-16 13:19:25.833 info instance system.adapter.backitup.0 started with pid 3915
                  ! discovery.0 2019-01-16 13:19:22.648 info starting. Version 1.2.4 in /opt/iobroker/node_modules/iobroker.discovery, node: v8.15.0
                  ! host.ioBroker-Sted1 2019-01-16 13:19:21.835 info instance system.adapter.discovery.0 started with pid 3905
                  ! admin.0 2019-01-16 13:19:21.542 info Repository received successfully.
                  ! host.ioBroker-Sted1 2019-01-16 13:19:20.131 info Update repository "default" under "http://download.iobroker.net/sources-dist.json"
                  ! admin.0 2019-01-16 13:19:20.023 info Use link "http://localhost:8081" to configure.
                  ! admin.0 2019-01-16 13:19:20.023 info http server listening on port 8081
                  ! admin.0 2019-01-16 13:19:19.972 info received all objects
                  ! admin.0 2019-01-16 13:19:19.526 info received all states
                  ! admin.0 2019-01-16 13:19:19.301 info Request actual repository…
                  ! admin.0 2019-01-16 13:19:19.300 info requesting all objects
                  ! admin.0 2019-01-16 13:19:19.298 info requesting all states
                  ! admin.0 2019-01-16 13:19:19.286 info starting. Version 3.5.10 in /opt/iobroker/node_modules/iobroker.admin, node: v8.15.0
                  ! host.ioBroker-Sted1 2019-01-16 13:19:17.850 info instance system.adapter.admin.0 started with pid 3895
                  ! host.ioBroker-Sted1 2019-01-16 13:19:17.817 info starting 3 instances
                  ! host.ioBroker-Sted1 2019-01-16 13:19:17.811 info 3 instances found
                  ! host.ioBroker-Sted1 2019-01-16 13:19:17.802 info InMemoryDB connected
                  ! host.ioBroker-Sted1 2019-01-16 13:19:17.786 info inMem-objects listening on port 9001
                  ! host.ioBroker-Sted1 2019-01-16 13:19:17.690 info inMem-states listening on port 9000
                  ! host.ioBroker-Sted1 2019-01-16 13:19:17.628 info ip addresses: 192.168.0.80 2a02:8109:dc0:40cc:ae93:e08a:dff2:31f1 fe80::cbf:4678:3b10:d5d2
                  ! host.ioBroker-Sted1 2019-01-16 13:19:17.626 info hostname: ioBroker-Sted1, node: v8.15.0
                  ! host.ioBroker-Sted1 2019-01-16 13:19:17.625 info Copyright (c) 2014-2018 bluefox, 2014 hobbyquaker
                  ! host.ioBroker-Sted1 2019-01-16 13:19:17.621 info iobroker.js-controller version 1.4.2 js-controller starting
                  ! admin.0 2019-01-16 13:19:16.765 info terminating http server on port 8081
                  ! admin.0 2019-01-16 13:19:15.263 info terminating http server on port 8081
                  ! backitup.0 2019-01-16 13:19:11.625 debug sendTo "restore" to system.adapter.admin.0 from system.adapter.backitup.0
                  ! backitup.0 2019-01-16 13:19:05.845 debug sendTo "list" to system.adapter.admin.0 from system.adapter.backitup.0
                  ! backitup.0 2019-01-16 13:19:03.620 debug system.adapter.admin.0: logging false
                  ! backitup.0 2019-01-16 13:18:58.777 info starting. Version 1.0.5 in /opt/iobroker/node_modules/iobroker.backitup, node: v8.15.0
                  ! backitup.0 2019-01-16 13:18:58.636 debug statesDB connected
                  ! backitup.0 2019-01-16 13:18:58.597 debug objectDB connected
                  ! host.ioBroker-Sted1 2019-01-16 13:18:57.869 info instance system.adapter.backitup.0 started with pid 3811
                  ! host.ioBroker-Sted1 2019-01-16 13:18:55.894 info instance system.adapter.backitup.0 terminated with code 0 (OK)
                  ! host.ioBroker-Sted1 2019-01-16 13:18:55.346 info stopInstance system.adapter.backitup.0 killing pid 3785
                  ! host.ioBroker-Sted1 2019-01-16 13:18:55.346 info stopInstance system.adapter.backitup.0
                  ! backitup.0 2019-01-16 13:19:31.359 debug system.adapter.admin.0: logging true

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

                    OK mache mal bitte folgendes.

                    Gehe in den Pfad /opt/iobroker/node_modules/iobroker.backitup/lib/

                    Dort liegen 4 shell Dateien (*.sh) für start und stop bei backup und restore.

                    Setze mal bitte bei allen 4 Dateien vor systemctl stop iobroker und systemctl start iobrober ein „sudo“ davor.

                    Danach stelle aber bitte noch sicher, dass für den User auf dem iobroker läuft (theoretisch User: iobroker) die sudo Rechte ohne Passwortabfrage aktiv sind.

                    Wie du das einstellen kannst, steht im ersten Beitrag hier.

                    Gesendet von iPhone mit Tapatalk

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

                      Hallo, bekomme seit dem Update folgendes:

                      BackItUp:
                      Das Backup wurde nicht vollständig erstellt. Bitte überprüfe die Fehlermeldungen!!
                      
                      redis: No source for compress!
                      cifs: Error: ENOENT: no such file or directory, open 'C:\ioBroker\backups\redis_2019_01_16-11_42_34_backupiobroker.tar.gz'
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • simatec
                        simatec Developer Most Active last edited by

                        Dann hattest du den Fehler schon länger.

                        Erst mit Version 1.0.5 wurden die Fehlermeldungen an den Messenger weitergegeben.

                        Entweder stimmt dein Pfad nicht, oder redis läuft bei dir garnicht.

                        Gesendet von iPhone mit Tapatalk

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

                          Ich bekomme jetzt den Fehler, daß ich anscheinend doch root aktivieren muß.

                          Wie Verhältnis sich das mit der alten bzw neuen Installationsroutine?

                          Ich denke, mit der alten dürfte es keine Probleme geben, weil ich IObroker als root installiere

                          Gesendet von meinem MI 8 mit Tapatalk

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

                            Ja Matthias, die neue Methode macht noch ein paar Probleme.

                            Das hat nix mit backitup zu tun.

                            Aber iobroker benötigt in einigen Situationen Root Rechte und mit der neuen Installationsmethode ist das eher schwierig

                            Du kannst für deinen neuen User "iobroker" mit sudo arbeiten.

                            Dafür musst du aber die sudo Passwortabfrage für den User iobroker deaktivieren.

                            Dies geht mit folgenden Schritten:

                            sudo visudo
                            

                            In der Datei am Ende folgende Zeile einfügen:

                            Username ALL=(ALL) NOPASSWD: /bin/mount, /bin/umount, /bin/systemctl
                            

                            "Username" durch euren iob User ersetzen

                            Dann mit STR+o speichern, mit Enter bestätigen und im Anschluss mit STR+x schließen.

                            Danach empfehle ich einen reboot … Dies ist aber System abhängig.

                            Ich möchte aber hier noch einmal betonen, dass diese Dinge nicht mit backitup zu tun haben und auch backitup deswegen kein Problem hat.

                            Diese Dinge betreffen einzig und allein euer System.

                            1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators last edited by

                              @simatec:

                              Ich möchte aber hier noch einmal betonen, dass diese Dinge nicht mit backitup zu tun haben und auch backitup deswegen kein Problem hat.

                              Diese Dinge betreffen einzig und allein euer System. `

                              …und ich möchte nochmals betonen, dass es sich dabei nur um einen momentanen Workaround handeln darf, da damit die Sicherheitsbestrebungen, nicht mehr unter root zu arbeiten, ausgehebelt werden.

                              Gruß

                              Rainer

                              1 Reply Last reply Reply Quote 0
                              • P
                                paul.honka last edited by

                                Hallo simatec,
                                ` > Gehe in den Pfad /opt/iobroker/node_modules/iobroker.backitup/lib/

                                Dort liegen 4 shell Dateien (*.sh) für start und stop bei backup und restore.

                                Setze mal bitte bei allen 4 Dateien vor systemctl stop iobroker und systemctl start iobrober ein „sudo“ davor. `
                                Ich finde da die start_b_IOB.sh startIOB.sh stopIOB.sh stop_r_IOB.sh. Wie sudo davor setzen, umbenennen oder?

                                Ich habe den IOBroker mit dem Usernamen tinker mit dem neuen Script installiert. also heisst die Zeile

                                iobroker ALL=(ALL) NOPASSWD: ALL oder tinker ALL=(ALL) NOPASSWD: ALL

                                Beste Grüsse paul

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

                                  Der User wäre iobroker, da der Installer den User iobroker beim installieren anlegt.

                                  Du musst in den Dateien das sudo setzen oder installiere die Version 1.0.6 vom github.

                                  Habe ich gerade gepusht.

                                  Aktuell bestehen leider die Probleme aufgrund von Startschwierigkeiten bei dem neuen Installer.

                                  Es wird aber an einer Lösung gearbeitet, damit der installer zukünftig auch gleich alle Rechte richtig mit installiert.

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

                                    Ab sofort ist die Version 1.0.6 im Github und im latest verfügbar.

                                    1.0.6 (16.01.2019)

                                    (simatec) Fix Start/Stop for new iobroker-installer

                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      Conquest last edited by

                                      Hallo,

                                      ich versuche auch gerade mein System neu aufzusetzen. Iobroker habe ich über die neue Installationsroutine installiert. Jetzt versuche ich gerade mein System mit Backitup wiederherzustellen. Es dauert jetzt schon über 3 Stunden und es sieht so aus wie auf dem Bild. Ist dies normal? Es handelt sich um das Komplette Backup.

                                      Gruß Torsten
                                      470_01_16_19.png

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

                                        Ist iobroker schon neu gestartet oder wurde iobroker garnicht beendet (rotierender Kreis in der Mitte der Weboberfläche)?

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          Conquest last edited by

                                          Nein kam glaub ich kein Kreis.

                                          Gesendet von meinem MHA-L29 mit Tapatalk

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

                                            @spoerl.torsten:

                                            Nein kam glaub ich kein Kreis.

                                            Gesendet von meinem MHA-L29 mit Tapatalk `

                                            Schließe mal das Fenster und aktualisiere deinen Browser.

                                            Sollte kein Restore erfolgt sein, liegt das an dem aktuellen problemen mit dem neuen Installer.

                                            Dann bitte backitup auf Version 1.0.6 updaten und folgendes in der Konsole ausführen:

                                            sudo visudo
                                            

                                            In der Datei am Ende folgende Zeile einfügen:

                                            iobroker ALL=(ALL) NOPASSWD: /bin/mount, /bin/umount, /bin/systemctl
                                            

                                            Dann mit STR+o speichern, mit Enter bestätigen und im Anschluss mit STR+x schließen.

                                            Danach empfehle ich einen reboot … Dies ist aber System abhängig.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            823
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter backitup backup iobroker backup iobroker.backitup
                                            185
                                            2335
                                            1109525
                                            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