NEWS
Test Adapter ioBroker.backitup v3.0.x
-
@tobitobsta sagte in Test Adapter Backitup v1.7.x:
CIFS: Attempting to mount //server/tobi/Backup/iobroker
Du hättest ja auch mal verkünden können, das das ein gemountetes Dateisystem an der Stelle ist.
Wie sehen die mount-Optionen aus? -
@Thomas-Braun ja das hätte ich tun können...
"connectType": "CIFS", "cifsMount": "*****", "cifsDomain": "", "cifsUser": "******", "cifsPassword": "******", "smbType": "vers=3.0", "sudoMount": true, "cifsDeleteOldBackup": false, "cifsOwnDir": false, "wakeOnLAN": true,
mounting scheint zumindest so weit zu funktionieren, dass ich die backups in der Auswahlliste sehe. Und acuh das Backup erstellen funktioniert auf dem mount ohne Probleme.
-
@tobitobsta
Mache mal bitte den Restore Lokal. Cloud und NAS ist immer nicht so das Gelbe vom Ei .... -
@tobitobsta
Wird über die fstab gemounted?
Dann bitte die dortigen Einträge nennen.
Ansonsten das was @simatec sagt. -
@Thomas-Braun mounting passiert über den Adapter
@simatec vielen Dank für den Hinweis. So funktioniert es dann. Dann verstehe ich zwar noch nicht warum das auf dem alten System ohne weiteres ging - aber erstmal bin ich natürlich glücklich das es so geht. Danke Dir!!!
Was ich noch nicht verstehe ist, dass mein Redis-Backup, was ich drauf spiele, ca 3.7MB groß ist und nach einem Zurückspielen und erneutem Backup das Redis-Backup nur noch 650KB groß ist. Aber wie ihr ja bereits merkt - meine Mittel sind begrenzt
-
@tobitobsta
Prüfe mal die Rechte auf deinem NAS. So wie es aussieht, hat iobroker bzw. Backitup keine Schreibrechte -
Hallo zusammen,
seit 2 Tagen werden keine iobroker Archive mehr in mein NAS Drive geschrieben.
Pushover sagt immer erfolgreich im VIS HTML steht aber immer name undefined.redis und zigbee.0 kommen an und werden auch geschrieben.
Ich habe jetzt backitup mit debug laufen lassen und hänge mal das Log mit an.
Ebenso das log wenn ich den Adapter zum backuppen händisch starte.Vielleicht gibt es ja einen Tip von Euch
vielen Dank
Backitup2.txt Backitup1.txt -
@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.