NEWS
Test Adapter ioBroker.backitup v3.0.x
-
@simatec Aber dann könnte er ja das Backup auch dort nicht erstellen - aber das geht ja wunderbar. Oder er hängt es beim Backup "anders" ein als beim Wiederherstellen... Aber ich Denke im Grunde hast Du recht: Es scheint ein Rechte-Problem zu sein. Der Mount Befehl für die Wiederherstellung im log sieht für mich jetzt auch okay aus:
sudo mount -t cifs -o username=tobi,password=****,rw,file_mode=0777,dir_mode=0777 //server/tobi/Backup/iobroker /opt/iobroker/backups
Unterschied: der Ordner "backups" gehört vor dem mounten user iobroker - nachdem mounten "root" - aber er ist tatsächlich 0777 Rechten versehen.
-
@HAL
Wenn du Influxdb mal testen willst, kannst du gerne mal die DEV Version testen.
Im Moment geht noch kein Restore -
@simatec
Mal sehen ob übermorgen ( morgen bin ich unterwegs ) auf meinen NAS etwas zu finden ist.Manuell kann man den Backup aber nicht anstoßen, korrekt ?
-
@HAL
Nein ... es wird als Option wie die anderen Datenbanken bei einem iobroker Backup mit ausgeführt -
Guten Morgen,
ich habe hier einige Error im Log. Sicherung startet täglich um 2Uhr und soll die IoBroker sowie Zigbee Daten in Google Drive sichern.
Iobroker läuft auf einem NUC unter Proxmox mit Ubuntu Server
Node.js v10.22.0
NPM 6.14.6Systeminfos
iobroker_server Platform linux Betriebssystem linux Architektur x64 CPUs 1 Geschwindigkeit 2165 MHz Modell Common KVM processor RAM 3.85 GB System Betriebszeit 1 T. 20:30:01 Node.js v10.22.0 (Es gibt eine neuere Version: v10.23.0 - Empfohlene Version v12.19.1) NPM 6.14.6 Festplatte Größe 15.64 GB Festplatte frei 8.32 GB Anzahl der Adapter 312 Betriebszeit 1 T. 20:29:37 Aktive Instanzen 15 Hostname iobroker_server
Log
2020-11-18 02:00:10.045 - debug: backitup.0 (4228) Backup has started ... 2020-11-18 02:00:12.693 - info: ical.0 (6395) processing URL: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 2020-11-18 02:00:16.600 - debug: backitup.0 (4228) [iobroker/iobroker] host.iobroker_server 5248 states saved 2020-11-18 02:00:16.664 - debug: backitup.0 (4228) [iobroker/iobroker] host.iobroker_server 3577 objects saved 2020-11-18 02:00:18.420 - warn: host.iobroker_server Objects 127.0.0.1:45828 Error from InMemDB: Error: ERROR readDir id=0_userdata.0: Not exists 2020-11-18 02:00:18.421 - warn: host.iobroker_server Objects 127.0.0.1:45828 Error from InMemDB: Error: ERROR readDir id=admin.0: Not exists 2020-11-18 02:00:18.427 - warn: readFile will not read this file (css/vis-common-user.css) in future versions: vis is not an object of type "meta" 2020-11-18 02:00:18.428 - warn: host.iobroker_server Objects 127.0.0.1:45828 Error from InMemDB: Error: ERROR readDir id=web.0: Not exists 2020-11-18 02:00:19.868 - info: ical.0 (6395) Terminated (NO_ERROR): Without reason 2020-11-18 02:00:20.409 - info: host.iobroker_server instance system.adapter.ical.0 terminated with code 0 (NO_ERROR) 2020-11-18 02:00:22.336 - debug: backitup.0 (4228) [iobroker/iobroker] Backup created: /opt/iobroker/backups/iobroker_2020_11_18-02_00_10_backupiobroker.tar.gz 2020-11-18 02:00:23.388 - debug: backitup.0 (4228) [iobroker/iobroker] done 2020-11-18 02:00:23.992 - debug: backitup.0 (4228) [iobroker/zigbee] found zigbee database: zigbee.0 2020-11-18 02:00:23.993 - debug: backitup.0 (4228) [iobroker/zigbee] done 2020-11-18 02:00:24.445 - debug: backitup.0 (4228) [iobroker/googledrive] Google Drive: Copy iobroker_2020_11_18-02_00_10_backupiobroker.tar.gz... 2020-11-18 02:00:24.460 - debug: backitup.0 (4228) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_11_14-02_00_10_backupiobroker.tar.gz 2020-11-18 02:00:24.461 - debug: backitup.0 (4228) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_11_13-02_00_10_backupiobroker.tar.gz 2020-11-18 02:00:24.465 - debug: backitup.0 (4228) [iobroker/clean] delete /opt/iobroker/backups/zigbee.0_2020_11_14-02_00_22_backupiobroker.tar.gz 2020-11-18 02:00:24.466 - debug: backitup.0 (4228) [iobroker/clean] delete /opt/iobroker/backups/zigbee.0_2020_11_13-02_00_22_backupiobroker.tar.gz 2020-11-18 02:00:24.467 - debug: backitup.0 (4228) [iobroker/clean] done 2020-11-18 02:00:24.968 - error: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2020-11-18 02:00:24.969 - error: backitup.0 (4228) unhandled promise rejection: Rate Limit Exceeded 2020-11-18 02:00:25.054 - error: backitup.0 (4228) Error: Rate Limit Exceeded at Gaxios._request (/opt/iobroker/node_modules/gaxios/src/gaxios.ts:112:15) at process._tickCallback (internal/process/next_tick.js:68:7) 2020-11-18 02:00:25.055 - info: backitup.0 (4228) cleaned everything up... 2020-11-18 02:00:25.121 - info: backitup.0 (4228) terminating 2020-11-18 02:00:25.122 - debug: backitup.0 (4228) Plugin sentry destroyed 2020-11-18 02:00:25.123 - info: backitup.0 (4228) Terminated (NO_ERROR): Without reason 2020-11-18 02:00:25.283 - debug: backitup.0 (4228) [iobroker/history] backitup.0.history.html 2020-11-18 02:00:25.284 - debug: backitup.0 (4228) [iobroker/history] backitup.0.history.json 2020-11-18 02:00:25.436 - debug: backitup.0 (4228) [iobroker] exec: done 2020-11-18 02:00:25.684 - error: host.iobroker_server Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: 2020-11-18 02:00:25.690 - error: host.iobroker_server Caught by controller[1]: Error: Rate Limit Exceeded 2020-11-18 02:00:25.691 - error: host.iobroker_server Caught by controller[1]: at Gaxios._request (/opt/iobroker/node_modules/gaxios/src/gaxios.ts:112:15) 2020-11-18 02:00:25.691 - error: host.iobroker_server Caught by controller[1]: at process._tickCallback (internal/process/next_tick.js:68:7) 2020-11-18 02:00:25.691 - info: host.iobroker_server instance system.adapter.backitup.0 terminated with code 0 (NO_ERROR) 2020-11-18 02:00:25.692 - info: host.iobroker_server Restart adapter system.adapter.backitup.0 because enabled 2020-11-18 02:00:25.796 - info: coronavirus-statistics.0 (6380) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2020-11-18 02:00:26.321 - info: host.iobroker_server instance system.adapter.coronavirus-statistics.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2020-11-18 02:00:55.715 - info: host.iobroker_server instance system.adapter.backitup.0 started with pid 6421 2020-11-18 02:00:59.737 - debug: backitup.0 (6421) Redis Objects: Use Redis connection: 127.0.0.1:9001 2020-11-18 02:00:59.785 - debug: backitup.0 (6421) Objects client ready ... initialize now 2020-11-18 02:00:59.792 - debug: backitup.0 (6421) Objects create System PubSub Client 2020-11-18 02:00:59.793 - debug: backitup.0 (6421) Objects create User PubSub Client 2020-11-18 02:00:59.794 - debug: backitup.0 (6421) Objects client initialize lua scripts 2020-11-18 02:00:59.814 - debug: backitup.0 (6421) Objects connected to redis: 127.0.0.1:9001 2020-11-18 02:00:59.859 - debug: backitup.0 (6421) objectDB connected 2020-11-18 02:00:59.862 - debug: backitup.0 (6421) Redis States: Use Redis connection: 127.0.0.1:9000 2020-11-18 02:00:59.872 - debug: backitup.0 (6421) States create User PubSub Client 2020-11-18 02:00:59.875 - debug: backitup.0 (6421) States create System PubSub Client 2020-11-18 02:00:59.889 - debug: backitup.0 (6421) States connected to redis: 127.0.0.1:9000 2020-11-18 02:00:59.890 - debug: backitup.0 (6421) statesDB connected 2020-11-18 02:01:01.712 - debug: backitup.0 (6421) Plugin sentry Initialize Plugin (enabled=true) 2020-11-18 02:01:01.958 - info: backitup.0 (6421) starting. Version 1.7.0 in /opt/iobroker/node_modules/iobroker.backitup, node: v10.22.0, js-controller: 3.1.4 2020-11-18 02:01:02.076 - info: backitup.0 (6421) [iobroker] backup was activated at 02:00 every 1 day(s) 2020-11-18 02:01:05.499 - debug: backitup.0 (6421) detect backup file 1: iobroker_2020_11_17-09_51_33_backupiobroker.tar.gz 2020-11-18 02:01:05.500 - debug: backitup.0 (6421) detect backup file 2: iobroker_2020_11_17-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.500 - debug: backitup.0 (6421) detect backup file 3: iobroker_2020_11_11-09_37_06_backupiobroker.tar.gz 2020-11-18 02:01:05.501 - debug: backitup.0 (6421) detect backup file 4: iobroker_2020_11_11-09_23_21_backupiobroker.tar.gz 2020-11-18 02:01:05.501 - debug: backitup.0 (6421) detect backup file 5: iobroker_2020_11_03-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.502 - debug: backitup.0 (6421) detect backup file 6: iobroker_2020_10_31-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.502 - debug: backitup.0 (6421) detect backup file 7: iobroker_2020_10_23-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.503 - debug: backitup.0 (6421) detect backup file 8: iobroker_2020_10_20-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.503 - debug: backitup.0 (6421) detect backup file 9: iobroker_2020_10_18-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.503 - debug: backitup.0 (6421) detect backup file 10: iobroker_2020_10_16-02_00_20_backupiobroker.tar.gz 2020-11-18 02:01:05.504 - debug: backitup.0 (6421) detect backup file 11: iobroker_2020_10_14-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.504 - debug: backitup.0 (6421) detect backup file 12: iobroker_2020_10_13-13_21_49_backupiobroker.tar.gz 2020-11-18 02:01:05.505 - debug: backitup.0 (6421) detect backup file 13: iobroker_2020_10_13-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.505 - debug: backitup.0 (6421) detect backup file 14: iobroker_2020_10_12-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.505 - debug: backitup.0 (6421) detect backup file 15: iobroker_2020_10_11-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.506 - debug: backitup.0 (6421) detect backup file 16: iobroker_2020_10_10-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.506 - debug: backitup.0 (6421) detect backup file 17: iobroker_2020_10_09-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.507 - debug: backitup.0 (6421) detect backup file 18: iobroker_2020_10_08-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.507 - debug: backitup.0 (6421) detect backup file 19: iobroker_2020_10_07-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.508 - debug: backitup.0 (6421) detect backup file 20: iobroker_2020_10_06-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.508 - debug: backitup.0 (6421) detect backup file 21: iobroker_2020_10_05-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.508 - debug: backitup.0 (6421) detect backup file 22: iobroker_2020_10_04-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.509 - debug: backitup.0 (6421) detect backup file 23: iobroker_2020_10_03-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.509 - debug: backitup.0 (6421) detect backup file 24: iobroker_2020_10_02-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.510 - debug: backitup.0 (6421) detect backup file 25: iobroker_2020_10_01-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.510 - debug: backitup.0 (6421) detect backup file 26: iobroker_2020_09_30-07_40_09_backupiobroker.tar.gz 2020-11-18 02:01:05.510 - debug: backitup.0 (6421) detect backup file 27: iobroker_2020_09_30-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.511 - debug: backitup.0 (6421) detect backup file 28: iobroker_2020_09_29-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.511 - debug: backitup.0 (6421) detect backup file 29: iobroker_2020_09_28-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.512 - debug: backitup.0 (6421) detect backup file 30: iobroker_2020_09_27-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.512 - debug: backitup.0 (6421) detect backup file 31: iobroker_2020_09_26-02_00_10_backupiobroker.tar.gz 2020-11-18 02:01:05.512 - debug: backitup.0 (6421) detect backup file 32: iobroker_2020_09_25-14_11_27_backupiobroker.tar.gz 2020-11-18 02:01:05.516 - debug: backitup.0 (6421) detect last backup file: iobroker_2020_11_17-09_51_33_backupiobroker.tar.gz
Ich wäre über Hilfe dankbar.
LG Phil82 -
@Phil82
Es gibt mit der Cloud von Google leider Probleme, wo wir bereits ein Issue offen haben.
Wieviel Backups speicherst du in Drive? So wie ich das verstehe, sind es wohl zu viele Anfragen, was auf eine hohe Anzahl an Backups liegen könnte. -
@simatec
Ich habe eben noch die Screenshots angehängt. Eigentlich 5 Stück sollen aufbehalten werden. Im Log stehen aber mehr, das verstehe ich nicht. -
@Phil82
Schaue mal in deine Cloud und lösche die alten Backups ggfs mal händisch -
@simatec Okay, erledigt. Da waren ziemlich viele drin.
-
@Phil82
Schiebe nun mal ein Backup an und schaue, ob der Fehler weiterhin auftritt.
Aktiviere auch das löschen alter Google Drive Backups in den Einstellungen. -
-
@Bibo-13
Ich kann leider mit deiner Aussage nichts anfangen. Was kommt nicht an?
Zeige mal deine Pushover Nachricht ...
Der Log sieht OK aus -
@simatec Hallo, es kommen an die Sicherung von redis und zigbee.0. Aber nicht die Iobroker Sicherung. Ich kann im Log auch nichts sehen. Aber auf dem NAS kommt kein Iobroker Backup an.
-
@Bibo-13 Meines erachtens hat das mit mount unmount zu tun. Ich habe es jetzt mal händisch angestossen, also aus dem Adapter heraus gestartet, das hat funktioniert. Nur wenn es automatisch ablaufen soll, also Zeitgesteuert, kommt es zu diesem Problem.
-
@Bibo-13
Zeige mal deine Config bitte ... -
@simatec Hier als Datei
system.adapter.backitup.0(1).json -
So das klappt jetzt. Die Fehler sind weg. Vielen Dank! Jetzt noch eine Frage zum Verständnis.
Unter dem Reiter iobroker gibts den Punkt "Löschen alter ioBroker Sicherungen mit Ausnahme der letzten X Sicherungen" dort habe ich 5 eingestellt. Warum gibt es unter dem Reiter Google Drive "Löschen alter Google Drive Sicherungen" nochmals extra?LG Phil82
-
@simatec Bei mir geht der Backup vom iobroker auf google drive nicht mehr, manuell geht es aber.
Backup von ccu geht.Einstellungen :
-
@Gargano
Hast du einen debug Log für mich? -
seltsam, jetzt hat es funktioniert.
Das einzige was ich geändert habe ist die checkbox 'Löschen aller Google Drive-Sicherungen' aktiviert und einige alte Backups von Hand aus Goggle gelöscht.
Dies war aber sicher weit unter der Grenze von 15GB , also noch Kapazität frei. Und Backup von CCU und von Hand ging ja.