Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Backup funktioniert nicht mehr

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Backup funktioniert nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      norman @norman last edited by

      @norman said in Backup funktioniert nicht mehr:

      @thomas-braun said in Backup funktioniert nicht mehr:

      @norman

      Was hast du sonst noch am System rumgeschraubt?

      Sonst nix, ehrlich nicht. Der Raspi kam so out of the Box, hab nur IObroker installiert und die Homebridge, wobei ich die nicht mehr nutze.

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

        @norman Mein Rat … nimm ein neues Raspi minimal Image. Flashe eine Karte installiere iobroker nach Anleitung aus der offiziellen Doku und führe mit dem letzten funktionieren Backup einen Restore durch.

        Dein System hat definitiv ein Problem.

        Ist auch kein großes Ding … dauert ne halbe Stunde und dann noch mal ein Stündchen warten, bis alle Adapter laufen

        N 1 Reply Last reply Reply Quote 0
        • N
          norman @simatec last edited by norman

          @simatec said in Backup funktioniert nicht mehr:

          @norman Mein Rat … nimm ein neues Raspi minimal Image. Flashe eine Karte installiere iobroker nach Anleitung aus der offiziellen Doku und führe mit dem letzten funktionieren Backup einen Restore durch.

          Dein System hat definitiv ein Problem.

          Ist auch kein großes Ding … dauert ne halbe Stunde und dann noch mal ein Stündchen warten, bis alle Adapter laufen

          Ja, ich weiß, hab vor einem Jahr schonmal ein Backup eingespielt, das ging echt super.
          Dachte nur, man könne es vermeiden weil mittlerweile 3 Adapter mehr da sind sowie VIS und Scripte.
          Die Vis und die Scripte kann ich ja separat sichern, reicht es aus, wenn ich im Vis-Editor das Projekt exportiere und anschliessend wieder importiere?

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

            @norman Wann hast du denn dein letztes Backup gemacht?

            N 1 Reply Last reply Reply Quote 0
            • N
              norman @simatec last edited by

              @simatec said in Backup funktioniert nicht mehr:

              @norman Wann hast du denn dein letztes Backup gemacht?

              vor 4 Wochen. Aber in den letzten 4 Wochen habe ich noch eine Ring installiert sowie das Wallpanel für die Vis und die Vis neu aufgesetzt.
              Wallpanel, MQTT und Ring sind jetzt nicht das große Problem, die hab ich schnell nochmal drauf, eher die Vis, da stecken jetzt 3 Wochen Arbeit drinne.
              Deshalb wollte ich jetzt ja nochmal sichern und da fiel mir erst auf, dass Backitup nicht mehr geht.

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

                @norman Wenn ich Ring lese läuten bei mir alle Alarmglocken.
                Wo liegen deine gespeicherten Videos und Snapshots? Mit großer Wahrscheinlichkeit in iobroker dir. Dann ist klar, warum iobroker bzw. dein System beim Backup in die Knie geht

                N 1 Reply Last reply Reply Quote 0
                • N
                  norman @simatec last edited by

                  @simatec said in Backup funktioniert nicht mehr:

                  @norman Wenn ich Ring lese läuten bei mir alle Alarmglocken.
                  Wo liegen deine gespeicherten Videos und Snapshots? Mit großer Wahrscheinlichkeit in iobroker dir. Dann ist klar, warum iobroker bzw. dein System beim Backup in die Knie geht

                  Nö, die hab ich alle deaktiviert weil das mit dem Adapter eh nicht richtig funktioniert.
                  Ausserdem hab ich in weiser Voraussicht auch schon den Ordner händisch geleert....

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

                    @norman
                    Was passiert denn, wenn du das Backup über die Konsole ausführst?

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      norman @simatec last edited by

                      @simatec said in Backup funktioniert nicht mehr:

                      @norman
                      Was passiert denn, wenn du das Backup über die Konsole ausführst?

                      Genau das gleiche, blos das ich dann noch diese Fehlermeldungen im Log sehe:

                      admin.JPG

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

                        @norman
                        Stoppe mal den iobroker und alle andere laufenden Prozesse auf deinem PI und führe danach das Backup durch

                        N 1 Reply Last reply Reply Quote 1
                        • N
                          norman @simatec last edited by

                          @simatec said in Backup funktioniert nicht mehr:

                          @norman
                          Stoppe mal den iobroker und alle andere laufenden Prozesse auf deinem PI und führe danach das Backup durch

                          er scheint dann zwar durchzulaufen ohne hängen zu bleiben

                          pi@raspberrypi:/home $ iobroker backup
                          host.raspberrypi 3001 states saved
                          host.raspberrypi 3582 objects saved
                          /usr/bin/iobroker: Zeile 8:  1589 Get▒tet                 sudo -H -u iobroker no             de /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                          
                          

                          aber im Verzeichnis /opt/iobroker/backups wird nichts abgelegt

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @norman last edited by

                            @norman sagte in Backup funktioniert nicht mehr:

                            sudo -H -u iobroker whoami
                            

                            Auch mal die node-Installation geprüft?

                            sudo ln -s /usr/bin/node /usr/bin/nodejs
                            which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                            
                            N 1 Reply Last reply Reply Quote 1
                            • N
                              norman @Thomas Braun last edited by

                              @thomas-braun said in Backup funktioniert nicht mehr:

                              @norman sagte in Backup funktioniert nicht mehr:

                              sudo -H -u iobroker whoami
                              

                              Auch mal die node-Installation geprüft?

                              sudo ln -s /usr/bin/node /usr/bin/nodejs
                              which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                              

                              Zu spät, bin gerade dabei neu aufzusetzen bzw. hab IObroker neu aufgesetzt.
                              Aber das Backup spielt gerade schon ewig ein, über 1,5 Stunden.
                              Ich weiß, das dauert lang, aber irgendwie hab ich das Gefühl da hängt was.
                              Der Admin ist auch nicht erreichbar, ist das normal?
                              Gibt es irgendwo eine Art LOG-Datei oder so um zu sehen, was er gerade am machen ist?

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

                                @norman sagte in Backup funktioniert nicht mehr:

                                Gibt es irgendwo eine Art LOG-Datei oder so um zu sehen, was er gerade am machen ist?

                                iobroker logs --watch

                                N 2 Replies Last reply Reply Quote 1
                                • N
                                  norman @Homoran last edited by

                                  @homoran said in Backup funktioniert nicht mehr:

                                  iobroker logs --watch

                                  2021-12-10 15:19:28.407  - error: host.raspberrypi No connection to databases po                                                                                                                                                             ssible, restart
                                  2021-12-10 15:19:28.420  - info: host.raspberrypi iobroker _restart
                                  2021-12-10 15:19:29.205  - info: host.raspberrypi iobroker Starting node restart                                                                                                                                                             .js
                                  2021-12-10 15:19:30.879  - info: host.raspberrypi iobroker.js-controller version                                                                                                                                                              3.3.21 js-controller starting
                                  2021-12-10 15:19:30.886  - info: host.raspberrypi Copyright (c) 2014-2021 bluefo                                                                                                                                                             x, 2014 hobbyquaker
                                  2021-12-10 15:19:30.887  - info: host.raspberrypi hostname: raspberrypi, node: v                                                                                                                                                             14.18.2
                                  2021-12-10 15:19:30.887  - info: host.raspberrypi ip addresses: 192.168.178.60 2                                                                                                                                                             003:e7:5f36:7000:8a97:ec8a:d65:b71c fe80::9f11:5f6a:d95c:7cb8
                                  2021-12-10 15:20:00.908  - error: host.raspberrypi No connection to databases possible, restart
                                  2021-12-10 15:20:00.932  - info: host.raspberrypi iobroker _restart
                                  2021-12-10 15:20:00.908  - error: host.raspberrypi No connection to databases possible, restart
                                  2021-12-10 15:20:00.932  - info: host.raspberrypi iobroker _restart
                                  2021-12-10 15:20:01.726  - info: host.raspberrypi iobroker Starting node restart.js
                                  2021-12-10 15:20:01.726  - info: host.raspberrypi iobroker Starting node restart.js
                                  2021-12-10 15:20:03.371  - info: host.raspberrypi iobroker.js-controller version 3.3.21 js-controller starting
                                  2021-12-10 15:20:03.378  - info: host.raspberrypi Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker
                                  2021-12-10 15:20:03.379  - info: host.raspberrypi hostname: raspberrypi, node: v14.18.2
                                  2021-12-10 15:20:03.380  - info: host.raspberrypi ip addresses: 192.168.178.60 2003:e7:5f36:7000:8a97:ec8a:d65:b71c fe80::9f11:5f6a:d95c:7cb8
                                  2021-12-10 15:20:03.371  - info: host.raspberrypi iobroker.js-controller version 3.3.21 js-controller starting
                                  2021-12-10 15:20:03.378  - info: host.raspberrypi Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker
                                  2021-12-10 15:20:03.379  - info: host.raspberrypi hostname: raspberrypi, node: v14.18.2
                                  2021-12-10 15:20:03.380  - info: host.raspberrypi ip addresses: 192.168.178.60 2003:e7:5f36:7000:8a97:ec8a:d65:b71c fe80::9f11:5f6a:d95c:7cb8
                                  2021-12-10 15:20:33.401  - error: host.raspberrypi No connection to databases possible, restart
                                  2021-12-10 15:20:33.416  - info: host.raspberrypi iobroker _restart
                                  2021-12-10 15:20:33.401  - error: host.raspberrypi No connection to databases possible, restart
                                  2021-12-10 15:20:33.416  - info: host.raspberrypi iobroker _restart
                                  2021-12-10 15:20:34.204  - info: host.raspberrypi iobroker Starting node restart.js
                                  2021-12-10 15:20:34.204  - info: host.raspberrypi iobroker Starting node restart.js
                                  2021-12-10 15:20:35.874  - info: host.raspberrypi iobroker.js-controller version 3.3.21 js-controller starting
                                  2021-12-10 15:20:35.881  - info: host.raspberrypi Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker
                                  2021-12-10 15:20:35.882  - info: host.raspberrypi hostname: raspberrypi, node: v14.18.2
                                  2021-12-10 15:20:35.883  - info: host.raspberrypi ip addresses: 192.168.178.60 2003:e7:5f36:7000:8a97:ec8a:d65:b71c fe80::9f11:5f6a:d95c:7cb8
                                  2021-12-10 15:20:35.874  - info: host.raspberrypi iobroker.js-controller version 3.3.21 js-controller starting
                                  2021-12-10 15:20:35.881  - info: host.raspberrypi Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker
                                  2021-12-10 15:20:35.882  - info: host.raspberrypi hostname: raspberrypi, node: v14.18.2
                                  2021-12-10 15:20:35.883  - info: host.raspberrypi ip addresses: 192.168.178.60 2003:e7:5f36:7000:8a97:ec8a:d65:b71c fe80::9f11:5f6a:d95c:7cb8
                                  2021-12-10 15:21:05.905  - error: host.raspberrypi No connection to databases possible, restart
                                  2021-12-10 15:21:05.918  - info: host.raspberrypi iobroker _restart
                                  2021-12-10 15:21:05.905  - error: host.raspberrypi No connection to databases possible, restart
                                  2021-12-10 15:21:05.918  - info: host.raspberrypi iobroker _restart
                                  2021-12-10 15:21:06.706  - info: host.raspberrypi iobroker Starting node restart.js
                                  2021-12-10 15:21:06.706  - info: host.raspberrypi iobroker Starting node restart.js
                                  2021-12-10 15:21:08.366  - info: host.raspberrypi iobroker.js-controller version 3.3.21 js-controller starting
                                  2021-12-10 15:21:08.373  - info: host.raspberrypi Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker
                                  2021-12-10 15:21:08.374  - info: host.raspberrypi hostname: raspberrypi, node: v14.18.2
                                  2021-12-10 15:21:08.374  - info: host.raspberrypi ip addresses: 192.168.178.60 2003:e7:5f36:7000:8a97:ec8a:d65:b71c fe80::9f11:5f6a:d95c:7cb8
                                  2021-12-10 15:21:08.366  - info: host.raspberrypi iobroker.js-controller version 3.3.21 js-controller starting
                                  2021-12-10 15:21:08.373  - info: host.raspberrypi Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker
                                  2021-12-10 15:21:08.374  - info: host.raspberrypi hostname: raspberrypi, node: v14.18.2
                                  2021-12-10 15:21:08.374  - info: host.raspberrypi ip addresses: 192.168.178.60 2003:e7:5f36:7000:8a97:ec8a:d65:b71c fe80::9f11:5f6a:d95c:7cb8
                                  
                                  
                                  

                                  Das schaut irgendwie nicht gut aus, oder??

                                  1 Reply Last reply Reply Quote 0
                                  • N
                                    norman @Homoran last edited by

                                    @homoran

                                    
                                    pi@raspberrypi:~ $ iobroker status
                                    No connection to states 127.0.0.1:6379[redis]
                                    pi@raspberrypi:~ $
                                    
                                    
                                    

                                    irgendwas is hier verhagelt

                                    simatec Thomas Braun 2 Replies Last reply Reply Quote 0
                                    • simatec
                                      simatec Developer Most Active @norman last edited by

                                      @norman Hast du denn redis laufen?

                                      1 Reply Last reply Reply Quote 1
                                      • Thomas Braun
                                        Thomas Braun Most Active @norman last edited by

                                        @norman

                                        Ist redis installiert? Und läuft das?

                                        apt policy redis
                                        
                                        N 1 Reply Last reply Reply Quote 1
                                        • N
                                          norman @Thomas Braun last edited by

                                          @thomas-braun said in Backup funktioniert nicht mehr:

                                          @norman

                                          Ist redis installiert? Und läuft das?

                                          apt policy redis
                                          

                                          Hallo Thomas,

                                          nein, den hatte ich vergessen zu installieren, ist mir dann aber auch schon aufgefallen.

                                          Wie auch immer, hab den Raspi komplett neu aufgesetzt und das hats auch gebracht, Backup funktioniert wieder.
                                          Irgendwas hat es da wohl verhagelt.....
                                          Naja, ein ganzen Freitag Arbeit, da sich beim letzten Backup vor 4 Wochen doch einiges geändert hat.

                                          Jedenfalls danke euch allen für die Hilfe, Thread kann als gelöst markiert werden!

                                          Thomas Braun Glasfaser 2 Replies Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @norman last edited by

                                            @norman sagte in Backup funktioniert nicht mehr:

                                            Thread kann als gelöst markiert werden!

                                            Kann nur der Threadersteller. Eintrag entspreched editieren.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            906
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            108
                                            4912
                                            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