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

      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
              • C
                Conquest last edited by

                @simatec:

                @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: ALL
                

                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. `

                Wurde kein Restore gemacht. Hab jetzt das Update auf 1.0.6 gemacht.
                470_01_16_19_1.png

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

                  Am Ende der Datei ist OK.

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

                    Hallo simatec, auf 1.0.6 upgedatet, immer noch das gleiche Problem.

                    sudo visudo und iobroker ALL=(ALL) NOPASSWD: ALL eingefügt, reboot.

                    Was meinst du mit
                    ` > 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?

                    Beste Grüsse paul

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

                      Hast du die Änderungen an der visudo auch richtig gespeichert? (Strg-o >>>> Enter >>>> Strg-x)

                      Die shell Dateien habe ich in Version 1.0.6 bereits geändert.

                      Poste mal bitte die Ausgabe von "systemctl status iobroker"

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

                        Hallo simatec, anbei die Ausgabe von "systemctl status iobroker"

                        ! tinker@ioBroker-Sted1:/opt/iobroker$ systemctl status iobroker
                        ! ● iobroker.service - ioBroker Server
                        ! Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset:
                        ! Active: active (running) since Wed 2019-01-16 17:10:26 CET; 17min ago
                        ! Docs: http://iobroker.net
                        ! Main PID: 1556 (iobroker.js-con)
                        ! Tasks: 40 (limit: 4915)
                        ! CGroup: /system.slice/iobroker.service
                        ! ├─1556 iobroker.js-controller
                        ! ├─1566 io.admin.0
                        ! ├─1576 io.discovery.0
                        ! └─1586 io.backitup.0
                        ! Jan 16 17:10:26 ioBroker-Sted1 systemd[1]: Started ioBroker Server.
                        ! Jan 16 17:10:27 ioBroker-Sted1 node[1556]: host.ioBroker-Sted1 check instance "s
                        ! Jan 16 17:10:27 ioBroker-Sted1 node[1556]: host.ioBroker-Sted1 check instance "s
                        ! Jan 16 17:10:27 ioBroker-Sted1 node[1556]: host.ioBroker-Sted1 check instance "s
                        ! Jan 16 17:10:30 ioBroker-Sted1 node[1556]: Send diag info: {"uuid":"9e9e5144-81c
                        ! Jan 16 17:10:33 ioBroker-Sted1 node[1556]: Send diag info: {"uuid":"9e9e5144-81c
                        ! Jan 16 17:10:33 ioBroker-Sted1 node[1556]: Send diag info: {"uuid":"9e9e5144-81c
                        ! lines 1-19/19 (END)
                        Beste Grüsse paul

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

                          Bei mir funktioniert es auch nicht.

                          Iobroker wird nicht gestoppt.

                          Ich schau morgen nochmal.

                          Gruß Torsten

                          Gesendet von meinem MHA-L29 mit Tapatalk

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

                            @paul.honka:

                            Hallo simatec, anbei die Ausgabe von "systemctl status iobroker"

                            ! tinker@ioBroker-Sted1:/opt/iobroker$ systemctl status iobroker
                            ! ● iobroker.service - ioBroker Server
                            ! Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset:
                            ! Active: active (running) since Wed 2019-01-16 17:10:26 CET; 17min ago
                            ! Docs: http://iobroker.net
                            ! Main PID: 1556 (iobroker.js-con)
                            ! Tasks: 40 (limit: 4915)
                            ! CGroup: /system.slice/iobroker.service
                            ! ├─1556 iobroker.js-controller
                            ! ├─1566 io.admin.0
                            ! ├─1576 io.discovery.0
                            ! └─1586 io.backitup.0
                            ! Jan 16 17:10:26 ioBroker-Sted1 systemd[1]: Started ioBroker Server.
                            ! Jan 16 17:10:27 ioBroker-Sted1 node[1556]: host.ioBroker-Sted1 check instance "s
                            ! Jan 16 17:10:27 ioBroker-Sted1 node[1556]: host.ioBroker-Sted1 check instance "s
                            ! Jan 16 17:10:27 ioBroker-Sted1 node[1556]: host.ioBroker-Sted1 check instance "s
                            ! Jan 16 17:10:30 ioBroker-Sted1 node[1556]: Send diag info: {"uuid":"9e9e5144-81c
                            ! Jan 16 17:10:33 ioBroker-Sted1 node[1556]: Send diag info: {"uuid":"9e9e5144-81c
                            ! Jan 16 17:10:33 ioBroker-Sted1 node[1556]: Send diag info: {"uuid":"9e9e5144-81c
                            ! lines 1-19/19 (END)
                            Beste Grüsse paul `

                            Dann teste mal, ob du mit "sudo systemctl stop iobroker" ohne Passwortabfrage stoppen kannst.

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

                              Hallo simatec, ich bin mit dem User tinker und Passwort angemeldet.

                              Dort mus ich bei "sudo systemctl stop iobroker" ein Passwort eingeben.

                              Ist ja auch in der visuodo nicht eingetragen. Ich trage den mal nach.

                              Der neue User iobroker hat welches Passwort oder muss ich eines vergeben?

                              Beste Grüsse paul

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

                                Hallo simatec,

                                habe den User tinker in die visuodo eingetragen.

                                Bei der Eingabe von "systemctl status iobroker"

                                wir kein Passwort verlangt. Es erfolgt gleich die Ausgabe.

                                "sudo systemctl stop iobroker" ohne Passwortabfrage funktioniert auch,

                                "sudo systemctl start iobroker" dto.

                                Beste Grüsse paul

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

                                  Dann funktioniert alles in backitup.

                                  Ist denn der User iobroker richtig in der visudo drin?

                                  Habe gerade die stop_r_IOB.sh nochmal manuell getestet.

                                  Poste doch hier nochmal den Inhalt der stop_r_IOB.sh.

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

                                    Hallo simatec,

                                    hier der Inhalt der stop_r_IOB.sh

                                    cd "/opt/iobroker"

                                    if systemctl status iobroker | grep -q "Active: inactive"; then

                                    bash iobroker stop;

                                    touch /opt/iobroker/node_modules/iobroker.backitup/lib/.start.info;

                                    else

                                    sudo systemctl stop iobroker;

                                    touch /opt/iobroker/node_modules/iobroker.backitup/lib/.startctl.info;

                                    fi

                                    cd "/opt/iobroker/node_modules/iobroker.backitup/lib"

                                    node restore.js

                                    Beste Grüsse paul

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

                                      Bist du dir sicher? Das ist eine start.sh aber nicht die stop.sh!!

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

                                        Nein, oben korrigiert.

                                        Sorry paul

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

                                          OK da ist defintiv alles richtig.

                                          Führe die stop_r_IOB.sh mal manuell aus

                                          bash /opt/iobroker/node_modules/iobroker.backitup/lib/stop_r_IOB.sh
                                          

                                          Was gibt dir die Konsole aus? Führe das auch am besten mit dem User iobroker aus

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

                                            Hallo simatec,

                                            habe dem User iobroker ein Passwort vergeben, dann mit

                                            Putty User iobroker und Passwort Eingabe schliesst sich Putty sofort, wieso das denn???

                                            Hier die Ausgabe in Putty für user tinker

                                            ! tinker@ioBroker-Sted1:~$ bash /opt/iobroker/node_modules/iobroker.backitup/lib/s top_r_IOB.sh
                                            ! touch: '/opt/iobroker/node_modules/iobroker.backitup/lib/.startctl.info' kann ni cht berührt werden: Keine Berechtigung
                                            ! [DEBUG] [minimal] iobroker controller daemon is not running
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 OK.
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Clear all objects and states…
                                            ! [DEBUG] [minimal] clean 81 objects…
                                            ! [DEBUG] [minimal] clean 51 states…
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 done.
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Processed 0/0 states
                                            ! [DEBUG] [minimal] 0 states restored.
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Processed 0/3280 objects
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Processed 200/3280 objects
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Processed 400/3280 objects
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Processed 600/3280 objects
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Processed 800/3280 objects
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Processed 1000/3280 objects
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Processed 1200/3280 objects
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Processed 1400/3280 objects
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Processed 1600/3280 objects
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Processed 1800/3280 objects
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Processed 2000/3280 objects
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Processed 2200/3280 objects
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Processed 2400/3280 objects
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Processed 2600/3280 objects
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Processed 2800/3280 objects
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Processed 3000/3280 objects
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Processed 3200/3280 objects
                                            ! [DEBUG] [minimal] 3280 objects restored.
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Upload user file "vis.0/Meines/vis-views.json
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Upload user file "vis.0/main/vis-views.json
                                            ! [DEBUG] [minimal] host.ioBroker-Sted1 Upload user file "vis.0/main1/vis-views.json
                                            ! [DEBUG] [minimal] got /opt/iobroker/node_modules/iobroker.admin/admin
                                            ! [DEBUG] [minimal] upload [3] iobroker.admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript
                                            Der IOBroker ist auch im stop

                                            Beste Grüsse paul

                                            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

                                            872
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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