Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Backupit und influxdb

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Backupit und influxdb

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

      Re: BackItUp für InfluxDB

      Hallo Leute,

      seit ich den IOBroker betreibe, bekomme ich kein Backup für Influxdb 2. Alle anderen Sicherungen laufen sauber durch.
      Ich verzweifle langsam 🙂

      Das sind meine Einstellungen:
      e2f8eb2b-4a3e-46b2-af22-c3f51ee979ca-image.png

      Das der Log aus dem Backup:
      15:30:04.525INFOguiBackup gestartet ...
      15:30:04.692DEBUGmountmount activ... umount is started before mount!!
      15:30:04.732DEBUGmountumount successfully completed
      15:30:14.666DEBUGmountcifs-mount command: "sudo mount -t cifs -o username=iobroker,password=,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0777,dir_mode=0777,vers=1.0 //192.168.123.101/software/BACKUP/ioBroker /opt/iobroker/backups"
      15:30:14.725DEBUGmountfirst mount attempt with smb option failed. try next mount attempt without smb option ...
      15:30:14.771DEBUGmountcifs-mount command: "sudo mount -t cifs -o username=iobroker,password=
      ,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0777,dir_mode=0777 //192.168.123.101/software/BACKUP/ioBroker /opt/iobroker/backups"
      15:30:14.821DEBUGmountmount successfully completed
      15:30:14.837DEBUGmountdone
      15:30:26.129DEBUGiobrokerhost.iobroker 8483 objects saved
      15:30:27.620DEBUGiobrokerhost.iobroker 7526 states saved
      15:30:27.656DEBUGiobrokerhost.iobroker Validating backup ...
      host.iobroker "config.json" is valid
      15:30:27.670DEBUGiobrokerhost.iobroker "objects.jsonl" exists
      host.iobroker "states.jsonl" exists
      15:30:28.505DEBUGiobrokerhost.iobroker JSONL lines are valid
      15:30:28.627DEBUGiobrokerhost.iobroker The backup is valid!
      15:30:31.672DEBUGiobrokerBackup created: /opt/iobroker/backups/iobroker_2025_01_16-15_30_15_backupiobroker.tar.gz
      15:30:31.699DEBUGiobrokerThis backup can only be restored with js-controller version 7.0 or higher
      15:30:32.739DEBUGiobrokerdone
      15:30:32.917DEBUGinfluxDBInfluxDB-Backup for is started ...
      15:30:32.930DEBUGinfluxDBStart InfluxDB Backup ...
      15:30:32.975DEBUGinfluxDBInfluxDB Backup tmp directory created
      15:30:33.212DEBUGinfluxDBTry deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2025_01_16-15_30_33_backupiobroker"
      15:30:33.278DEBUGinfluxDBInfluxDB tmp directory "/opt/iobroker/backups/influxDB_2025_01_16-15_30_33_backupiobroker" successfully deleted
      [DEBUG] [influxDB] -
      15:30:33.299ERRORinfluxDBError: Command failed: influx backup --bucket iobroker -t v4R-U1xHTY6Uy6R-ffOhwWFKvU6BZbF_h2z01O7CwXEQL2hcYey-HhR3va94puWcSptNt2DSx2JSM2L6glK5PQ== "/opt/iobroker/backups/influxDB_2025_01_16-15_30_33_backupiobroker"
      2025/01/16 15:30:33 INFO: Downloading metadata snapshot
      Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
      15:30:33.307DEBUGinfluxDBInfluxDB-Backup for is finish
      15:30:33.313DEBUGinfluxDBdone
      15:30:34.142DEBUGhistoryDBcompress from historyDB started ...

      Ich habe zuerst den Token benutzt, der in der Instanz der Influxdb eingetragen war und auch einen neuen erzeugt und den reinkopiert.

      Was mache ich hier falsch verdammt?? 🙂

      Marc Berg 1 Reply Last reply Reply Quote 0
      • Marc Berg
        Marc Berg Most Active @puffy00007 last edited by Marc Berg

        @puffy00007 sagte in Backupit und influxdb:

        Was mache ich hier falsch verdammt??

        Das hier:

        Ich habe zuerst den Token benutzt, der in der Instanz der Influxdb eingetragen war und auch einen neuen erzeugt und den reinkopiert.

        Du kannst keinen über die Oberfläche selbst erstellten Token nutzen, sondern benötigst den sogenannten "Operator-Token", der beim Anlegen des InfluxDB-Servers erzeugt wird. Die Suche danach hier im Forum führt dich auf gefühlt hunderte Treffer.

        P 1 Reply Last reply Reply Quote 1
        • P
          puffy00007 @Marc Berg last edited by

          @marc-berg Super, danke. Ich habe dden Operator Token wiederhergestellt und jetzt funzt! Das war ein Verständnisproblem, ich dachte immer, dass der Token, der im datainflux Adapter eingetragen ist, der Operatro Token ist. Danke!

          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

          657
          Online

          31.7k
          Users

          79.8k
          Topics

          1.3m
          Posts

          2
          3
          113
          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