Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ordner in iobroker "explodiert" : backup-objects

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    ordner in iobroker "explodiert" : backup-objects

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

      Guten Morgen,
      habe das gerade bei meiner Produktiven Instanz auch festgestellt - da wurden seit 23.12.19 keine alten Dateien mehr gelöscht 🙂

      In der /opt/iobroker/iobroker-data/iobroker.json auf der Prod-Instanz fehlt auch bei mir der Backup-Pfad - auf meiner frisch aufgesetzten Test-Instanz ist der da. Ist wohl dann bei irgendeinem Update verloren gegangen 🙂

      "backup": {
            "disabled": false,
            "files": 24,
            "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
            "hours": 48,
            "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
            "period": 120,
            "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
            "path": "",
            "pathComment": "Absolute path to backup directory or empty to backup in data directory"
      }
      
      paul53 1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 last edited by

        Ja ist ein Bug seit dem controller 2.0 ... 🙂 Fixen wir im 3er

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

          Der backup Sub-Block unter objects fehlt bei mir auch im JSON, aber dennoch rotiert er schon immer korrekt.
          Dass er fehlt ist also nicht automatisch die Ursache für eine nicht funktionierende Rotation.

          Er gehört aber wenn ich das hier als Master deute schon rein:
          https://github.com/ioBroker/ioBroker.js-controller/blob/master/conf/iobroker-dist.json

          @apollon77 Ist das ein bug oder missing feature?
          Edit: Schon bestätigt

          apollon77 1 Reply Last reply Reply Quote 0
          • apollon77
            apollon77 @Diginix last edited by

            @Diginix Naja heisst nur das dein iobroker install "älter" ist als das dieses Feature eingeführt wurde. Damit gelten intern definierte Default Werte.

            Diginix 1 Reply Last reply Reply Quote 0
            • paul53
              paul53 @darkiop last edited by paul53

              @darkiop sagte:

              Ist wohl dann bei irgendeinem Update verloren gegangen

              Der Backup-Part ist wohl erst bei neuen Versionen des js-controllers in dieser Datei, vorher in /opt/iobroker/node_modules/iobroker.js-controller/conf/iobroker-dist.json. Ob die Einstellungen in dieser Datei berücksichtigt werden, kann ich nicht beurteilen.

              paul53 1 Reply Last reply Reply Quote 0
              • Diginix
                Diginix @apollon77 last edited by

                @apollon77 Dachte ich mir schon, weil er ja bei mir sauber rotiert. Das JSON wird also nie auf den aktuellen Stand migriert.
                Dann ist das auch der Grund bei allen anderen wo der Block fehlt.
                Wenn Dateien dennoch nicht gelöscht werden, kann es demnach eine andere Ursache haben, zb Berechtigung oder vllt auch fehlende default Werte?

                apollon77 1 Reply Last reply Reply Quote 0
                • apollon77
                  apollon77 @Diginix last edited by

                  @Diginix ne ist ein einfacher Code Fehler der wohl bei den Umbauarbeiten der File DBs im Controller 2.0 passiert und bisher keinem aufgefallen. Er hat genau die Files mit .gz um die es geht aussortiert 🙂

                  1 Reply Last reply Reply Quote 0
                  • paul53
                    paul53 @TemPeck last edited by

                    @TemPeck sagte:

                    dass seit letztem Jahr bereits keine states.json.gz mehr angelegt worden ist.

                    Hast Du vielleicht zu dem Zeitpunkt auf Redis umgestellt ?

                    @TemPeck sagte in ordner in iobroker "explodiert" : backup-objects:

                    unter /opt/iobroker/iobroker-data/backup-objects/ oder gibt es da dann auch einen anderen Pfad?

                    Der Pfad hat sich nie geändert.

                    apollon77 1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 @paul53 last edited by

                      @paul53 Jupp bei einer redis nutzung kommen dort keine Files rein

                      1 Reply Last reply Reply Quote 0
                      • liv-in-sky
                        liv-in-sky last edited by

                        ist auf github:

                        https://github.com/ioBroker/ioBroker.js-controller/issues/866

                        liv-in-sky created this issue in ioBroker/ioBroker.js-controller

                        closed backup-object folder isn't deleting files #866

                        1 Reply Last reply Reply Quote 0
                        • liv-in-sky
                          liv-in-sky last edited by

                          lt. github eintrag ist das gefixt und sollte in der nächsten version des js-controllers drin sein

                          1 Reply Last reply Reply Quote 0
                          • paul53
                            paul53 @paul53 last edited by paul53

                            @paul53 sagte:

                            in /opt/iobroker/node_modules/iobroker.js-controller/conf/iobroker-dist.json. Ob die Einstellungen in dieser Datei berücksichtigt werden, kann ich nicht beurteilen.

                            Seit gestern getestet: Die Einstellungen in /opt/iobroker/node_modules/iobroker.js-controller/conf/iobroker-dist.json und in /opt/iobroker/iobroker-data/iobroker.json bewirken keine Änderung des Verhaltens: Es werden weiterhin alle 2 Stunden die Backups erzeugt und die Dateianzahl bleibt bei 49. Meine Änderungen für objects:

                                "backup": {
                                  "disabled": false,
                                  "files": 12,
                                  "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                                  "hours": 48,
                                  "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                                  "period": 480,
                                  "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                                  "path": "",
                                  "pathComment": "Absolute path to backup directory or empty to backup in data directory"
                                },
                            
                            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

                            497
                            Online

                            31.7k
                            Users

                            79.7k
                            Topics

                            1.3m
                            Posts

                            object backup
                            8
                            49
                            3335
                            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