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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    ordner in iobroker "explodiert" : backup-objects

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                            • BBTown
                              BBTown @liv-in-sky last edited by

                              @liv-in-sky
                              wenn Du alle 2 Stunden innerhalb von 48 Stunden eine Backup machst, dann kommst Du auf die 24 files, so dass rollierend im gesamten Tagesverlauf alle 2 Stunden auch ein file gelöscht werden sollte.

                              ... so habe ich es mir zumindest erklärt 😉

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

                                @liv-in-sky auf deinem sreen oben hast du aber nen Zeitsprung, vllt ist da damals was schief gelaufen, beim Controller update

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

                                  @crunchip der zeitsprung ist nur, weil ich über 2000 files "händisch" gelöscht habe

                                  siehe unterschied proxmox backup:
                                  Image 3.png

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

                                    @crunchip aber die idee ist nicht schlecht

                                    ich werd mal warten, was in 2 tagen ist

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

                                      @liv-in-sky
                                      So sieht der Ordner auf meinem RasPi aus:

                                      backupobjects.JPG

                                      Aber ich kann mich dunkel erinnern (es war Juli 2018), dass die Änderung in der Konfigurations-Datei nichts bewirkt hat und ich die Änderungen in den Quell-Dateien "objectsInMemServer.js" und "statesInMemServer.js" vorgenommen habe. Das hat sich hoffentlich in neueren Versionen geändert ?

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

                                        @paul53

                                        ich warte mal 2 tage und wenn das nicht wie bei dir aussieht, werd ich git eintrag machen

                                        die files , die du beschreibst, würde ich nicht ändern - dazu fehlt mir zuviel background 😞 wer weiß, was ich da fabrizieren würde

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

                                          @liv-in-sky sagte:

                                          die files , die du beschreibst, würde ich nicht ändern

                                          Die sehen mittlerweile auch ganz anders aus.

                                          @liv-in-sky sagte in ordner in iobroker "explodiert" : backup-objects:

                                          wenn das nicht wie bei dir aussieht

                                          Dazu meine Einstellungen für die Objekte:

                                              settings.backup = settings.backup || {
                                                  disabled:   false,  // deactivates
                                                  files:      6,      // minimum number of files
                                                  hours:      72,     // hours
                                                  period:     720,    // minutes
                                                  path:       ''      // absolute path
                                              };
                                          

                                          States:

                                              settings.backup = settings.backup || {
                                                  disabled:   false,  // deactivates
                                                  files:      8,      // minimum number of files
                                                  hours:      48,     // hours
                                                  period:     240,    // minutes
                                                  path:       ''      // use default path
                                              };
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • crunchip
                                            crunchip Forum Testing Most Active @liv-in-sky last edited by

                                            @liv-in-sky brauchst keine 2 Tage warten( nur max 2Std), hab grad verglichen, zwei neu Daten wurden geschrieben, die letzten beiden wurden dementsprechend gelöscht

                                            liv-in-sky 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

                                            409
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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