Navigation

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

    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

    UNSOLVED BackItUp erstellt kein Iobroker Backup mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tiego @Thomas Braun last edited by

      @Thomas-Braun
      und wie mach ich das?

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • J
        Jan1 @Thomas Braun last edited by

        @Thomas-Braun
        Das wird bei einer vollen SWAP Auslastung wohl auch nicht mehr reichen, aber ein Anfang und Versuch wäre es wert.
        @tiego
        Da bitte auch gleich mal die Karte tauschen, wenn das Ding so swapt wird die bald das zeitliche segnen

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

          @tiego

          sudo apt update
          sudo apt full-upgrade
          sudo reboot
          

          Dann in

          sudo raspi-config
          

          Den Systemstart auf 'CLI with login' stellen. Die Menüpunkte kenn ich aber nicht auswendig.

          Und wo du gerade da aktiv bist kannst du auch die Sprache auf deutsch-utf8 einstellen, dann werden auch die Umlaute richtig dargestellt.

          1 Reply Last reply Reply Quote 0
          • T
            tiego last edited by

            pi@ioBroker-RasPi:~ $ free -h
                          total        used        free      shared  buff/cache   available
            Mem:           975M        638M        192M        3,7M        144M        322M
            Swap:           99M        2,8M         97M
            
            pi@ioBroker-RasPi:~ $ who -r
                     Runlevel 3   2020-12-26 12:48
            

            sieht besser aus oder?
            Gibt es noch eine möglichkeit zur optimierung?
            Wieviel Ram solte den Frei sein am System damit Backup läuft?

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

              @tiego sagte in BackItUp erstellt kein Iobroker Backup mehr:

              sieht besser aus oder?

              nein!

              @tiego sagte in BackItUp erstellt kein Iobroker Backup mehr:

              Swap: 99M 2,8M 97M

              der Swap sollte gar nicht benutzt werden.

              @tiego sagte in BackItUp erstellt kein Iobroker Backup mehr:

              Wieviel Ram solte den Frei sein am System damit Backup läuft?

              was sagt iobroker list instances

              T 1 Reply Last reply Reply Quote 0
              • T
                tiego @Homoran last edited by

                pi@ioBroker-RasPi:~ $ iobroker list instances
                + system.adapter.admin.0                 : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                + system.adapter.alexa2.0                : alexa2                -  enabled
                + system.adapter.backitup.0              : backitup              -  enabled
                  system.adapter.ble.0                   : ble                   - disabled
                + system.adapter.info.0                  : info                  -  enabled
                + system.adapter.javascript.0            : javascript            -  enabled
                + system.adapter.knx.0                   : knx                   -  enabled, bind: 192.168.170.11
                + system.adapter.modbus.0                : modbus                -  enabled
                + system.adapter.mqtt.0                  : mqtt                  -  enabled, port: 1883, bind: 0.0.0.0
                + system.adapter.ping.0                  : ping                  -  enabled
                + system.adapter.rpi2.0                  : rpi2                  -  enabled
                + system.adapter.snmp.0                  : snmp                  -  enabled
                + system.adapter.telegram.0              : telegram              -  enabled, port: 8443, bind: 0.0.0.0
                + system.adapter.telegram.1              : telegram              -  enabled, port: 8443, bind: 0.0.0.0
                + system.adapter.tr-064.0                : tr-064                -  enabled
                  system.adapter.vis.0                   : vis                   - disabled
                  system.adapter.web.0                   : web                   - disabled, port: 8082, bind: 0.0.0.0, run as: admin
                  system.adapter.wm-bus.0                : wm-bus                - disabled
                + system.adapter.worx.0                  : worx                  -  enabled
                
                + instance is alive
                
                Homoran 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @tiego last edited by

                  @tiego wenn ich mich nicht verzählt habe sind das 14 Instanzen, davon 10 aktive.

                  Bei 1GB RAM fängt es hier an ungemütlich zu werden.
                  Je nach Umfang deiner Skripte kann der RAM schon kritisch sein, wenn das geplante Backup startet.
                  Das Backup benötigt erheblich RAM, da im Prinzip, die gesamte ioBroker Konfigurationen kopiert, gepackt und geschrieben werden müssen

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    tiego @Homoran last edited by

                    @Homoran danke, bringt es was wenn ich die deaktivierten deinstalliere?
                    ich hab gesehen der JS Instanz braucht viel ram, hängt es dort mit der grösse der skripte zusammen oder der anzahl der Funktionen?

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

                      @tiego sagte in BackItUp erstellt kein Iobroker Backup mehr:

                      bringt es was wenn ich die deaktivierten deinstalliere?

                      nicht wirklich!
                      im RAM ist nur, was aktiv ist

                      @tiego sagte in BackItUp erstellt kein Iobroker Backup mehr:

                      hängt es dort mit der grösse der skripte zusammen oder der anzahl der Funktionen?

                      verstehst du darunter.
                      Es hängt mit Umfang der auszuführenden Befehle, deren Häufigkeit und Komplexität zusammen

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        tiego @Homoran last edited by

                        @Homoran

                        pi@ioBroker-RasPi:~ $ free -h
                                      total        used        free      shared  buff/cache   available
                        Mem:           975M        583M        229M         11M        162M        368M
                        Swap:           99M        1,5M         98M
                        
                        

                        habe nun einige adapter deaktiviert die ich nicht dringend brauche, aber der Swap hat sich nach dem Reboot nicht reduziert
                        gibt es noch einen tip wo ich ram Freischaufeln kann?

                        danke

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

                          @tiego RAM ist genug frei.

                          1 Reply Last reply Reply Quote 0
                          • T
                            tiego last edited by

                            Hallo,
                            obwol 250Mb ram frei sind funktioniert das Backup noch nicht, gibt es noch einen ansatz?

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

                              @tiego Meldungen im log file?

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                tiego @Thomas Braun last edited by

                                @Thomas-Braun

                                Gestartet...
                                [DEBUG] [iobroker] - host.ioBroker-RasPi 39565 states saved
                                
                                [DEBUG] [iobroker] - host.ioBroker-RasPi 40276 objects saved
                                
                                [DEBUG] [iobroker] - done
                                [ERROR] [dropbox] - Dropbox: File "/opt/iobroker/backups/iobroker_2020_12_26-20_07_02_backupiobroker.tar.gz" not found
                                [DEBUG] [dropbox] - done
                                [DEBUG] [clean] - done
                                [DEBUG] [telegram] - done
                                [DEBUG] [historyHTML] - new history html values created
                                [DEBUG] [historyHTML] - done
                                [DEBUG] [historyJSON] - new history json values created
                                [DEBUG] [historyJSON] - done
                                [EXIT] 0
                                

                                mehr steht leider nicht,...

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

                                  @tiego sagte in BackItUp erstellt kein Iobroker Backup mehr:

                                  Welches log ist das? Da fehlen die Timestamps.

                                  Was sagt

                                  dmesg
                                  

                                  dazu?

                                  T 1 Reply Last reply Reply Quote 0
                                  • T
                                    tiego @Thomas Braun last edited by tiego

                                    @Thomas-Braun

                                    [14397.047861] [    743]  1001   743    35174     5461   225280        0             0 node
                                    [14397.047867] [    749]  1001   749    37002     7022   274432        0             0 node
                                    [14397.047873] [    974]  1001   974    40753    11436   368640        0             0 node
                                    [14397.047882] [   5331]  1001  5331   122969    87654  1142784        0             0 node
                                    [14397.047886] Out of memory: Kill process 5331 (node) score 352 or sacrifice child
                                    [14397.047922] Killed process 5331 (node) total-vm:491876kB, anon-rss:350608kB, file-rss:8kB, shmem-rss:0kB
                                    [14397.141181] oom_rea
                                    

                                    ich denke es hat trozdem was mit den Ram zu tun,...

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

                                      @tiego Ja.

                                      T 1 Reply Last reply Reply Quote 0
                                      • T
                                        tiego @Thomas Braun last edited by

                                        @Thomas-Braun

                                        habe jetzt noch einaml versucht alles zu reduzieren was ich nicht brauche.

                                        pi@ioBroker-RasPi:~ $ free -h
                                                      total        used        free      shared  buff/cache   available
                                        Mem:           975M        523M        279M         12M        172M        420M
                                        Swap:           99M          0B         99M
                                        
                                        

                                        wieviel Ram solten frei sein damit das Backup durchläuft?

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

                                          @tiego Eigentlich würde ich behaupten es sollte jetzt gehen. Wenn du natürlich da Schleifen eingebaut hast, dann stranguliert sich das Backup selber.

                                          who -r
                                          

                                          bringt?

                                          T 2 Replies Last reply Reply Quote 0
                                          • T
                                            tiego @Thomas Braun last edited by

                                            @Thomas-Braun sagte in BackItUp erstellt kein Iobroker Backup mehr:

                                            who -r

                                            
                                            pi@ioBroker-RasPi:~ $ who -r
                                                     Runlevel 3   2020-12-27 11:25
                                            
                                            
                                            T 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            934
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            backitup kein backup
                                            6
                                            41
                                            2236
                                            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