Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. BackItUp für InfluxDB

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    BackItUp für InfluxDB

    This topic has been deleted. Only users with topic management privileges can see it.
    • Rene55
      Rene55 last edited by

      @andre Hier ist der Fachmann gefragt. Ich habe auch keinen Schimmer, wie ich die influxdb in den Container reinkriegen soll. @simatec Evtl. gibt es die Möglichkeit, die entfernte Instanz im Influx-Container zum Backup aufzurufen? Nur so als Idee.

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

        seit einem Grafana Update auf v8 bekomme ich beim Backup einen Fehler:

        [DEBUG] [iobroker] - done
        [DEBUG] [grafana] - Start Grafana Backup ...
        [DEBUG] [grafana] - Created grafana_tmp directory: "/opt/iobroker/backups/grafana_tmp"
        [DEBUG] [grafana] - Created dashboard directory
        [DEBUG] [grafana] - Created dashboards_manually_restore directory
        [DEBUG] [grafana] - Created datasource directory
        [DEBUG] [grafana] - start Grafana request ...
        [DEBUG] [grafana] - Grafana is available ... Status: 200
        [DEBUG] [grafana] - Error on Grafana Dashoard backup: Error: Request failed with status code 404
        [DEBUG] [grafana] - start Grafana backup compress ...
        [DEBUG] [grafana] - Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
        [DEBUG] [grafana] - Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted
        [DEBUG] [grafana] - cannot found Grafana Backup files
        [DEBUG] [grafana] - done
        [DEBUG] [cifs] - done
        [DEBUG] [cifs] start with {"mountType":"NFS","type":"storage","source":"cifs","mount":"192.168.0.3","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"dir":"/backup","dirMinimal":"sharename/backupDir","user":"","pass":"****","backupDir":"/opt/iobroker/backups","deleteBackupAfter":0}
        [DEBUG] [clean] - done
        [DEBUG] [historyHTML] - new history html values created
        [DEBUG] [historyHTML] - done
        [DEBUG] [historyJSON] - new history json values created
        [DEBUG] [historyJSON] - done
        [DEBUG] [historyHTML] start with {"type":"creator","time":"02:00","debugging":true,"everyXDays":"5","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"NFS","type":"storage","source":"cifs","mount":"192.168.0.3","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"dir":"/backup","dirMinimal":"sharename/backupDir","user":"","pass":"****","context":{"fileNames":["/opt/iobroker/backups/iobroker_2021_06_09-11_42_47_backupiobroker.tar.gz"],"errors":{},"done":["mount","iobroker"],"types":["iobroker"]},"adapter":null},"dir":"/opt/iobroker","grafana":{"enabled":true,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"cifs","host":"","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","user":"","pass":"****","port":"21"},"cifs":{"enabled":true,"mountType":"NFS","type":"storage","source":"cifs","mount":"192.168.0.3","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"dir":"backup","dirMinimal":"sharename/backupDir","user":"","pass":"****"},"dropbox":{"enabled":false,"type":"storage","source":"cifs","debugging":true,"deleteOldBackup":false,"accessToken":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"webdav":{"enabled":false,"type":"storage","source":"cifs","debugging":true,"deleteOldBackup":false,"username":"username","pass":"****","url":"https://example.com/remote.php/dav/files/username/","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"googledrive":{"enabled":false,"type":"storage","source":"cifs","debugging":true,"deleteOldBackup":false,"accessJson":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"host":"192.168.0.10","port":"3000","username":"admin","pass":"****","apiKey":"****"},"historyHTML":{"enabled":true,"type":"message","entriesNumber":"5","systemLang":"de","time":"09. Juni 2021 um 11:42 Uhr"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"5","systemLang":"de"},"backupDir":"/opt/iobroker/backups"}
        [DEBUG] [historyJSON] start with {"type":"creator","time":"02:00","debugging":true,"everyXDays":"5","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"NFS","type":"storage","source":"cifs","mount":"192.168.0.3","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"dir":"/backup","dirMinimal":"sharename/backupDir","user":"","pass":"****","context":{"fileNames":["/opt/iobroker/backups/iobroker_2021_06_09-11_42_47_backupiobroker.tar.gz"],"errors":{},"done":["mount","iobroker"],"types":["iobroker"]},"adapter":null},"dir":"/opt/iobroker","grafana":{"enabled":true,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"cifs","host":"","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","user":"","pass":"****","port":"21"},"cifs":{"enabled":true,"mountType":"NFS","type":"storage","source":"cifs","mount":"192.168.0.3","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"dir":"backup","dirMinimal":"sharename/backupDir","user":"","pass":"****"},"dropbox":{"enabled":false,"type":"storage","source":"cifs","debugging":true,"deleteOldBackup":false,"accessToken":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"webdav":{"enabled":false,"type":"storage","source":"cifs","debugging":true,"deleteOldBackup":false,"username":"username","pass":"****","url":"https://example.com/remote.php/dav/files/username/","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"googledrive":{"enabled":false,"type":"storage","source":"cifs","debugging":true,"deleteOldBackup":false,"accessJson":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"host":"192.168.0.10","port":"3000","username":"admin","pass":"****","apiKey":"****"},"historyHTML":{"enabled":true,"type":"message","entriesNumber":"5","systemLang":"de"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"5","systemLang":"de","time":"09. Juni 2021 um 11:42 Uhr"},"backupDir":"/opt/iobroker/backups"}
        [DEBUG] [umount] - mount activ, umount is started ...
        [DEBUG] [umount] start with {"mountType":"NFS","type":"storage","source":"cifs","mount":"192.168.0.3","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"dir":"/backup","dirMinimal":"sharename/backupDir","user":"","pass":"****","backupDir":"/opt/iobroker/backups"}
        [DEBUG] [umount] - umount successfully completed
        [DEBUG] [umount] - done
        [EXIT] 0
        
        crunchip 1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @MassiveAttack last edited by

          @massiveattack hast du deine Grafana Konfig wieder angepasst(api-key)? sonst funktioniert das backup nicht, da du vorhin ja alles gelöscht hast!!

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

            @crunchip
            ja, hab einen neuen api key erzeugt, und im iobroker hinterlegt.
            braucht die aktivierung etwas zeit? bis dato hat es ja funktioniert

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

              neuer user, neuer key bringt auch nix...

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

                @massiveattack keinen Plan was du da für ne Baustelle hast. Siehe deinem anderen Thread.
                Hast du dir, wie empfohlen, das Verzeichnis var/lib/grafana weggesichert?

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

                  @crunchip
                  die andere baustelle ist behoben, meine dashboards und settings sind alle vorhanden.
                  das dir hab ich gesichert, wurde aber anscheinend eh nicht gelöscht. musste nichts wiederherstellen nach dem install von v8

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

                    @massiveattack vllt funktioniert v8 noch nicht mit backitup bzw wurde etwas geändert

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

                      vielleicht kann das jemand bestätigen?

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

                        @massiveattack wer weiss was du da überhaupt gesichert hast, mit dem backitup. Da du ja selbst geschrieben hattest, das du "grafana-rpi" installiert hattest.

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

                          @crunchip
                          ja du hast recht. aber die debug ausgabe verstehe ich nicht:

                          [DEBUG] [grafana] - Grafana is available ... Status: 200
                          [DEBUG] [grafana] - Error on Grafana Dashoard backup: Error: Request failed with status code 404
                          [DEBUG] [grafana] - start Grafana backup compress ...
                          

                          code 404 hat anscheinend irgendwas mit der api zu tun

                          crunchip simatec 2 Replies Last reply Reply Quote 0
                          • crunchip
                            crunchip Forum Testing Most Active @MassiveAttack last edited by

                            @massiveattack sagte in BackItUp für InfluxDB:

                            irgendwas mit der api zu tun

                            Hast du den api key mit deinem admin erstellt oder mit einem Benutzer(viewer). ?

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

                              @crunchip
                              admin 😉

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

                                @massiveattack

                                anscheinend kann er die uid nicht finden:

                                Status Codes:

                                200 – Found
                                401 – Unauthorized
                                403 – Access denied
                                404 – Not found
                                crunchip 1 Reply Last reply Reply Quote 0
                                • crunchip
                                  crunchip Forum Testing Most Active @MassiveAttack last edited by

                                  @massiveattack dann musst du @simatec mal um Hilfe bitten

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

                                    @crunchip
                                    @simatec
                                    ich würde mich über jede hilfe freuen 🙂

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

                                      @massiveattack Laut Doku hat sich da nichts in Grafana geändert ...
                                      Der code 404 sagt "not found" aus.

                                      https://grafana.com/docs/grafana/latest/http_api/dashboard/#get-dashboard-by-uid

                                      Zeige mal die Config deiner API-Keys und die von Backitup

                                      MassiveAttack 1 Reply Last reply Reply Quote 0
                                      • MassiveAttack
                                        MassiveAttack @simatec last edited by

                                        @simatec said in BackItUp für InfluxDB:

                                        Zeige mal die Config deiner API-Keys und die von Backitup

                                        was meinst du mit config? wie?

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

                                          @simatec
                                          system.adapter.backitup.0.json

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

                                            @massiveattack Als Grafana User für das Backup bitte nur den Admin von Grafana verwenden ...

                                            Zeige mal, wie du in Grafana den APIKey angelegt hast

                                            MassiveAttack 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

                                            407
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            backitup influxdb
                                            32
                                            273
                                            35563
                                            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