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.
    • crunchip
      crunchip Forum Testing Most Active @liv-in-sky last edited by

      @liv-in-sky glaub das sind zusätzliche "Sicherungen" die automatisch abgelegt werden,
      für states und objects
      bei mir im 2Std Takt
      ef231063-2b36-40ae-9cbf-20e521ef11a8-image.png 8220ad4c-40ea-482f-8a1d-8a31c92d3bfb-image.png

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

        @crunchip ok - schon mal gut, dass du das auch hast - aber 7 gb ist etwas viel - wie in meinem fall - weißt du , wo sich das kontrollieren kann oder muss ich da ein bash script schreiben, dass alles was älter ist - wie z.b 7 tage - löscht

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

          @liv-in-sky:

          womit ich diese *.gz-files erzeugt werden

          Die erzeugt der js-controller. In der Datei iobroker-data/iobroker.json kann die Anzahl der Backups angepasst werden.

            "objects": {
              "type": "file",
              "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
              "host": "127.0.0.1",
              "port": 9001,
              "user": "",
              "pass": "",
              "noFileCache": false,
              "connectTimeout": 2000,
              "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"
              },
              "options": {
                "auth_pass": null,
                "retry_max_delay": 5000
              }
            },
          
          liv-in-sky crunchip 2 Replies Last reply Reply Quote 1
          • liv-in-sky
            liv-in-sky @paul53 last edited by

            @paul53 danke dir - super tipp

            da sollte aber nicht so versteckt sein - ich kann doch nicht der einzige sein, bei dem dieser ordner zu groß wird - hätte ich einen raspi mit 8 GB sd-card wäre dieser abgestürzt, da kein platz mehr - oder sehe ich das falsch ?

            paul53 crunchip BBTown 3 Replies Last reply Reply Quote 0
            • paul53
              paul53 @liv-in-sky last edited by

              @liv-in-sky sagte:

              hätte ich einen raspi mit 8 GB sd-card wäre dieser abgestürzt, da kein platz mehr - oder sehe ich das falsch ?

              Stimmt. Ich habe für meinen RasPi period auf 720 hoch gesetzt.

              1 Reply Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active @liv-in-sky last edited by

                @liv-in-sky die Frage wäre, was bei dir eingestellt ist. Ich habe da nichts verstellt und somit die "Standard" Einstellung.
                Die zweite Frage wäre dann ... was bei Dir schief läuft

                liv-in-sky 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @paul53 last edited by

                  @paul53 sagte in ordner in iobroker "explodiert":

                  "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"

                  diesen Part habe ich bei mir gar nicht drin stehen

                  paul53 T 2 Replies Last reply Reply Quote 0
                  • BBTown
                    BBTown @liv-in-sky last edited by BBTown

                    @liv-in-sky
                    bei mir ist in der iobroker.json überhaupt kein Eintrag bzgl. Backups enthalten.
                    @paul53 weißt Du über welchen Weg die Einträge dort gesetzt werden?

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

                      @crunchip kann mich nicht mehr erinnern, dass ich da was geändert hätte - die ersten files kamen im oktober 2019 - da könnte man das schon vergessen

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

                        @crunchip sagte:

                        diesen Part habe ich bei mir gar nicht drin stehen

                        Welche Version js-controller ?

                        BBTown crunchip 2 Replies Last reply Reply Quote 0
                        • BBTown
                          BBTown @paul53 last edited by BBTown

                          @paul53 v3.0.20

                          [EDIT]
                          Ich war gar nicht angesprochen, sorry 😎

                          1 Reply Last reply Reply Quote 0
                          • crunchip
                            crunchip Forum Testing Most Active @paul53 last edited by

                            @paul53 3.0.20

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

                              habe auch 3.0.20 - bei mir ist da auch kein eintrag - im oktober könnte der umstieg auf js-cont 2 gewesen sein ?

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

                                @crunchip
                                Dann schaue unter "/opt/iobroker/node_modules/iobroker.js-controller/conf/iobroker-dist.json". Dort habe ich es für meinen RasPi geändert.

                                crunchip liv-in-sky 2 Replies Last reply Reply Quote 1
                                • crunchip
                                  crunchip Forum Testing Most Active @liv-in-sky last edited by

                                  @liv-in-sky meine älteste json.gz in diesem ordner ist bei mir vom 01.05.2020, also Inhaltlich alle 2 Std der letzten 2 Tage

                                  1 Reply Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @paul53 last edited by

                                    @paul53 korrekt👍 , aber das muss man ja erstmal wissen🤔

                                    "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
                                    • liv-in-sky
                                      liv-in-sky @paul53 last edited by

                                      @paul53

                                      das löschen scheint aber nicht zu
                                      funktionieren - files älter als 48 stunden sollten gelöscht werden

                                              "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"
                                              }
                                      
                                      crunchip 1 Reply Last reply Reply Quote 0
                                      • paul53
                                        paul53 @liv-in-sky last edited by

                                        @liv-in-sky sagte:

                                        im oktober könnte der umstieg auf js-cont 2 gewesen sein ?

                                        Auf meinem RasPi läuft noch Version 1.4.2 mit diesen Backups.

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

                                          @crunchip sagte:

                                          aber das muss man ja erstmal wissen

                                          Ich musste auch suchen.

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

                                            @paul53

                                            muss wohl unter github eintrag gehen, um ein lösung zu finden - die files sollten schon gelöscht werden

                                            wenn ich die backupNumber als "files" ist 24 interpretiere, ist da wohl ein bug drin

                                            BBTown paul53 2 Replies 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

                                            1.0k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

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