Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Fehler Sicherung influxdb mit backitup

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Fehler Sicherung influxdb mit backitup

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

      Hallo zusammen,

      Ich habe erfolgreich influxdb v2.7.5 lokal auf den Rapsi installiert und es werden auch Daten in das Bucket geschrieben. Leider funktioniert die Sicherung mit backuitup nicht mit folgenden Fehlern:

      backitup.0
      2024-01-30 13:07:54.356	error	[iobroker/clean] Backup files not deleted from /opt/iobroker/backups because some errors.
      
      backitup.0
      2024-01-30 13:07:51.156	error	[iobroker] Error: Command failed: influx backup --bucket iobroker --host http://192.168.2.40:8086 -t 8cRNjCVh1ZxGBtVJeXhGWAG7GNc9lMcjg1grTqv44qoNAD4xJiEIHWcTUbeqCqEIgvxRwz0b7QGikMx7prNCSQ== "/opt/iobroker/backups/influxDB_2024_01_30-13_07_51_backupiobroker"2024/01/30 13:07:51 INFO: Downloading metadata snapshotError: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
      
      backitup.0
      2024-01-30 13:07:51.156	error	[iobroker/influxDB] Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
      
      backitup.0
      2024-01-30 13:07:51.155	error	[iobroker/influxDB] 2024/01/30 13:07:51 INFO: Downloading metadata snapshot
      
      backitup.0
      2024-01-30 13:07:51.155	error	[iobroker/influxDB] Error: Command failed: influx backup --bucket iobroker --host http://192.168.2.40:8086 -t 8cRNjCVh1ZxGBtVJeXhGWAG7GNc9lMcjg1grTqv44qoNAD4xJiEIHWcTUbeqCqEIgvxRwz0b7QGikMx7prNCSQ== "/opt/iobroker/backups/influxDB_2024_01_30-13_07_51_backupiobroker"
      
      backitup.0
      2024-01-30 13:07:33.976	info	[iobroker] backup will be activated at 03:00 every 1 day(s)
      

      Danke und Viele Grüße

      MartinP 1 Reply Last reply Reply Quote 0
      • MartinP
        MartinP @smass last edited by

        @smass said in Fehler Sicherung influxdb mit backitup:

        read:authorizations is unauthorized

        Ist das Token für den Zugriff auf die Influx DB korrekt?

        S 1 Reply Last reply Reply Quote 0
        • S
          smass @MartinP last edited by

          @martinp

          ja, weil das schreiben in die DB bzw. Bucket funktioniert. 🙂

          R 1 Reply Last reply Reply Quote 0
          • R
            reutli @smass last edited by

            @smass

            Zeigen:

            • Version des Backitup Adapters
            • IP und Ports des Influx Servers
            • InfluxDB Version
            • Einstellungen BackitUp zeigen
            S 1 Reply Last reply Reply Quote 0
            • S
              smass @reutli last edited by

              @reutli

              OK auf gehts:

              Version Backitup Adapter ist 2.9.8
              IP ist die selbe wie vom Raspberry, da lokal installiert mit port 8086
              InfluxDB v2.7.5
              Einstellungen der Backitup Instanz per Screenshot

              Danke und Viele Grüße

              backitup.jpg

              R simatec 3 Replies Last reply Reply Quote 0
              • R
                reutli @smass last edited by

                @smass

                Zeigen ist anders 😀

                @smass sagte in Fehler Sicherung influxdb mit backitup:

                                                                                                                                            backitup.0                                                                                                                                                                            2024-01-30 13:07:54.356	error	[iobroker/clean] Backup files not deleted from /opt/iobroker/backups because some errors.
                

                Du scheinst ja nicht nur Influx Probleme zu haben sondern auch andere?!

                debug mal aktiviert im Adapter und dann nochmals Sicherung gestartet?
                Dann mal komplettes Log zeigen

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

                  @smass Du musst für ein Backup den Operator-Token benutzen.
                  Alle anderen Token haben nicht die Rechte...

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

                    @reutli Nö... ist normal... es trat ja ein fehler auf

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

                      @simatec
                      ok, thx

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

                        @smass Hier ein paar Infos...

                        https://github.com/simatec/ioBroker.backitup/wiki/Diverse-Anleitungen-für-ioBroker.backitup#token-für-influxdb-2x-backup-richtig-erstellen

                        https://github.com/simatec/ioBroker.backitup/wiki/Diverse-Anleitungen-für-ioBroker.backitup#operator-token-für-influxdb-2x-wiederherstellen

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

                          @simatec said in Fehler Sicherung influxdb mit backitup:

                          https://github.com/simatec/ioBroker.backitup/wiki/Diverse-Anleitungen-für-ioBroker.backitup#token-für-influxdb-2x-backup-richtig-erstellen
                          https://github.com/simatec/ioBroker.backitup/wiki/Diverse-Anleitungen-für-ioBroker.backitup#operator-token-für-influxdb-2x-wiederherstellen

                          Yeah Lippi Yeah Daaaaaaanke Euch es funktioniert..... 👏

                          Kurze Frage noch. Den nun wieder entdeckten OperatorToken benutze ich auch im influxdb Adapter zum Schreiben der Werte?

                          Danke und Viele Grüße

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          839
                          Online

                          32.0k
                          Users

                          80.5k
                          Topics

                          1.3m
                          Posts

                          4
                          11
                          321
                          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