NEWS
Kein iobroker Backup mehr über BackitUp Adapter
-
@simatec OK. Mache ich jetzt.
-
@simantec den neuen Token erstellt. heißt jetzt: w_82OMhVzJnXMTItS43qdbAwWyvrguzgRAiSQqDuqmb9WohKS3dKqrez-tInxG17EE64gBAC7oihtfkeKcfJBw==
aber immer noch: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-10_53_09_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-10_53_21_backupiobroker" [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_11_20-10_53_21_backupiobroker" successfully deleted [DEBUG] [influxDB] - [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker -t w_82OMhVzJnXMTItS43qdbAwWyvrguzgRAiSQqDuqmb9WohKS3dKqrez-tInxG17EE64gBAC7oihtfkeKcfJBw== "/opt/iobroker/backups/influxDB_2023_11_20-10_53_21_backupiobroker" 2023/11/20 10:53:21 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
Wenn ich den Befehl auf der Konsole ausführe:
otto@raspberrypi:/opt $ influx backup --bucket iobroker -t w_82OMhVzJnXMTItS43qdbAwWyvrguzgRAiSQqDuqmb9WohKS3dKqrez-tInxG17EE64gBAC7oihtfkeKcfJBw== "/opt/iobroker/backups/influxDB_2023_11_20-10_53_21_backupiobroker" 2023/11/20 10:56:29 INFO: Downloading metadata snapshot Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
-
@laser Zeige mal die Config deines Influx Adapters?
Was ist dort für Token hinterlegt? -
der eingetragene Token ist der Mit "strg&C" kopierte, neu erstellte Token. Den habe ich auch wieder in einer Textdatei gesichert. Für alle Fälle.
Habe ich mir auch anzeigen lassen. War identisch. -
@laser sagte in Kein iobroker Backup mehr über BackitUp Adapter:
neu erstellte Token
Da der Link zum Neuerstellen des Operator-Tokens ins Nirwana zeigt, frage ich mich gerade, wie du den Token erstellt hast. Was sagt denn:
influx auth list -t w_82OMhVzJnXMTItS43qdbAwWyvrguzgRAiSQqDuqmb9WohKS3dKqrez-tInxG17EE64gBAC7oihtfkeKcfJBw== --json
?
-
@laser Nein nicht die Config von Backitup... Bitte zeige den Influx Adapter
-
@marc-berg sagte in Kein iobroker Backup mehr über BackitUp Adapter:
influx auth list -t w_82OMhVzJnXMTItS43qdbAwWyvrguzgRAiSQqDuqmb9WohKS3dKqrez-tInxG17EE64gBAC7oihtfkeKcfJBw== --json
Den Token habe ich so erstellt: was mache ich mit den "alten" Token?
otto@raspberrypi:/opt $ influx auth list -t w_82OMhVzJnXMTItS43qdbAwWyvrguzgRAiSQqDuqmb9WohKS3dKqrez-tInxG17EE64gBAC7oihtfkeKcfJBw== --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": "0c2706d518d86000", "description": "Neuer Token", "token": "w_82OMhVzJnXMTItS43qdbAwWyvrguzgRAiSQqDuqmb9WohKS3dKqrez-tInxG17EE64gBAC7oihtfkeKcfJBw==", "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" ] } ]
-
@laser sagte in Kein iobroker Backup mehr über BackitUp Adapter:
9RpnKWzJ2Vuq-Jg85pOljmMaF1PJP0YhAfXZcLYO7QRNUQtKUaV0ezcQeIpnmTR2K1Ve0YWl11lqKTsX2DvQvw==
dann ist das hier dein Operator - Token:
9RpnKWzJ2Vuq-Jg85pOljmMaF1PJP0YhAfXZcLYO7QRNUQtKUaV0ezcQeIpnmTR2K1Ve0YWl11lqKTsX2DvQvw==
-
@simantec Muß da auch der neu generierte Token rein? Vermutlich ja)
Ich möchte ungern die Datenbank unbrauchbar machen.
Ich starte den Pi gerade neu...
EDIT: wieder das gleiche Verhalten. Kann ich bei der Token- Generierung etwas falsch machen? Was tue ich mit den ganzen "alten" Token's? -
@laser sagte in Kein iobroker Backup mehr über BackitUp Adapter:
EDIT: wieder das gleiche Verhalten. Kann ich bei der Token- Generierung etwas falsch machen? Was tue ich mit den ganzen "alten" Token's?
Hast du denn jetzt den Token
9RpnKWzJ2Vuq-Jg85pOljmMaF1PJP0YhAfXZcLYO7QRNUQtKUaV0ezcQeIpnmTR2K1Ve0YWl11lqKTsX2DvQvw==
in Backitup eingetragen???
-
@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
-
@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.
-
@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:
-
@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== -
@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
-
@laser sagte in Kein iobroker Backup mehr über BackitUp Adapter:
OK. kENxxP6hxicSqtd1R1akRkvk1QF8F9xqW0fmydbvHhCoy5KpRIjFam_H-NxW6u4aKxwaXia4i-1CSqr70HH8kg==
dieser Token muß in den Backitup und influxDu willst mich jetzt vera.., oder?
Ich hatte jetzt 3x geschrieben, dass dieser Token rein muss:
9RpnKWzJ2Vuq-Jg85pOljmMaF1PJP0YhAfXZcLYO7QRNUQtKUaV0ezcQeIpnmTR2K1Ve0YWl11lqKTsX2DvQvw==
-
@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" ] }
-
@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.
-
@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
-
@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