Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Kein iobroker Backup mehr über BackitUp Adapter

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    Kein iobroker Backup mehr über BackitUp Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      Laser @Marc Berg last edited by Laser

      @marc-berg Ich habe die Token in Backitup und in influx eingetragen.
      Gerade noch einen neuen Token erstellt. Muß der eine bestimmte Bezeichnung erhalten oder ist das nur ein Mektext?
      Wieder das Gleiche beim Backup:

      Started iobroker ...
      [DEBUG] [mount] - noserverino option: false
      [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=iobroker,password=****,rw,uid=iobroker,gid=iobroker,file_mode=0777,dir_mode=0777,vers=2.0 //192.168.2.57/backup /opt/iobroker/backups"
      [DEBUG] [mount] - mount successfully completed
      [DEBUG] [mount] - done
      [DEBUG] [iobroker] - host.raspberrypi 3166 states saved
      
      [DEBUG] [iobroker] - host.raspberrypi 3839 objects saved
      
      [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2023_11_20-11_34_13_backupiobroker.tar.gz
      
      [DEBUG] [iobroker] - This backup can only be restored with js-controller version up from 4.1
      
      [DEBUG] [iobroker] - done
      [DEBUG] [influxDB] - InfluxDB-Backup started ...
      [DEBUG] [influxDB] - Start InfluxDB Backup ...
      [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
      [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2023_11_20-11_34_26_backupiobroker"
      [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_11_20-11_34_26_backupiobroker" successfully deleted
      [DEBUG] [influxDB] - 
      [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker -t kENxxP6hxicSqtd1R1akRkvk1QF8F9xqW0fmydbvHhCoy5KpRIjFam_H-NxW6u4aKxwaXia4i-1CSqr70HH8kg== "/opt/iobroker/backups/influxDB_2023_11_20-11_34_26_backupiobroker"
      2023/11/20 11:34:26 INFO: Downloading metadata snapshot
      Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
      
      [DEBUG] [influxDB] - InfluxDB-Backup for is finish
      [DEBUG] [influxDB] - done
      [DEBUG] [cifs] - used copy path: /backup
      [DEBUG] [cifs] - done
      [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
      [DEBUG] [clean] - done
      [DEBUG] [telegram] - done
      [DEBUG] [historyHTML] - new history html values created
      [DEBUG] [historyHTML] - done
      [DEBUG] [historyJSON] - new history json values created
      [DEBUG] [historyJSON] - done
      [DEBUG] [umount] - mount activ, umount is started ...
      [DEBUG] [umount] - umount successfully completed
      [DEBUG] [umount] - done
      [EXIT] 0
      
      Marc Berg 1 Reply Last reply Reply Quote 0
      • Marc Berg
        Marc Berg Most Active @Laser last edited by

        @laser sagte in Kein iobroker Backup mehr über BackitUp Adapter:

        Ich habe die Token in Backitup und in influx eingetragen.

        Welche?

        Gerade noch einen neuen Token erstellt. Muß der eine bestimmte Bezeichnung erhalten oder ist das nur ein Mektext?

        Bezeichnung ist egal.

        L 1 Reply Last reply Reply Quote 0
        • L
          Laser @Marc Berg last edited by

          @marc-berg sagte in Kein iobroker Backup mehr über BackitUp Adapter:

          Ich habe die Token in Backitup und in influx eingetragen.

          Jetzt heißt der neu generierte Token- in influx und Backitup eingetragen:
          b3cb8e9c-97a5-4203-a08b-af2f2e5ef246-image.png

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

            @laser sagte in Kein iobroker Backup mehr über BackitUp Adapter:

            Jetzt heißt der neu generierte Token- in influx und Backitup eingetragen:

            Das ist doch aber der Falsche. Du muss den Operator Token (siehe oben) eintragen.

            @marc-berg sagte in Kein iobroker Backup mehr über BackitUp Adapter:

            dann ist das hier dein Operator - Token:
            9RpnKWzJ2Vuq-Jg85pOljmMaF1PJP0YhAfXZcLYO7QRNUQtKUaV0ezcQeIpnmTR2K1Ve0YWl11lqKTsX2DvQvw==

            L 1 Reply Last reply Reply Quote 0
            • L
              Laser @Marc Berg last edited by Laser

              @marc-berg OK. kENxxP6hxicSqtd1R1akRkvk1QF8F9xqW0fmydbvHhCoy5KpRIjFam_H-NxW6u4aKxwaXia4i-1CSqr70HH8kg==
              dieser Token muß in den Backitup und influx - Adapter eingetragen werden? Mache ich jetzt.

              Started iobroker ...
              [DEBUG] [mount] - mount activ... umount is started before mount!!
              [DEBUG] [mount] - umount successfully completed
              [DEBUG] [mount] - noserverino option: false
              [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=iobroker,password=****,rw,uid=iobroker,gid=iobroker,file_mode=0777,dir_mode=0777,vers=2.0 //192.168.2.57/backup /opt/iobroker/backups"
              [DEBUG] [mount] - mount successfully completed
              [DEBUG] [mount] - done
              [DEBUG] [iobroker] - host.raspberrypi 3145 states saved
              
              [DEBUG] [iobroker] - host.raspberrypi 3839 objects saved
              
              [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2023_11_20-11_47_58_backupiobroker.tar.gz
              
              [DEBUG] [iobroker] - This backup can only be restored with js-controller version up from 4.1
              
              [DEBUG] [iobroker] - done
              [DEBUG] [influxDB] - InfluxDB-Backup started ...
              [DEBUG] [influxDB] - Start InfluxDB Backup ...
              [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
              [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2023_11_20-11_48_11_backupiobroker"
              [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_11_20-11_48_11_backupiobroker" successfully deleted
              [DEBUG] [influxDB] - 
              [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker -t kENxxP6hxicSqtd1R1akRkvk1QF8F9xqW0fmydbvHhCoy5KpRIjFam_H-NxW6u4aKxwaXia4i-1CSqr70HH8kg== "/opt/iobroker/backups/influxDB_2023_11_20-11_48_11_backupiobroker"
              2023/11/20 11:48:11 INFO: Downloading metadata snapshot
              Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
              
              [DEBUG] [influxDB] - InfluxDB-Backup for is finish
              [DEBUG] [influxDB] - done
              [DEBUG] [cifs] - used copy path: /backup
              [DEBUG] [cifs] - done
              [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
              [DEBUG] [clean] - done
              [DEBUG] [telegram] - done
              [DEBUG] [historyHTML] - new history html values created
              [DEBUG] [historyHTML] - done
              [DEBUG] [historyJSON] - new history json values created
              [DEBUG] [historyJSON] - done
              [DEBUG] [umount] - mount activ, umount is started ...
              [DEBUG] [umount] - umount successfully completed
              [DEBUG] [umount] - done
              [EXIT] 0
              
              Marc Berg 1 Reply Last reply Reply Quote 0
              • Marc Berg
                Marc Berg Most Active @Laser last edited by

                @laser sagte in Kein iobroker Backup mehr über BackitUp Adapter:

                OK. kENxxP6hxicSqtd1R1akRkvk1QF8F9xqW0fmydbvHhCoy5KpRIjFam_H-NxW6u4aKxwaXia4i-1CSqr70HH8kg==
                dieser Token muß in den Backitup und influx

                Du willst mich jetzt vera.., oder?

                Ich hatte jetzt 3x geschrieben, dass dieser Token rein muss:

                9RpnKWzJ2Vuq-Jg85pOljmMaF1PJP0YhAfXZcLYO7QRNUQtKUaV0ezcQeIpnmTR2K1Ve0YWl11lqKTsX2DvQvw==
                
                L 1 Reply Last reply Reply Quote 0
                • L
                  Laser @Marc Berg last edited by Laser

                  @marc-berg ich kapiere es nicht! Wo nehme ich den her? Aus der Ausgabe von:
                  influx auth list -t kENxxP6hxicSqtd1R1akRkvk1QF8F9xqW0fmydbvHhCoy5KpRIjFam_H-NxW6u4aKxwaXia4i-1CSqr70HH8kg== --json ?
                  Da gibt es bei mir 4 Token:

                  otto@raspberrypi:~ $ influx auth list -t kENxxP6hxicSqtd1R1akRkvk1QF8F9xqW0fmydbvHhCoy5KpRIjFam_H-NxW6u4aKxwaXia4i-1CSqr70HH8kg== --json
                  [
                          {
                                  "id": "0b4721ccc9305000",
                                  "description": "iobroker's Token",
                                  "token": "9RpnKWzJ2Vuq-Jg85pOljmMaF1PJP0YhAfXZcLYO7QRNUQtKUaV0ezcQeIpnmTR2K1Ve0YWl11lqKTsX2DvQvw==",
                                  "status": "active",
                                  "userName": "iobroker",
                                  "userID": "0b4721cca3305000",
                                  "permissions": [
                                          "read:/authorizations",
                                          "write:/authorizations",
                                          "read:/buckets",
                                          "write:/buckets",
                                          "read:/dashboards",
                                          "write:/dashboards",
                                          "read:/orgs",
                                          "write:/orgs",
                                          "read:/sources",
                                          "write:/sources",
                                          "read:/tasks",
                                          "write:/tasks",
                                          "read:/telegrafs",
                                          "write:/telegrafs",
                                          "read:/users",
                                          "write:/users",
                                          "read:/variables",
                                          "write:/variables",
                                          "read:/scrapers",
                                          "write:/scrapers",
                                          "read:/secrets",
                                          "write:/secrets",
                                          "read:/labels",
                                          "write:/labels",
                                          "read:/views",
                                          "write:/views",
                                          "read:/documents",
                                          "write:/documents",
                                          "read:/notificationRules",
                                          "write:/notificationRules",
                                          "read:/notificationEndpoints",
                                          "write:/notificationEndpoints",
                                          "read:/checks",
                                          "write:/checks",
                                          "read:/dbrp",
                                          "write:/dbrp",
                                          "read:/notebooks",
                                          "write:/notebooks",
                                          "read:/annotations",
                                          "write:/annotations",
                                          "read:/remotes",
                                          "write:/remotes",
                                          "read:/replications",
                                          "write:/replications"
                                  ]
                          },
                          {
                                  "id": "0b485bd1c75e4000",
                                  "description": "onboarding-cliWizard-token-1685530468858",
                                  "token": "zijB7piBzzSSLchg2TCyrp2MViRxSJ5_HQP_ynLZO_T8K6Wy-guPxh9uI75KjCKFKIhzTGhpSSeyMpp58Z_juw==",
                                  "status": "active",
                                  "userName": "iobroker",
                                  "userID": "0b4721cca3305000",
                                  "permissions": [
                                          "read:orgs/56ed5fe7a100c804/annotations",
                                          "write:orgs/56ed5fe7a100c804/annotations",
                                          "read:orgs/56ed5fe7a100c804/authorizations",
                                          "write:orgs/56ed5fe7a100c804/authorizations",
                                          "read:orgs/56ed5fe7a100c804/buckets",
                                          "write:orgs/56ed5fe7a100c804/buckets",
                                          "read:orgs/56ed5fe7a100c804/checks",
                                          "write:orgs/56ed5fe7a100c804/checks",
                                          "read:orgs/56ed5fe7a100c804/dashboards",
                                          "write:orgs/56ed5fe7a100c804/dashboards",
                                          "read:orgs/56ed5fe7a100c804/dbrp",
                                          "write:orgs/56ed5fe7a100c804/dbrp",
                                          "read:orgs/56ed5fe7a100c804/documents",
                                          "write:orgs/56ed5fe7a100c804/documents",
                                          "read:orgs/56ed5fe7a100c804/labels",
                                          "write:orgs/56ed5fe7a100c804/labels",
                                          "read:orgs/56ed5fe7a100c804/notebooks",
                                          "write:orgs/56ed5fe7a100c804/notebooks",
                                          "read:orgs/56ed5fe7a100c804/notificationEndpoints",
                                          "write:orgs/56ed5fe7a100c804/notificationEndpoints",
                                          "read:orgs/56ed5fe7a100c804/notificationRules",
                                          "write:orgs/56ed5fe7a100c804/notificationRules",
                                          "read:/orgs/56ed5fe7a100c804",
                                          "read:orgs/56ed5fe7a100c804/remotes",
                                          "write:orgs/56ed5fe7a100c804/remotes",
                                          "read:orgs/56ed5fe7a100c804/replications",
                                          "write:orgs/56ed5fe7a100c804/replications",
                                          "read:orgs/56ed5fe7a100c804/scrapers",
                                          "write:orgs/56ed5fe7a100c804/scrapers",
                                          "read:orgs/56ed5fe7a100c804/secrets",
                                          "write:orgs/56ed5fe7a100c804/secrets",
                                          "read:orgs/56ed5fe7a100c804/sources",
                                          "write:orgs/56ed5fe7a100c804/sources",
                                          "read:orgs/56ed5fe7a100c804/tasks",
                                          "write:orgs/56ed5fe7a100c804/tasks",
                                          "read:orgs/56ed5fe7a100c804/telegrafs",
                                          "write:orgs/56ed5fe7a100c804/telegrafs",
                                          "read:/users/0b4721cca3305000",
                                          "write:/users/0b4721cca3305000",
                                          "read:orgs/56ed5fe7a100c804/variables",
                                          "write:orgs/56ed5fe7a100c804/variables",
                                          "read:orgs/56ed5fe7a100c804/views",
                                          "write:orgs/56ed5fe7a100c804/views"
                                  ]
                          },
                          {
                                  "id": "0b4862a339de4000",
                                  "description": "iobroker",
                                  "token": "fPGvK9QsLi2jJWNN_q5ccAyETlJ9plh-1qxfgsxuOEPymu9SCsQVHI3j47j44UbAUfqMpv8_in5zeFDC8D2Q0Q==",
                                  "status": "active",
                                  "userName": "iobroker",
                                  "userID": "0b4721cca3305000",
                                  "permissions": [
                                          "read:orgs/56ed5fe7a100c804/annotations",
                                          "write:orgs/56ed5fe7a100c804/annotations",
                                          "read:orgs/56ed5fe7a100c804/authorizations",
                                          "write:orgs/56ed5fe7a100c804/authorizations",
                                          "read:orgs/56ed5fe7a100c804/buckets",
                                          "write:orgs/56ed5fe7a100c804/buckets",
                                          "read:orgs/56ed5fe7a100c804/checks",
                                          "write:orgs/56ed5fe7a100c804/checks",
                                          "read:orgs/56ed5fe7a100c804/dashboards",
                                          "write:orgs/56ed5fe7a100c804/dashboards",
                                          "read:orgs/56ed5fe7a100c804/dbrp",
                                          "write:orgs/56ed5fe7a100c804/dbrp",
                                          "read:orgs/56ed5fe7a100c804/documents",
                                          "write:orgs/56ed5fe7a100c804/documents",
                                          "read:orgs/56ed5fe7a100c804/labels",
                                          "write:orgs/56ed5fe7a100c804/labels",
                                          "read:orgs/56ed5fe7a100c804/notebooks",
                                          "write:orgs/56ed5fe7a100c804/notebooks",
                                          "read:orgs/56ed5fe7a100c804/notificationEndpoints",
                                          "write:orgs/56ed5fe7a100c804/notificationEndpoints",
                                          "read:orgs/56ed5fe7a100c804/notificationRules",
                                          "write:orgs/56ed5fe7a100c804/notificationRules",
                                          "read:/orgs/56ed5fe7a100c804",
                                          "read:orgs/56ed5fe7a100c804/remotes",
                                          "write:orgs/56ed5fe7a100c804/remotes",
                                          "read:orgs/56ed5fe7a100c804/replications",
                                          "write:orgs/56ed5fe7a100c804/replications",
                                          "read:orgs/56ed5fe7a100c804/scrapers",
                                          "write:orgs/56ed5fe7a100c804/scrapers",
                                          "read:orgs/56ed5fe7a100c804/secrets",
                                          "write:orgs/56ed5fe7a100c804/secrets",
                                          "read:orgs/56ed5fe7a100c804/sources",
                                          "write:orgs/56ed5fe7a100c804/sources",
                                          "read:orgs/56ed5fe7a100c804/tasks",
                                          "write:orgs/56ed5fe7a100c804/tasks",
                                          "read:orgs/56ed5fe7a100c804/telegrafs",
                                          "write:orgs/56ed5fe7a100c804/telegrafs",
                                          "read:/users/0b4721cca3305000",
                                          "write:/users/0b4721cca3305000",
                                          "read:orgs/56ed5fe7a100c804/variables",
                                          "write:orgs/56ed5fe7a100c804/variables",
                                          "read:orgs/56ed5fe7a100c804/views",
                                          "write:orgs/56ed5fe7a100c804/views"
                                  ]
                          },
                          {
                                  "id": "0c26fdf572986000",
                                  "description": "onboarding-cliWizard-token-1700471139713",
                                  "token": "oodzlogKQY9O0tCtNNDYiFxomFcAWJXjd-RTbC738Fkna1nzQiVXRjNVaKZDFt_lvWEYrZWhpUNIxsnMISQejg==",
                                  "status": "active",
                                  "userName": "iobroker",
                                  "userID": "0b4721cca3305000",
                                  "permissions": [
                                          "read:orgs/56ed5fe7a100c804/annotations",
                                          "write:orgs/56ed5fe7a100c804/annotations",
                                          "read:orgs/56ed5fe7a100c804/authorizations",
                                          "write:orgs/56ed5fe7a100c804/authorizations",
                                          "read:orgs/56ed5fe7a100c804/buckets",
                                          "write:orgs/56ed5fe7a100c804/buckets",
                                          "read:orgs/56ed5fe7a100c804/checks",
                                          "write:orgs/56ed5fe7a100c804/checks",
                                          "read:orgs/56ed5fe7a100c804/dashboards",
                                          "write:orgs/56ed5fe7a100c804/dashboards",
                                          "read:orgs/56ed5fe7a100c804/dbrp",
                                          "write:orgs/56ed5fe7a100c804/dbrp",
                                          "read:orgs/56ed5fe7a100c804/documents",
                                          "write:orgs/56ed5fe7a100c804/documents",
                                          "read:orgs/56ed5fe7a100c804/labels",
                                          "write:orgs/56ed5fe7a100c804/labels",
                                          "read:orgs/56ed5fe7a100c804/notebooks",
                                          "write:orgs/56ed5fe7a100c804/notebooks",
                                          "read:orgs/56ed5fe7a100c804/notificationEndpoints",
                                          "write:orgs/56ed5fe7a100c804/notificationEndpoints",
                                          "read:orgs/56ed5fe7a100c804/notificationRules",
                                          "write:orgs/56ed5fe7a100c804/notificationRules",
                                          "read:/orgs/56ed5fe7a100c804",
                                          "read:orgs/56ed5fe7a100c804/remotes",
                                          "write:orgs/56ed5fe7a100c804/remotes",
                                          "read:orgs/56ed5fe7a100c804/replications",
                                          "write:orgs/56ed5fe7a100c804/replications",
                                          "read:orgs/56ed5fe7a100c804/scrapers",
                                          "write:orgs/56ed5fe7a100c804/scrapers",
                                          "read:orgs/56ed5fe7a100c804/secrets",
                                          "write:orgs/56ed5fe7a100c804/secrets",
                                          "read:orgs/56ed5fe7a100c804/sources",
                                          "write:orgs/56ed5fe7a100c804/sources",
                                          "read:orgs/56ed5fe7a100c804/tasks",
                                          "write:orgs/56ed5fe7a100c804/tasks",
                                          "read:orgs/56ed5fe7a100c804/telegrafs",
                                          "write:orgs/56ed5fe7a100c804/telegrafs",
                                          "read:/users/0b4721cca3305000",
                                          "write:/users/0b4721cca3305000",
                                          "read:orgs/56ed5fe7a100c804/variables",
                                          "write:orgs/56ed5fe7a100c804/variables",
                                          "read:orgs/56ed5fe7a100c804/views",
                                          "write:orgs/56ed5fe7a100c804/views"
                                  ]
                          },
                          {
                                  "id": "0c271185effd8000",
                                  "description": "iobroker",
                                  "token": "kENxxP6hxicSqtd1R1akRkvk1QF8F9xqW0fmydbvHhCoy5KpRIjFam_H-NxW6u4aKxwaXia4i-1CSqr70HH8kg==",
                                  "status": "active",
                                  "userName": "iobroker",
                                  "userID": "0b4721cca3305000",
                                  "permissions": [
                                          "read:orgs/56ed5fe7a100c804/annotations",
                                          "write:orgs/56ed5fe7a100c804/annotations",
                                          "read:orgs/56ed5fe7a100c804/authorizations",
                                          "write:orgs/56ed5fe7a100c804/authorizations",
                                          "read:orgs/56ed5fe7a100c804/buckets",
                                          "write:orgs/56ed5fe7a100c804/buckets",
                                          "read:orgs/56ed5fe7a100c804/checks",
                                          "write:orgs/56ed5fe7a100c804/checks",
                                          "read:orgs/56ed5fe7a100c804/dashboards",
                                          "write:orgs/56ed5fe7a100c804/dashboards",
                                          "read:orgs/56ed5fe7a100c804/dbrp",
                                          "write:orgs/56ed5fe7a100c804/dbrp",
                                          "read:orgs/56ed5fe7a100c804/documents",
                                          "write:orgs/56ed5fe7a100c804/documents",
                                          "read:orgs/56ed5fe7a100c804/labels",
                                          "write:orgs/56ed5fe7a100c804/labels",
                                          "read:orgs/56ed5fe7a100c804/notebooks",
                                          "write:orgs/56ed5fe7a100c804/notebooks",
                                          "read:orgs/56ed5fe7a100c804/notificationEndpoints",
                                          "write:orgs/56ed5fe7a100c804/notificationEndpoints",
                                          "read:orgs/56ed5fe7a100c804/notificationRules",
                                          "write:orgs/56ed5fe7a100c804/notificationRules",
                                          "read:/orgs/56ed5fe7a100c804",
                                          "read:orgs/56ed5fe7a100c804/remotes",
                                          "write:orgs/56ed5fe7a100c804/remotes",
                                          "read:orgs/56ed5fe7a100c804/replications",
                                          "write:orgs/56ed5fe7a100c804/replications",
                                          "read:orgs/56ed5fe7a100c804/scrapers",
                                          "write:orgs/56ed5fe7a100c804/scrapers",
                                          "read:orgs/56ed5fe7a100c804/secrets",
                                          "write:orgs/56ed5fe7a100c804/secrets",
                                          "read:orgs/56ed5fe7a100c804/sources",
                                          "write:orgs/56ed5fe7a100c804/sources",
                                          "read:orgs/56ed5fe7a100c804/tasks",
                                          "write:orgs/56ed5fe7a100c804/tasks",
                                          "read:orgs/56ed5fe7a100c804/telegrafs",
                                          "write:orgs/56ed5fe7a100c804/telegrafs",
                                          "read:/users/0b4721cca3305000",
                                          "write:/users/0b4721cca3305000",
                                          "read:orgs/56ed5fe7a100c804/variables",
                                          "write:orgs/56ed5fe7a100c804/variables",
                                          "read:orgs/56ed5fe7a100c804/views",
                                          "write:orgs/56ed5fe7a100c804/views"
                                  ]
                          }
                  
                  
                  Marc Berg 1 Reply Last reply Reply Quote 0
                  • Marc Berg
                    Marc Berg Most Active @Laser last edited by

                    @laser sagte in Kein iobroker Backup mehr über BackitUp Adapter:

                    influx auth list -t kENxxP6hxicSqtd1R1akRkvk1QF8F9xqW0fmydbvHhCoy5KpRIjFam_H-NxW6u4aKxwaXia4i-1CSqr70HH8kg== --json ?

                    Korrekt, das ist aber in dem Dokument, welches @simatec dir verlinkt hatte, sehr gut beschrieben.

                    9fe45eba-28b0-47ec-91a0-4f6a3dd3d461-image.png

                    L 1 Reply Last reply Reply Quote 0
                    • L
                      Laser @Marc Berg last edited by Laser

                      @marc-berg
                      Der Erste Token der Ausgabe ist also immer der Richtige. Egal, wie viele ich dann noch generiere. Das steht im verlinkten Dok. so da, habe ich aber nicht richtig verstanden.

                      Mit diesem Token passiert auch etwas, geht aber nicht weiter. Es werden aber auch sehr viele tar.gz Dateien generiert.
                      Ich warte ab, was passiert...

                      Started iobroker ...
                      [DEBUG] [mount] - noserverino option: false
                      [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=iobroker,password=****,rw,uid=iobroker,gid=iobroker,file_mode=0777,dir_mode=0777,vers=2.0 //192.168.2.57/backup /opt/iobroker/backups"
                      [DEBUG] [mount] - mount successfully completed
                      [DEBUG] [mount] - done
                      [DEBUG] [iobroker] - host.raspberrypi 3145 states saved
                      
                      [DEBUG] [iobroker] - host.raspberrypi 3839 objects saved
                      
                      [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2023_11_20-11_52_12_backupiobroker.tar.gz
                      
                      [DEBUG] [iobroker] - This backup can only be restored with js-controller version up from 4.1
                      
                      [DEBUG] [iobroker] - done
                      [DEBUG] [influxDB] - InfluxDB-Backup started ...
                      [DEBUG] [influxDB] - Start InfluxDB Backup ...
                      [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                      
                      L 1 Reply Last reply Reply Quote 0
                      • L
                        Laser @Laser last edited by Laser

                        @Marc-Berg @simatec
                        Es werden jetzt im NAS sehr viele Dateien in einem neu angelegtem Verzeichnis generiert. Das dauert scheinbar lange.
                        Ich warte es ab und werde dann versuchen, auf dem Neuen PI (bzw. der neuen SSD ) das Backup zurückzuholen. So der Plan. Aber ist scheinbar wieder etwas fehlgeschlagen (das temporäre Verzeichnis auf dem NAS ist wieder gelöscht):

                        Started iobroker ...
                        [DEBUG] [mount] - noserverino option: false
                        [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=iobroker,password=****,rw,uid=iobroker,gid=iobroker,file_mode=0777,dir_mode=0777,vers=2.0 //192.168.2.57/backup /opt/iobroker/backups"
                        [DEBUG] [mount] - mount successfully completed
                        [DEBUG] [mount] - done
                        [DEBUG] [iobroker] - host.raspberrypi 3145 states saved
                        
                        [DEBUG] [iobroker] - host.raspberrypi 3839 objects saved
                        
                        [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2023_11_20-11_52_12_backupiobroker.tar.gz
                        
                        [DEBUG] [iobroker] - This backup can only be restored with js-controller version up from 4.1
                        
                        [DEBUG] [iobroker] - done
                        [DEBUG] [influxDB] - InfluxDB-Backup started ...
                        [DEBUG] [influxDB] - Start InfluxDB Backup ...
                        [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                        [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2023_11_20-11_52_25_backupiobroker"
                        [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_11_20-11_52_25_backupiobroker" successfully deleted
                        [DEBUG] [influxDB] - 
                        [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker -t 9RpnKWzJ2Vuq-Jg85pOljmMaF1PJP0YhAfXZcLYO7QRNUQtKUaV0ezcQeIpnmTR2K1Ve0YWl11lqKTsX2DvQvw== "/opt/iobroker/backups/influxDB_2023_11_20-11_52_25_backupiobroker"
                        2023/11/20 11:52:25 INFO: Downloading metadata snapshot
                        2023/11/20 11:52:25 INFO: Backing up TSM for shard 1
                        2023/11/20 11:54:00 INFO: Backing up TSM for shard 2
                        2023/11/20 11:55:36 INFO: Backing up TSM for shard 3
                        2023/11/20 11:57:00 INFO: Backing up TSM for shard 4
                        2023/11/20 11:58:31 INFO: Backing up TSM for shard 5
                        2023/11/20 11:59:51 INFO: Backing up TSM for shard 6
                        2023/11/20 12:01:12 INFO: Backing up TSM for shard 7
                        2023/11/20 12:02:39 INFO: Backing up TSM for shard 8
                        2023/11/20 12:03:57 INFO: Backing up TSM for shard 9
                        2023/11/20 12:05:28 INFO: Backing up TSM for shard 10
                        2023/11/20 12:07:17 INFO: Backing up TSM for shard 11
                        2023/11/20 12:09:37 INFO: Backing up TSM for shard 12
                        2023/11/20 12:14:06 INFO: Backing up TSM for shard 13
                        2023/11/20 12:22:22 INFO: Backing up TSM for shard 14
                        2023/11/20 12:28:52 INFO: Backing up TSM for shard 15
                        2023/11/20 12:36:47 INFO: Backing up TSM for shard 16
                        2023/11/20 12:43:47 INFO: Backing up TSM for shard 17
                        2023/11/20 12:52:28 INFO: Backing up TSM for shard 18
                        Error: failed to backup bucket data: failed to download snapshot of shard 18: 401 Unauthorized: unauthorized access
                        
                        [DEBUG] [influxDB] - InfluxDB-Backup for is finish
                        [DEBUG] [influxDB] - done
                        [DEBUG] [cifs] - used copy path: /backup
                        [DEBUG] [cifs] - done
                        [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
                        [DEBUG] [clean] - done
                        [DEBUG] [telegram] - done
                        [DEBUG] [historyHTML] - new history html values created
                        [DEBUG] [historyHTML] - done
                        [DEBUG] [historyJSON] - new history json values created
                        [DEBUG] [historyJSON] - done
                        [DEBUG] [umount] - mount activ, umount is started ...
                        [DEBUG] [umount] - umount successfully completed
                        [DEBUG] [umount] - done
                        [EXIT] 0
                        
                        L 1 Reply Last reply Reply Quote 0
                        • L
                          Laser @Laser last edited by

                          @Marc-Berg Es ist Alles supertoll beschrieben! Aber es klappt einfach nicht. OK, das mit dem ersten Eintrag als Operator Token benutzen habe ich verpennt!

                          • Ich generiere einen neuen Token in der Influx GUI:
                            Z50uyViNwOSShEX2jY2A09cHyCCavlnqe1GFdkzGnYWZ4a2uQ2ghc9wahuCQwuNrpDuWHhGj7_wrrflgHMkpMA==
                          • mit diesem Token führe ich aus:
                            influx auth list -t Z50uyViNwOSShEX2jY2A09cHyCCavlnqe1GFdkzGnYWZ4a2uQ2ghc9wahuCQwuNrpDuWHhGj7_wrrflgHMkpMA== --json
                          • den ersten Token kopiere ich.
                            zijB7piBzzSSLchg2TCyrp2MViRxSJ5_HQP_ynLZO_T8K6Wy-guPxh9uI75KjCKFKIhzTGhpSSeyMpp58Z_juw==
                            das ist der "Operator Token"
                          • der kommt in die BackitUp- Instanz rein.
                          • und in die Influx.db Instanz - ist das richtig oder muß da der ursprünglich generierte
                            Z50uyViNwOSShEX2jY2A09cHyCCavlnqe1GFdkzGnYWZ4a2uQ2ghc9wahuCQwuNrpDuWHhGj7_wrrflgHMkpMA==
                            rein?
                            Ich habe jetzt alle Versionen durchprobiert.
                            Beim ausführen des Befehles:
                            influx backup --bucket iobroker -t Z50uyViNwOSShEX2jY2A09cHyCCavlnqe1GFdkzGnYWZ4a2uQ2ghc9wahuCQwuNrpDuWHhGj7_wrrflgHMkpMA== "/opt/iobroker/backups/influxDB_2023_11_20-10_53_21_backupiobroker" kommt immer:
                          
                          otto@raspberrypi:/opt/iobroker/backups $ influx backup --bucket iobroker --host http://192.168.2.54:8086 -t zijB7piBzzSSLchg2TCyrp2MViRxSJ5_HQP_ynLZO_T8K6Wy-guPxh9uI75KjCKFKIhzTGhpSSeyMpp58Z_juw== "/tmp/influx-test"
                          2023/11/20 14:20:01 INFO: Downloading metadata snapshot
                          Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
                          
                          
                          1 Reply Last reply Reply Quote 0
                          • simatec
                            simatec Developer Most Active last edited by

                            @laser Wie groß ist deine DB? Führe mal den Befehl erstmal manuell aus, um zu schauen, ob alles funktioniert

                            mkdir -p /opt/iobroker/backups/influxdb2-tmp
                            influx backup --bucket iobroker -t 9RpnKWzJ2Vuq-Jg85pOljmMaF1PJP0YhAfXZcLYO7QRNUQtKUaV0ezcQeIpnmTR2K1Ve0YWl11lqKTsX2DvQvw== "/opt/iobroker/backups/influxdb2-tmp"
                            
                            L 1 Reply Last reply Reply Quote 0
                            • L
                              Laser @simatec last edited by Laser

                              @simatec sagte in Kein iobroker Backup mehr über BackitUp Adapter:

                              influx backup --bucket iobroker -t 9RpnKWzJ2Vuq-Jg85pOljmMaF1PJP0YhAfXZcLYO7QRNUQtKUaV0ezcQeIpnmTR2K1Ve0YWl11lqKTsX2DvQvw== "/opt/iobroker/backups/influxdb2-tmp"

                              Korrektur:

                              otto@raspberrypi:/opt/iobroker/backups $ mkdir -p /opt/iobroker/backups/influxdb2-tmp
                              otto@raspberrypi:/opt/iobroker/backups $ influx backup --bucket iobroker -t 9RpnKWzJ2Vuq-Jg85pOljmMaF1PJP0YhAfXZcLYO7QRNUQtKUaV0ezcQeIpnmTR2K1Ve0YWl11lqKTsX2DvQvw== "/opt/iobroker/backups/influxdb2-tmp"
                              2023/11/20 14:38:28 INFO: Downloading metadata snapshot
                              Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: unauthorized access
                              
                              
                              
                              L 1 Reply Last reply Reply Quote 0
                              • L
                                Laser @Laser last edited by Laser

                                @simatec sind denn die Befehle, wie ich sie oben aufgelistet habe überhaupt richtig? Ich bekomme immer einen anderen Operator- Token angezeigt, niemals
                                9RpnKWzJ2Vuq-Jg85pOljmMaF1PJP0YhAfXZcLYO7QRNUQtKUaV0ezcQeIpnmTR2K1Ve0YWl11lqKTsX2DvQvw==

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

                                  @laser sagte in Kein iobroker Backup mehr über BackitUp Adapter:

                                  Ich bekomme immer einen anderen Operator- Token angezeigt, niemals

                                  Niemals? Und was ist das hier?
                                  https://forum.iobroker.net/post/1083285

                                  Ich würde sagen, du hast den Operator Token jetzt gelöscht. Glückwunsch!

                                  L 1 Reply Last reply Reply Quote 0
                                  • L
                                    Laser @Marc Berg last edited by

                                    @marc-berg deshalb war meine Frage: "was mache ich mit den anderen Tokens neben dem neu Angelegten?" Habe ich gelöscht. War das ein Fehler?

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

                                      @laser Zeige mal, was hier für Token angelegt sind
                                      15eb463b-1c2b-4b7f-8332-d05aef5b9983-image.png

                                      Was kommt für eine Ausgabe, wenn du den Befehl absetzt?

                                      influx auth list -t <TOKEN> --json
                                      
                                      L 1 Reply Last reply Reply Quote 0
                                      • L
                                        Laser @simatec last edited by

                                        @simatec soll ich dazu den letzten generierten Token einsetzen?

                                        otto@raspberrypi:/opt/iobroker/backups $ influx auth list -t Z50uyViNwOSShEX2jY2A09cHyCCavlnqe1GFdkzGnYWZ4a2uQ2ghc9wahuCQwuNrpDuWHhGj7_wrrflgHMkpMA== --json
                                        [
                                                {
                                                        "id": "0b485bd1c75e4000",
                                                        "description": "onboarding-cliWizard-token-1685530468858",
                                                        "token": "zijB7piBzzSSLchg2TCyrp2MViRxSJ5_HQP_ynLZO_T8K6Wy-guPxh9uI75KjCKFKIhzTGhpSSeyMpp58Z_juw==",
                                                        "status": "active",
                                                        "userName": "iobroker",
                                                        "userID": "0b4721cca3305000",
                                                        "permissions": [
                                                                "read:orgs/56ed5fe7a100c804/annotations",
                                                                "write:orgs/56ed5fe7a100c804/annotations",
                                                                "read:orgs/56ed5fe7a100c804/authorizations",
                                                                "write:orgs/56ed5fe7a100c804/authorizations",
                                                                "read:orgs/56ed5fe7a100c804/buckets",
                                                                "write:orgs/56ed5fe7a100c804/buckets",
                                                                "read:orgs/56ed5fe7a100c804/checks",
                                                                "write:orgs/56ed5fe7a100c804/checks",
                                                                "read:orgs/56ed5fe7a100c804/dashboards",
                                                                "write:orgs/56ed5fe7a100c804/dashboards",
                                                                "read:orgs/56ed5fe7a100c804/dbrp",
                                                                "write:orgs/56ed5fe7a100c804/dbrp",
                                                                "read:orgs/56ed5fe7a100c804/documents",
                                        ]       }       ]       "write:orgs/56ed5fe7a100c804/views"les",s",les",ts",ghc9wahuCQwuNrpDuWHhGj7_wrrflgHMkpMA==",
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • simatec
                                          simatec Developer Most Active last edited by

                                          @laser Wie erstellst du denn die ganzen Token?
                                          Bist du als Admin im WebUi von Influx angemeldet?

                                          Zeige doch mal bitte deinen Weg...
                                          Hier ist alles gut beschrieben...

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

                                            @simatec Diese Beschreibung habe ich ständig aufgeklappt und versuche, Schritt für Schritt durchzugehen.
                                            In der Influx-DB bin ich als Admin eingeloggt. Ich erzeuge jetzt nochmal einen neuen all-access- API-Token.
                                            Q494kw0QVOhk3if8D-cZsqjlggKCOIEJcD8gW1Za4vUzKGYYQO7RoraoIrmmPm-NjdaChpZAddzXtsQ7Mw5GBg==

                                            
                                            otto@raspberrypi:/opt/iobroker/backups $ influx auth list -t Q494kw0QVOhk3if8D-cZsqjlggKCOIEJcD8gW1Za4vUzKGYYQO7RoraoIrmmPm-NjdaChpZAddzXtsQ7Mw5GBg== --json
                                            [
                                                    {
                                                            "id": "0b485bd1c75e4000",
                                                            "description": "onboarding-cliWizard-token-1685530468858",
                                                            "token": "zijB7piBzzSSLchg2TCyrp2MViRxSJ5_HQP_ynLZO_T8K6Wy-guPxh9uI75KjCKFKIhzTGhpSSeyMpp58Z_juw==",
                                                            "status": "active",
                                                            "userName": "iobroker",
                                                            "userID": "0b4721cca3305000",
                                            
                                            

                                            ist das ober der Operator Token oder ist der unwiederbringlich weg? Auszug aus der Beschreibung:
                                            5. Wenn es keinen solchen Eintrag gibt, dann wurde das Operator-Token gelöscht. Auch das kann repariert werden. Hier ist ein Link zu einem Artikel Link
                                            (Der Link zum Neu- Anlegen des Operator Tokens funktioniert nicht)

                                            simatec 2 Replies 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

                                            843
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            112
                                            5261
                                            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