Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Einsteigerfragen
  4. Backup Zugriffsproblem influxDB2.5

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    10
    1
    134

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.4k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.3k

Backup Zugriffsproblem influxDB2.5

Geplant Angeheftet Gesperrt Verschoben Einsteigerfragen
55 Beiträge 10 Kommentatoren 4.1k Aufrufe 8 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    schrieb am zuletzt editiert von
    #7

    @gib64

    cd ~
    apt policy influx*
    

    Linux-Werkzeugkasten:
    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
    NodeJS Fixer Skript:
    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

    G 1 Antwort Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @gib64

      cd ~
      apt policy influx*
      
      G Offline
      G Offline
      GiB64
      schrieb am zuletzt editiert von
      #8

      @thomas-braun Sorry:

      pi@raspberry64:/etc/influxdb $ cd ~
      pi@raspberry64:~ $ apt policy influx*
      influxdb2-cli:
        Installed: 2.5.0
        Candidate: 2.5.0
        Version table:
       *** 2.5.0 500
              500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
              100 /var/lib/dpkg/status
           2.4.0 500
              500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
           2.3.0 500
              500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
      influxdb-client:
        Installed: (none)
        Candidate: 1.6.7~rc0-1+b5
        Version table:
           1.6.7~rc0-1+b5 500
              500 http://deb.debian.org/debian bullseye/main arm64 Packages
      influxdb-dev:
        Installed: (none)
        Candidate: (none)
        Version table:
      influxdb:
        Installed: (none)
        Candidate: 1.8.10-1
        Version table:
           1.8.10-1 500
              500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
           1.6.7~rc0-1+b5 500
              500 http://deb.debian.org/debian bullseye/main arm64 Packages
      influxdb2:
        Installed: 2.5.1-1
        Candidate: 2.5.1-1
        Version table:
       *** 2.5.1-1 500
              500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
              100 /var/lib/dpkg/status
           2.4.0-1 500
              500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
           2.3.0-1 500
              500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
           2.2.0 500
              500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
      pi@raspberry64:~ $
      
      
      SegwayS 1 Antwort Letzte Antwort
      0
      • G GiB64

        @thomas-braun Sorry:

        pi@raspberry64:/etc/influxdb $ cd ~
        pi@raspberry64:~ $ apt policy influx*
        influxdb2-cli:
          Installed: 2.5.0
          Candidate: 2.5.0
          Version table:
         *** 2.5.0 500
                500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                100 /var/lib/dpkg/status
             2.4.0 500
                500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
             2.3.0 500
                500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
        influxdb-client:
          Installed: (none)
          Candidate: 1.6.7~rc0-1+b5
          Version table:
             1.6.7~rc0-1+b5 500
                500 http://deb.debian.org/debian bullseye/main arm64 Packages
        influxdb-dev:
          Installed: (none)
          Candidate: (none)
          Version table:
        influxdb:
          Installed: (none)
          Candidate: 1.8.10-1
          Version table:
             1.8.10-1 500
                500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
             1.6.7~rc0-1+b5 500
                500 http://deb.debian.org/debian bullseye/main arm64 Packages
        influxdb2:
          Installed: 2.5.1-1
          Candidate: 2.5.1-1
          Version table:
         *** 2.5.1-1 500
                500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                100 /var/lib/dpkg/status
             2.4.0-1 500
                500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
             2.3.0-1 500
                500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
             2.2.0 500
                500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
        pi@raspberry64:~ $
        
        
        SegwayS Offline
        SegwayS Offline
        Segway
        schrieb am zuletzt editiert von
        #9

        @gib64 & @Thomas-Braun
        Gibt es hier schon eine Lösung ? ich habe den cli installiert aber stosse auf gleichen Fehler !

        Gruß Dirk
        Intel Proxmox Cluster (3x NUC) mit Debian & Proxmox / IoB als VM unter Debian / 60+ Adapter installiert

        Thomas BraunT G 2 Antworten Letzte Antwort
        0
        • SegwayS Segway

          @gib64 & @Thomas-Braun
          Gibt es hier schon eine Lösung ? ich habe den cli installiert aber stosse auf gleichen Fehler !

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #10

          @segway

          Die gleichen Fragen:

          Wie läuft das Backitup ab? CIF? NFS? Irgendwas anderes?

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          1 Antwort Letzte Antwort
          0
          • SegwayS Segway

            @gib64 & @Thomas-Braun
            Gibt es hier schon eine Lösung ? ich habe den cli installiert aber stosse auf gleichen Fehler !

            G Offline
            G Offline
            GiB64
            schrieb am zuletzt editiert von
            #11

            @segway said in Backup Zugriffsproblem influxDB2.5:

            @gib64 & @Thomas-Braun
            Gibt es hier schon eine Lösung ? ich habe den cli installiert aber stosse auf gleichen Fehler !

            Leider noch keine Lösung gefunden. Ich habe Influx erst einmal aus der Sicherung genommen damit wenigstens der Rest gesichert wird. Für neue Ansätze bin ich auch dankbar!

            SegwayS S 2 Antworten Letzte Antwort
            0
            • G GiB64

              @segway said in Backup Zugriffsproblem influxDB2.5:

              @gib64 & @Thomas-Braun
              Gibt es hier schon eine Lösung ? ich habe den cli installiert aber stosse auf gleichen Fehler !

              Leider noch keine Lösung gefunden. Ich habe Influx erst einmal aus der Sicherung genommen damit wenigstens der Rest gesichert wird. Für neue Ansätze bin ich auch dankbar!

              SegwayS Offline
              SegwayS Offline
              Segway
              schrieb am zuletzt editiert von Segway
              #12

              sorry falscher Thread
              meine Antwort kann ich leider nicht komplett löschen, da keine Berechtigung

              Gruß Dirk
              Intel Proxmox Cluster (3x NUC) mit Debian & Proxmox / IoB als VM unter Debian / 60+ Adapter installiert

              1 Antwort Letzte Antwort
              0
              • G GiB64

                @segway said in Backup Zugriffsproblem influxDB2.5:

                @gib64 & @Thomas-Braun
                Gibt es hier schon eine Lösung ? ich habe den cli installiert aber stosse auf gleichen Fehler !

                Leider noch keine Lösung gefunden. Ich habe Influx erst einmal aus der Sicherung genommen damit wenigstens der Rest gesichert wird. Für neue Ansätze bin ich auch dankbar!

                S Online
                S Online
                Solardach
                schrieb am zuletzt editiert von
                #13

                @gib64
                Das Backup geht nur mit dem am Anfang Original erstellten Admin Token.
                Falls der nicht mehr vorhanden ist kann man den über die shell aufrufen.

                Also:
                Nur der tatsächlich nur der initial erstellte access token zum Backup erstellen funktioniert.
                Also ganz WICHTIG: DIESEN NICHT LÖSCHEN. Ich wusste den Token nicht, deshalb hab ich ihn gelöscht und einfach einen neuen generiert, aber das hat nicht funktioniert.
                Falls jemand auch nicht weiß wie er an den initialen token kommt. Einfach einen 2ten all access token erstellen und mit diesem bekannten in der shell folgendes aufrufen:
                Code:
                influx auth list -t <neu erstellert token>

                Das sollte das "401 Unauthorized: unauthorized access" Problem lösen.

                Damit komme ich aber nun ein stück weiter aber zu einem neuen Problem:

                [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker -token "/opt/iobroker/backups/influxDB_2023_01_11-18_11_50_backupiobroker"

                OstfrieseUnterwegsO simatecS 2 Antworten Letzte Antwort
                0
                • S Solardach

                  @gib64
                  Das Backup geht nur mit dem am Anfang Original erstellten Admin Token.
                  Falls der nicht mehr vorhanden ist kann man den über die shell aufrufen.

                  Also:
                  Nur der tatsächlich nur der initial erstellte access token zum Backup erstellen funktioniert.
                  Also ganz WICHTIG: DIESEN NICHT LÖSCHEN. Ich wusste den Token nicht, deshalb hab ich ihn gelöscht und einfach einen neuen generiert, aber das hat nicht funktioniert.
                  Falls jemand auch nicht weiß wie er an den initialen token kommt. Einfach einen 2ten all access token erstellen und mit diesem bekannten in der shell folgendes aufrufen:
                  Code:
                  influx auth list -t <neu erstellert token>

                  Das sollte das "401 Unauthorized: unauthorized access" Problem lösen.

                  Damit komme ich aber nun ein stück weiter aber zu einem neuen Problem:

                  [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker -token "/opt/iobroker/backups/influxDB_2023_01_11-18_11_50_backupiobroker"

                  OstfrieseUnterwegsO Offline
                  OstfrieseUnterwegsO Offline
                  OstfrieseUnterwegs
                  schrieb am zuletzt editiert von
                  #14

                  @solardach da steht aber kein Token drin, oder hast du den rausgelöscht? An besten versuchst du mal in der shell den Befehl abzusetzen.

                  S 1 Antwort Letzte Antwort
                  0
                  • OstfrieseUnterwegsO OstfrieseUnterwegs

                    @solardach da steht aber kein Token drin, oder hast du den rausgelöscht? An besten versuchst du mal in der shell den Befehl abzusetzen.

                    S Online
                    S Online
                    Solardach
                    schrieb am zuletzt editiert von
                    #15

                    @ostfrieseunterwegs

                    Im Original ist der token vorhanden.
                    Den Token habe ich ersetzt durch das Wort "token"

                    OstfrieseUnterwegsO 1 Antwort Letzte Antwort
                    0
                    • S Solardach

                      @ostfrieseunterwegs

                      Im Original ist der token vorhanden.
                      Den Token habe ich ersetzt durch das Wort "token"

                      OstfrieseUnterwegsO Offline
                      OstfrieseUnterwegsO Offline
                      OstfrieseUnterwegs
                      schrieb am zuletzt editiert von
                      #16

                      @solardach und was schmeisst die shell als Fehler raus, wenn du den Befehl einfach so absetzt? evtl die Ausgabe nach /dev/null oder /tmp statt ins iobroker Verzeichnis.

                      S 1 Antwort Letzte Antwort
                      0
                      • OstfrieseUnterwegsO OstfrieseUnterwegs

                        @solardach und was schmeisst die shell als Fehler raus, wenn du den Befehl einfach so absetzt? evtl die Ausgabe nach /dev/null oder /tmp statt ins iobroker Verzeichnis.

                        S Online
                        S Online
                        Solardach
                        schrieb am zuletzt editiert von Solardach
                        #17

                        @ostfrieseunterwegs

                        Also Lokales Backup funktioniert.
                        Nach umstellen des SMB-Typ von SMB 3.0 auf SMB3.1.1 geht es nun auch auf die Synology NAS.

                        Nun läuft alles.

                        Backitup.png

                        I 1 Antwort Letzte Antwort
                        0
                        • S Solardach

                          @ostfrieseunterwegs

                          Also Lokales Backup funktioniert.
                          Nach umstellen des SMB-Typ von SMB 3.0 auf SMB3.1.1 geht es nun auch auf die Synology NAS.

                          Nun läuft alles.

                          Backitup.png

                          I Online
                          I Online
                          intruder7
                          schrieb am zuletzt editiert von intruder7
                          #18

                          Ich habe mit influxdb auch Probleme. Jedoch beim Backup unter Proxmox. Passt jetzt hier nicht unbedingt zu da es scheinbar ums Backup unter ioBroker geht. Aber vielleicht hat ja jemand schon was dazu gehört.
                          Habe Influx mit grafana unter Proxmox in einem LXC Container. auf Proxmox mache ich nachts immer Backups von allen Container. wärend die backups laufen spuckt mir der influx adapter immer Fehler aus

                          
                          influxdb.0
                          2023-01-11 02:14:17.141	warn	Error on writePoint("{"value":19.4,"time":"2023-01-11T01:13:41.926Z","from":"system.adapter.javascript.0","q":0,"ack":true}): HttpError: unexpected error writing points to database: timeout / "unexpected error writing points to database: timeout""
                          
                          influxdb.0
                          2023-01-11 02:14:17.141	warn	Point could not be written to database: iobroker
                          
                          influxdb.0
                          2023-01-11 02:14:17.136	warn	Error on writePoint("{"value":4,"time":"2023-01-11T01:13:41.926Z","from":"system.adapter.javascript.0","q":0,"ack":true}): HttpError: unexpected error writing points to database: timeout / "unexpected error writing points to database: timeout""
                          
                          influxdb.0
                          2023-01-11 02:14:17.135	warn	Point could not be written to database: iobroker
                          
                          influxdb.0
                          2023-01-11 02:14:17.132	warn	Error on writePoint("{"value":29.6,"time":"2023-01-11T01:13:41.926Z","from":"system.adapter.javascript.0","q":0,"ack":true}): HttpError: unexpected error writing points to database: timeout / "unexpected error writing points to database: timeout""
                          
                          influxdb.0
                          2023-01-11 02:14:17.132	warn	Point could not be written to database: iobroker
                          

                          und zwar jede Menge. Hatte vor Influx alles via SQL laufen. dort gab es die Fehler nicht.

                          Grüße

                          PS: ich habe gerade festgestellt, dass ich die root disk für den LXC Container auch auf dem eingebundenen NAS angelegt habe auf dem auch die Backups gespeichert werden. Ich vermute das er Netzwerkmäßig während der Backups überfordert ist. Habs jetzt mal umgestellt auf ein locales Laufwerk und werde es mal beobachten
                          PS2: Also für alle die es interessiert, es lag tatsächlich daran.
                          Also Fall abgeschlossen :-)

                          1 Antwort Letzte Antwort
                          0
                          • G GiB64

                            Hi,
                            ich kämpfe mich gerade mit influxDB2.5 und Grafana rum. Soweit läuft jetzt auch alles und ich kann Daten in influx und auch in Grafana visualisieren. Soweit alles gut. Nur das Backup hat Zugriffsprobleme:

                            [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker --host http://192.168.1.19:8086 -t WKK3ZJlx7Kl8v2Nh7wmGps6KRwvrbqvtw2oJLoVvPCaRSFDJPQdDGoZFevYDfokoX_4LmOjvObID3cFe61LWpQ== "/opt/iobroker/backups/influxDB_2022_12_03-16_30_07_GiB_backupiobroker"
                            2022/12/03 16:30:07 INFO: Downloading metadata snapshot
                            Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: unauthorized access
                            

                            Debug:

                            backitup.0
                            224234	2022-12-03 17:38:59.314	error	[iobroker] Error: Command failed: influx backup --bucket iobroker --host http://192.168.1.19:8086 -t WKK3ZJlx7Kl8v2Nh7wmGps6KRwvrbqvtw2oJLoVvPCaRSFDJPQdDGoZFevYDfokoX_4LmOjvObID3cFe61LWpQ== "/opt/iobroker/backups/influxDB_2022_12_03-17_38_59_GiB_backupiobroker"2022/12/03 17:38:59 INFO: Downloading metadata snapshotError: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: unauthorized access
                            
                            backitup.0
                            224234	2022-12-03 17:38:59.314	error	[iobroker/influxDB] Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: unauthorized access
                            
                            backitup.0
                            224234	2022-12-03 17:38:59.314	error	[iobroker/influxDB] 2022/12/03 17:38:59 INFO: Downloading metadata snapshot
                            
                            backitup.0
                            224234	2022-12-03 17:38:59.313	error	[iobroker/influxDB] Error: Command failed: influx backup --bucket iobroker --host http://192.168.1.19:8086 -t WKK3ZJlx7Kl8v2Nh7wmGps6KRwvrbqvtw2oJLoVvPCaRSFDJPQdDGoZFevYDfokoX_4LmOjvObID3cFe61LWpQ== "/opt/iobroker/backups/influxDB_2022_12_03-17_38_59_GiB_backupiobroker"
                            
                            backitup.0
                            224234	2022-12-03 17:38:59.313	debug	[iobroker/influxDB] InfluxDB tmp directory was successfully deleted
                            
                            backitup.0
                            224234	2022-12-03 17:38:59.311	debug	[iobroker/influxDB] Try deleting the InfluxDB tmp directory
                            
                            backitup.0
                            224234	2022-12-03 17:38:59.271	debug	[iobroker/influxDB] InfluxDB Backup tmp directory created
                            
                            backitup.0
                            224234	2022-12-03 17:38:59.260	debug	[iobroker/influxDB] Start InfluxDB Backup ...
                            
                            backitup.0
                            224234	2022-12-03 17:38:59.259	debug	[iobroker/influxDB] InfluxDB-Backup started ...
                            

                            Komischer Weise bekomme ich auch beim Config abfragen auf den Console den Fehler:

                            pi@raspberry64:/etc/influxdb $ influx server-config --token WKK3ZJlx7Kl8v2Nh7wmGps6KRwvrbqvtw2oJLoVvPCaRSFDJPQdDGoZFevYDfokoX_4LmOjvObID3cFe61LWpQ==
                            Error: failed to retrieve config: 401 Unauthorized: unauthorized access
                            

                            Dann habe ich was gelesen das eine config erstellt werden muss:

                            pi@raspberry64:~ $ influx config create --config-name influxdb.conf --host-url http://192.168.1.19:8086 --org 234d2b039f23fbd3 --token WKK3ZJlx7Kl8v2Nh7wmGps6KRwvrbqvtw2oJLoVvPCaRSFDJPQdDGoZFevYDfokoX_4LmOjvObID3cFe61LWpQ== --active
                            Active  Name            URL                             Org
                            *       influxdb.conf   http://192.168.1.19:8086        234d2b039f23fbd3
                            

                            Aber das alles hat leider nicht geholfen. Für mich als totaler Anfänger sieht alles gut aus, bis auf den Backup Zugriff. Hat jemand noch eine Idee?

                            VG GiB

                            Edit: Ich habe auch schon ein neues API Token erstellt aber bekomme komischer Weise genau das selbe.. Mit diesem Token klappt auch der Grafan Zugriff. Sollte also passen!

                            Edit2: Am Rande fand ich komisch das wenn ich den API Key in der Backupconfig eintrage, er überhaupt nicht angezeigt werden kann um copy&paste Fehler gleich zu sehen, er im log aber jedes Mal in Klarschrift über den Schirm läuft.... :confused:

                            Edit3: Und ja, den Key kann ruhig jeder sehen, ist nur lokal...

                            simatecS Offline
                            simatecS Offline
                            simatec
                            Developer Most Active
                            schrieb am zuletzt editiert von
                            #19

                            @gib64 sagte in Backup Zugriffsproblem influxDB2.5:

                            Unauthorized: unauthorized access

                            Ich gehe mal davon aus, dass hier irgendwas mit deinem Token nicht passt.
                            Ist das der Admintoken? Prüfe den noch einmal.

                            Des weiteren schaue mal bitte, welchen Pfad die influx-cli hat

                            which influx
                            

                            Habe es gerade mit der aktuellen influx-cli 2.5.0 durchgespielt. Das Backup funktioniert damit problemlos.

                            Läuft die InfluxDB auf dem gleichen System wie dein iobroker? Falls ja, stelle bitte in den Einstellungen von Backitup die Influxdb Sicherung auf lokal

                            Am Rande fand ich komisch das wenn ich den API Key in der Backupconfig eintrage, er überhaupt nicht angezeigt werden kann um copy&paste Fehler gleich zu sehen

                            Der Token wird in den Backitup Settings verschlüsselt gespeichert

                            • Besuche meine Github Seite
                            • Beitrag hat geholfen oder willst du mich unterstützen
                            • HowTo Restore ioBroker
                            1 Antwort Letzte Antwort
                            0
                            • S Solardach

                              @gib64
                              Das Backup geht nur mit dem am Anfang Original erstellten Admin Token.
                              Falls der nicht mehr vorhanden ist kann man den über die shell aufrufen.

                              Also:
                              Nur der tatsächlich nur der initial erstellte access token zum Backup erstellen funktioniert.
                              Also ganz WICHTIG: DIESEN NICHT LÖSCHEN. Ich wusste den Token nicht, deshalb hab ich ihn gelöscht und einfach einen neuen generiert, aber das hat nicht funktioniert.
                              Falls jemand auch nicht weiß wie er an den initialen token kommt. Einfach einen 2ten all access token erstellen und mit diesem bekannten in der shell folgendes aufrufen:
                              Code:
                              influx auth list -t <neu erstellert token>

                              Das sollte das "401 Unauthorized: unauthorized access" Problem lösen.

                              Damit komme ich aber nun ein stück weiter aber zu einem neuen Problem:

                              [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker -token "/opt/iobroker/backups/influxDB_2023_01_11-18_11_50_backupiobroker"

                              simatecS Offline
                              simatecS Offline
                              simatec
                              Developer Most Active
                              schrieb am zuletzt editiert von
                              #20

                              @solardach sagte in Backup Zugriffsproblem influxDB2.5:

                              [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker -token "/opt/iobroker/backups/influxDB_2023_01_11-18_11_50_backupiobroker"

                              Schaue mal, wo die influx-cli im Dateisystem liegt und trage den Pfad direkt in der Config von Backitup ein

                              which influx
                              
                              • Besuche meine Github Seite
                              • Beitrag hat geholfen oder willst du mich unterstützen
                              • HowTo Restore ioBroker
                              1 Antwort Letzte Antwort
                              0
                              • keksnK Offline
                                keksnK Offline
                                keksn
                                schrieb am zuletzt editiert von
                                #21

                                Hallo, leider funktioniert mein Influxdb2(7) Backup nicht mehr. Bin aber mit dem beschrieben Punkten zu keiner Lösung gekommen.

                                backitup.0
                                
                                Zeit
                                
                                debug
                                
                                Nachricht
                                
                                
                                backitup.0
                                2023-04-09 08:00:28.312	error	[iobroker] Error: Command failed: "/usr/bin/influx" backup --bucket iobroker -t 866nCegDJG1u4sfO6TvfiIit-aQOZ1Wq1ukvR5SIl9ldn5stgoK33pGF3bQq_aNKc0TMbc9Pe3EQ-ZbAwzvCug== "/opt/iobroker/backups/influxDB_2023_04_09-08_00_28_backupiobroker" 2023/04/09 08:00:28 INFO: Downloading metadata snapshot Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
                                
                                backitup.0
                                2023-04-09 08:00:28.312	error	[iobroker/influxDB] Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
                                
                                backitup.0
                                2023-04-09 08:00:28.312	error	[iobroker/influxDB] 2023/04/09 08:00:28 INFO: Downloading metadata snapshot
                                
                                backitup.0
                                2023-04-09 08:00:28.312	error	[iobroker/influxDB] Error: Command failed: "/usr/bin/influx" backup --bucket iobroker -t 866nCegDJG1u4sfO6TvfiIit-aQOZ1Wq1ukvR5SIl9ldn5stgoK33pGF3bQq_aNKc0TMbc9Pe3EQ-ZbAwzvCug== "/opt/iobroker/backups/influxDB_2023_04_09-08_00_28_backupiobroker"
                                
                                backitup.0
                                2023-04-09 08:00:28.310	debug	[iobroker/influxDB] InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_04_09-08_00_28_backupiobroker" successfully deleted
                                
                                backitup.0
                                2023-04-09 08:00:28.309	debug	[iobroker/influxDB] Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2023_04_09-08_00_28_backupiobroker"
                                
                                backitup.0
                                2023-04-09 08:00:28.292	debug	[iobroker/influxDB] InfluxDB Backup tmp directory created
                                
                                backitup.0
                                2023-04-09 08:00:28.291	debug	[iobroker/influxDB] Start InfluxDB Backup ...
                                
                                backitup.0
                                2023-04-09 08:00:28.290	debug	[iobroker/influxDB] InfluxDB-Backup started ...
                                
                                backitup.0
                                2023-04-09 08:00:28.140	debug	[iobroker/iobroker] done
                                
                                backitup.0
                                2023-04-09 08:00:27.082	debug	[iobroker/iobroker] Backup created: /opt/iobroker/backups/iobroker_2023_04_09-08_00_21_backupiobroker.tar.gz
                                
                                backitup.0
                                2023-04-09 08:00:23.895	debug	[iobroker/iobroker] host.iobroker 26002 objects saved
                                
                                backitup.0
                                2023-04-09 08:00:23.541	debug	[iobroker/iobroker] host.iobroker 20366 states saved
                                
                                backitup.0
                                2023-04-09 08:00:21.018	debug	[iobroker/mount] done
                                
                                backitup.0
                                2023-04-09 08:00:21.017	debug	[iobroker/mount] mount successfully completed
                                
                                backitup.0
                                2023-04-09 08:00:20.968	debug	[iobroker/mount] nfs-mount command: "sudo mount Hometank:/volume1/Backup/iobroker /opt/iobroker/backups"
                                
                                backitup.0
                                2023-04-09 08:00:11.037	debug	[iobroker/mount] umount successfully completed
                                
                                backitup.0
                                2023-04-09 08:00:10.971	debug	[iobroker/mount] mount activ... umount is started before mount!!
                                
                                backitup.0
                                2023-04-09 08:00:10.967	debug	Backup has started ...
                                
                                backitup.0
                                2023-04-09 08:00:10.957	debug	The local storage check was completed successfully. On the host "iobroker" are currently 47416 MB free space available!
                                
                                backitup.0
                                2023-04-09 08:00:08.571	debug	The local storage check was completed successfully. On the host "iobroker" are currently 47416 MB free space available!
                                
                                keksnK simatecS 2 Antworten Letzte Antwort
                                0
                                • keksnK keksn

                                  Hallo, leider funktioniert mein Influxdb2(7) Backup nicht mehr. Bin aber mit dem beschrieben Punkten zu keiner Lösung gekommen.

                                  backitup.0
                                  
                                  Zeit
                                  
                                  debug
                                  
                                  Nachricht
                                  
                                  
                                  backitup.0
                                  2023-04-09 08:00:28.312	error	[iobroker] Error: Command failed: "/usr/bin/influx" backup --bucket iobroker -t 866nCegDJG1u4sfO6TvfiIit-aQOZ1Wq1ukvR5SIl9ldn5stgoK33pGF3bQq_aNKc0TMbc9Pe3EQ-ZbAwzvCug== "/opt/iobroker/backups/influxDB_2023_04_09-08_00_28_backupiobroker" 2023/04/09 08:00:28 INFO: Downloading metadata snapshot Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
                                  
                                  backitup.0
                                  2023-04-09 08:00:28.312	error	[iobroker/influxDB] Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
                                  
                                  backitup.0
                                  2023-04-09 08:00:28.312	error	[iobroker/influxDB] 2023/04/09 08:00:28 INFO: Downloading metadata snapshot
                                  
                                  backitup.0
                                  2023-04-09 08:00:28.312	error	[iobroker/influxDB] Error: Command failed: "/usr/bin/influx" backup --bucket iobroker -t 866nCegDJG1u4sfO6TvfiIit-aQOZ1Wq1ukvR5SIl9ldn5stgoK33pGF3bQq_aNKc0TMbc9Pe3EQ-ZbAwzvCug== "/opt/iobroker/backups/influxDB_2023_04_09-08_00_28_backupiobroker"
                                  
                                  backitup.0
                                  2023-04-09 08:00:28.310	debug	[iobroker/influxDB] InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_04_09-08_00_28_backupiobroker" successfully deleted
                                  
                                  backitup.0
                                  2023-04-09 08:00:28.309	debug	[iobroker/influxDB] Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2023_04_09-08_00_28_backupiobroker"
                                  
                                  backitup.0
                                  2023-04-09 08:00:28.292	debug	[iobroker/influxDB] InfluxDB Backup tmp directory created
                                  
                                  backitup.0
                                  2023-04-09 08:00:28.291	debug	[iobroker/influxDB] Start InfluxDB Backup ...
                                  
                                  backitup.0
                                  2023-04-09 08:00:28.290	debug	[iobroker/influxDB] InfluxDB-Backup started ...
                                  
                                  backitup.0
                                  2023-04-09 08:00:28.140	debug	[iobroker/iobroker] done
                                  
                                  backitup.0
                                  2023-04-09 08:00:27.082	debug	[iobroker/iobroker] Backup created: /opt/iobroker/backups/iobroker_2023_04_09-08_00_21_backupiobroker.tar.gz
                                  
                                  backitup.0
                                  2023-04-09 08:00:23.895	debug	[iobroker/iobroker] host.iobroker 26002 objects saved
                                  
                                  backitup.0
                                  2023-04-09 08:00:23.541	debug	[iobroker/iobroker] host.iobroker 20366 states saved
                                  
                                  backitup.0
                                  2023-04-09 08:00:21.018	debug	[iobroker/mount] done
                                  
                                  backitup.0
                                  2023-04-09 08:00:21.017	debug	[iobroker/mount] mount successfully completed
                                  
                                  backitup.0
                                  2023-04-09 08:00:20.968	debug	[iobroker/mount] nfs-mount command: "sudo mount Hometank:/volume1/Backup/iobroker /opt/iobroker/backups"
                                  
                                  backitup.0
                                  2023-04-09 08:00:11.037	debug	[iobroker/mount] umount successfully completed
                                  
                                  backitup.0
                                  2023-04-09 08:00:10.971	debug	[iobroker/mount] mount activ... umount is started before mount!!
                                  
                                  backitup.0
                                  2023-04-09 08:00:10.967	debug	Backup has started ...
                                  
                                  backitup.0
                                  2023-04-09 08:00:10.957	debug	The local storage check was completed successfully. On the host "iobroker" are currently 47416 MB free space available!
                                  
                                  backitup.0
                                  2023-04-09 08:00:08.571	debug	The local storage check was completed successfully. On the host "iobroker" are currently 47416 MB free space available!
                                  
                                  keksnK Offline
                                  keksnK Offline
                                  keksn
                                  schrieb am zuletzt editiert von Homoran
                                  #22

                                  @keksn

                                  Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                  permitted by applicable law.
                                  Last login: Sun Apr  9 07:56:27 CEST 2023 on tty1
                                  keksn@iobroker:~$ which influx
                                  /usr/bin/influx
                                  keksn@iobroker:~$ cd ~
                                  apt policy influx*
                                  influxdb2-cli:
                                    Installed: 2.7.1-2
                                    Candidate: 2.7.1-2
                                    Version table:
                                   *** 2.7.1-2 500
                                          500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                          100 /var/lib/dpkg/status
                                       2.6.1 500
                                          500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                       2.6.0 500
                                          500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                       2.5.0 500
                                          500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                       2.4.0 500
                                          500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                       2.3.0 500
                                          500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                  influxdb-client:
                                    Installed: (none)
                                    Candidate: 1.6.7~rc0-1+b5
                                    Version table:
                                       1.6.7~rc0-1+b5 500
                                          500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                                  influxdb-dev:
                                    Installed: (none)
                                    Candidate: (none)
                                    Version table:
                                  influxdb2-client:
                                    Installed: (none)
                                    Candidate: 2.7.1-1
                                    Version table:
                                       2.7.1-1 500
                                          500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                  influxdb:
                                    Installed: (none)
                                    Candidate: 1.8.10-1
                                    Version table:
                                       1.8.10-1 500
                                          500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                          100 /var/lib/dpkg/status
                                       1.6.7~rc0-1+b5 500
                                          500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                                  influxdb2:
                                    Installed: 2.7.0-1
                                    Candidate: 2.7.0-1
                                    Version table:
                                   *** 2.7.0-1 500
                                          500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                          100 /var/lib/dpkg/status
                                       2.6.1-1 500
                                          500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                       2.6.0-1 500
                                          500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                       2.5.1-1 500
                                          500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                       2.4.0-1 500
                                          500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                       2.3.0-1 500
                                          500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                       2.2.0 500
                                          500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                  
                                  1 Antwort Letzte Antwort
                                  0
                                  • keksnK keksn

                                    Hallo, leider funktioniert mein Influxdb2(7) Backup nicht mehr. Bin aber mit dem beschrieben Punkten zu keiner Lösung gekommen.

                                    backitup.0
                                    
                                    Zeit
                                    
                                    debug
                                    
                                    Nachricht
                                    
                                    
                                    backitup.0
                                    2023-04-09 08:00:28.312	error	[iobroker] Error: Command failed: "/usr/bin/influx" backup --bucket iobroker -t 866nCegDJG1u4sfO6TvfiIit-aQOZ1Wq1ukvR5SIl9ldn5stgoK33pGF3bQq_aNKc0TMbc9Pe3EQ-ZbAwzvCug== "/opt/iobroker/backups/influxDB_2023_04_09-08_00_28_backupiobroker" 2023/04/09 08:00:28 INFO: Downloading metadata snapshot Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
                                    
                                    backitup.0
                                    2023-04-09 08:00:28.312	error	[iobroker/influxDB] Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
                                    
                                    backitup.0
                                    2023-04-09 08:00:28.312	error	[iobroker/influxDB] 2023/04/09 08:00:28 INFO: Downloading metadata snapshot
                                    
                                    backitup.0
                                    2023-04-09 08:00:28.312	error	[iobroker/influxDB] Error: Command failed: "/usr/bin/influx" backup --bucket iobroker -t 866nCegDJG1u4sfO6TvfiIit-aQOZ1Wq1ukvR5SIl9ldn5stgoK33pGF3bQq_aNKc0TMbc9Pe3EQ-ZbAwzvCug== "/opt/iobroker/backups/influxDB_2023_04_09-08_00_28_backupiobroker"
                                    
                                    backitup.0
                                    2023-04-09 08:00:28.310	debug	[iobroker/influxDB] InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_04_09-08_00_28_backupiobroker" successfully deleted
                                    
                                    backitup.0
                                    2023-04-09 08:00:28.309	debug	[iobroker/influxDB] Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2023_04_09-08_00_28_backupiobroker"
                                    
                                    backitup.0
                                    2023-04-09 08:00:28.292	debug	[iobroker/influxDB] InfluxDB Backup tmp directory created
                                    
                                    backitup.0
                                    2023-04-09 08:00:28.291	debug	[iobroker/influxDB] Start InfluxDB Backup ...
                                    
                                    backitup.0
                                    2023-04-09 08:00:28.290	debug	[iobroker/influxDB] InfluxDB-Backup started ...
                                    
                                    backitup.0
                                    2023-04-09 08:00:28.140	debug	[iobroker/iobroker] done
                                    
                                    backitup.0
                                    2023-04-09 08:00:27.082	debug	[iobroker/iobroker] Backup created: /opt/iobroker/backups/iobroker_2023_04_09-08_00_21_backupiobroker.tar.gz
                                    
                                    backitup.0
                                    2023-04-09 08:00:23.895	debug	[iobroker/iobroker] host.iobroker 26002 objects saved
                                    
                                    backitup.0
                                    2023-04-09 08:00:23.541	debug	[iobroker/iobroker] host.iobroker 20366 states saved
                                    
                                    backitup.0
                                    2023-04-09 08:00:21.018	debug	[iobroker/mount] done
                                    
                                    backitup.0
                                    2023-04-09 08:00:21.017	debug	[iobroker/mount] mount successfully completed
                                    
                                    backitup.0
                                    2023-04-09 08:00:20.968	debug	[iobroker/mount] nfs-mount command: "sudo mount Hometank:/volume1/Backup/iobroker /opt/iobroker/backups"
                                    
                                    backitup.0
                                    2023-04-09 08:00:11.037	debug	[iobroker/mount] umount successfully completed
                                    
                                    backitup.0
                                    2023-04-09 08:00:10.971	debug	[iobroker/mount] mount activ... umount is started before mount!!
                                    
                                    backitup.0
                                    2023-04-09 08:00:10.967	debug	Backup has started ...
                                    
                                    backitup.0
                                    2023-04-09 08:00:10.957	debug	The local storage check was completed successfully. On the host "iobroker" are currently 47416 MB free space available!
                                    
                                    backitup.0
                                    2023-04-09 08:00:08.571	debug	The local storage check was completed successfully. On the host "iobroker" are currently 47416 MB free space available!
                                    
                                    simatecS Offline
                                    simatecS Offline
                                    simatec
                                    Developer Most Active
                                    schrieb am zuletzt editiert von
                                    #23

                                    @keksn

                                    Steht doch im Log …

                                    401 Unauthorized
                                    

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

                                    • Besuche meine Github Seite
                                    • Beitrag hat geholfen oder willst du mich unterstützen
                                    • HowTo Restore ioBroker
                                    keksnK 1 Antwort Letzte Antwort
                                    0
                                    • simatecS simatec

                                      @keksn

                                      Steht doch im Log …

                                      401 Unauthorized
                                      

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

                                      keksnK Offline
                                      keksnK Offline
                                      keksn
                                      schrieb am zuletzt editiert von
                                      #24

                                      @simatec

                                      das habe ich alles schon mehrmals gemacht. Es hat ja auch schon funktioniert. Ich habe aber jetzt erst gesehen das das letzte Backup am 17.02 erstellt wurde.

                                      simatecS 1 Antwort Letzte Antwort
                                      0
                                      • keksnK keksn

                                        @simatec

                                        das habe ich alles schon mehrmals gemacht. Es hat ja auch schon funktioniert. Ich habe aber jetzt erst gesehen das das letzte Backup am 17.02 erstellt wurde.

                                        simatecS Offline
                                        simatecS Offline
                                        simatec
                                        Developer Most Active
                                        schrieb am zuletzt editiert von
                                        #25

                                        @keksn
                                        Dann musst du es nochmal nach dieser Anleitung machen.
                                        Dein Token ist nicht für ein Backup gültig.

                                        • Besuche meine Github Seite
                                        • Beitrag hat geholfen oder willst du mich unterstützen
                                        • HowTo Restore ioBroker
                                        keksnK 3 Antworten Letzte Antwort
                                        0
                                        • simatecS simatec

                                          @keksn
                                          Dann musst du es nochmal nach dieser Anleitung machen.
                                          Dein Token ist nicht für ein Backup gültig.

                                          keksnK Offline
                                          keksnK Offline
                                          keksn
                                          schrieb am zuletzt editiert von
                                          #26

                                          @simatec

                                          Operator token steht bei mir da nirgends. Ich habe den obersten in der Liste genommen. jetzt kommt das

                                          	2023-04-09 11:17:45.061	error	[iobroker] Error: Command failed: "/usr/bin/influx" backup --bucket iobroker -t MJ-dVc5yNCpLtCN22GP_mrXrbJQR3mZxhy9bAOMUnzFGL2xs5T3FwZJxFG2P_QNZvlNYzV6RVd3pvZkFJ7koow==" "/opt/iobroker/backups/influxDB_2023_04_09-11_17_45_backupiobroker" /bin/sh: 1: Syntax error: Unterminated quoted string
                                          
                                          backitup.0
                                          2023-04-09 11:17:45.061	error	[iobroker/influxDB] /bin/sh: 1: Syntax error: Unterminated quoted string
                                          
                                          backitup.0
                                          2023-04-09 11:17:45.061	error	[iobroker/influxDB] Error: Command failed: "/usr/bin/influx" backup --bucket iobroker -t MJ-dVc5yNCpLtCN22GP_mrXrbJQR3mZxhy9bAOMUnzFGL2xs5T3FwZJxFG2P_QNZvlNYzV6RVd3pvZkFJ7koow==" "/opt/iobroker/backups/influxDB_2023_04_09-11_17_45_backupiobroker"
                                          
                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          754

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe