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.
    • 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
                            • T
                              tiego @tiego last edited by

                              @tiego

                              mehr ram freimachen schaf ich nicht 🙂

                              pi@ioBroker-RasPi:~ $ free -h
                                            total        used        free      shared  buff/cache   available
                              Mem:           975M        506M        285M         12M        183M        453M
                              Swap:           99M          0B         99M
                              
                              
                              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:

                                @tiego

                                mehr ram freimachen schaf ich nicht 🙂

                                pi@ioBroker-RasPi:~ $ free -h
                                              total        used        free      shared  buff/cache   available
                                Mem:           975M        506M        285M         12M        183M        453M
                                Swap:           99M          0B         99M
                                
                                

                                ist doch gut - er swapped nicht mehr!

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

                                  @Thomas-Braun

                                  mir fällt gerade auf das sobald ich das Backup staerte die Ram steigen und der Swap voll wird

                                  pi@ioBroker-RasPi:~ $ free -h
                                                total        used        free      shared  buff/cache   available
                                  Mem:           975M        452M        464M        832K         58M        492M
                                  Swap:           99M         89M         10M
                                  
                                  
                                  Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @tiego last edited by

                                    @tiego Merkwürdig. Eigentlich sollte der swap nur in allerhöchster Not verwendet werden, wenn der reguläre RAM ausgegangen ist.

                                    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:

                                      das sobald ich das Backup staerte die Ram steigen

                                      das ist auch ok, wie ich früher schon schrieb.

                                      @tiego sagte in BackItUp erstellt kein Iobroker Backup mehr:

                                      und der Swap voll wird

                                      bei 492M availöable sollte das eigentlich nicht der Fall sein

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

                                        @Homoran @Thomas-Braun
                                        Hallo, leider hilft auch nicht alle adapter auser den Admin und Backup zu deaktivieren und das Backup zu starten. in diesem Modus hätte ich 650Mb Ram frei, aber das Backup läuft nicht durch.

                                        habt ihr noch eine Idee?

                                        P.s. ich habe den RPI 4 mit 4GB geordert, sollte die nächsten Tage ankommen. Wie kann ich den Iobroker am einfachsten migriren ohen altlasten mitzuzihen?

                                        danke

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

                                          @tiego
                                          Da dein System so an der Grenze ist, würde ich alles stoppen was so auf dem pi läuft und dann folgendes machen.

                                          iobroker stop
                                          iobroker backup
                                          

                                          Das dann in /opt/iobroker/backups angelegte Backup überträgst du dann mit einem SFTP Tool (z.B. Filezilla) auf den PI4 und führst den Restore laut meinem Howto durch.

                                          Am einfachsten ist es, wenn du deinem PI4 den gleichen Hostnamen und die gleiche IP gibst

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

                                            @simatec sagte in BackItUp erstellt kein Iobroker Backup mehr:

                                            iobroker backup

                                            danke, leider auch ohne Funktion,...

                                            pi@ioBroker-RasPi:~ $ free -h
                                                          total        used        free      shared  buff/cache   available
                                            Mem:           975M         43M        674M         12M        257M        868M
                                            Swap:            0B          0B          0B
                                            
                                            pi@ioBroker-RasPi:~ $ iobroker stop
                                            pi@ioBroker-RasPi:~ $ iobroker backup
                                            host.ioBroker-RasPi 39486 states saved
                                            host.ioBroker-RasPi 40174 objects saved
                                            
                                            <--- Last few GCs --->
                                            
                                            [22978:0x3e9f9f0]    20986 ms: Scavenge 205.3 (213.3) -> 204.9 (213.1) MB, 1.8 / 0.0 ms  (average mu = 0.963, current mu = 0.996) allocation failure
                                            
                                            
                                            <--- JS stacktrace --->
                                            Cannot get stack trace in GC.
                                            FATAL ERROR: MarkCompactCollector: semi-space copy, fallback in old gen Allocation failed - JavaScript heap out of memory
                                            /usr/bin/iobroker: Zeile 8: 22974 Abgebrochen             sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                                            
                                            
                                            simatec 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            553
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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