NEWS
Test Adapter ioBroker.backitup v3.0.x
-
@simatec sieht gut aus bei mir. iob nuc mit proxmox und debian 10 plus ein slave auf Raspi (beides iob 4.0.15) , update lief durch, danach manuelles backup lief durch. Er gibtz ein warning, dass auf dem Slave was nicht vorhanden ist, das liegt aber höchstwahrscheinlich an irgendeinem Problem des Slaves bzw seiner Instanzen und nicht am Adapter.
Ich poste mal den Log zur Info. Der Error connect EHOSTUNREACH 192.168.2.20:21 kommt weil das NAS nicht online war.
backitup.0 2022-02-26 16:30:45.681 debug slave backups are completed backitup.0 2022-02-26 16:30:45.681 warn undefined is not running. The slave backup for this instance is not possible backitup.0 2022-02-26 16:30:44.674 debug Slave backup from Backitup-Master is started ... backitup.0 2022-02-26 16:30:44.673 debug [iobroker] exec: done backitup.0 2022-02-26 16:30:44.372 debug [iobroker/historyJSON] done backitup.0 2022-02-26 16:30:44.371 debug [iobroker/historyJSON] new history json values created backitup.0 2022-02-26 16:30:44.215 debug [iobroker/historyHTML] done backitup.0 2022-02-26 16:30:44.215 debug [iobroker/historyHTML] new history html values created backitup.0 2022-02-26 16:30:43.442 debug [iobroker/clean] done backitup.0 2022-02-26 16:30:42.686 debug [iobroker/ftp] done backitup.0 2022-02-26 16:30:42.670 debug [iobroker/ftp] Send javascripts_2022_02_26-16_30_37_backupiobroker.tar.gz backitup.0 2022-02-26 16:30:42.547 debug [iobroker/ftp] Send zigbee.0_2022_02_26-16_30_37_backupiobroker.tar.gz backitup.0 2022-02-26 16:30:39.369 debug [iobroker/ftp] Send historyDB_2022_02_26-16_29_57_backupiobroker.tar.gz backitup.0 2022-02-26 16:30:38.391 debug [iobroker/ftp] Send iobroker_2022_02_26-16_29_43_backupiobroker.tar.gz backitup.0 2022-02-26 16:30:38.391 debug [iobroker/ftp] FTP connected. backitup.0 2022-02-26 16:30:38.024 debug [iobroker/javascripts] done backitup.0 2022-02-26 16:30:38.023 debug [iobroker/javascripts] Backup created: /opt/iobroker/backups/javascripts_2022_02_26-16_30_37_backupiobroker.tar.gz backitup.0 2022-02-26 16:30:38.018 debug [iobroker/javascripts] Javascript tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted backitup.0 2022-02-26 16:30:38.002 debug [iobroker/javascripts] Try deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts" backitup.0 2022-02-26 16:30:37.841 debug [iobroker/javascripts] found Script: Anzeige_initialisieren_(setstate) backitup.0 2022-02-26 16:30:37.840 debug [iobroker/javascripts] found Script: Anzeige_initialisieren_(Exec) backitup.0 2022-02-26 16:30:37.840 debug [iobroker/javascripts] found Script: zigbee_watchdog backitup.0 2022-02-26 16:30:37.840 debug [iobroker/javascripts] found Script: Tasmota_Watchdog backitup.0 2022-02-26 16:30:37.840 debug [iobroker/javascripts] found Script: tasmota_devices backitup.0 2022-02-26 16:30:37.839 debug [iobroker/javascripts] found Script: Statusanzeige_initialisieren backitup.0 2022-02-26 16:30:37.839 debug [iobroker/javascripts] found Script: Backup-Tabelle backitup.0 2022-02-26 16:30:37.839 debug [iobroker/javascripts] found Script: Anwesenheitssimulation backitup.0 2022-02-26 16:30:37.838 debug [iobroker/javascripts] found Script: Pflanzenanzucht backitup.0 2022-02-26 16:30:37.838 debug [iobroker/javascripts] found Script: Opplo_Switch_Schlafzimmer backitup.0 2022-02-26 16:30:37.838 debug [iobroker/javascripts] found Script: Tradfri_Andreas backitup.0 2022-02-26 16:30:37.837 debug [iobroker/javascripts] found Script: Tradfri_Doro backitup.0 2022-02-26 16:30:37.836 debug [iobroker/javascripts] found Script: Tradfri_Garten backitup.0 2022-02-26 16:30:37.836 debug [iobroker/javascripts] found Script: Tradfri_Nils backitup.0 2022-02-26 16:30:37.836 debug [iobroker/javascripts] found Script: Opplo_Switch_Garten backitup.0 2022-02-26 16:30:37.835 debug [iobroker/javascripts] found Script: Opplo_Switch_Wohnzimmer backitup.0 2022-02-26 16:30:37.835 debug [iobroker/javascripts] found Script: Bild_an_Telegram backitup.0 2022-02-26 16:30:37.835 debug [iobroker/javascripts] found Script: Begruessung backitup.0 2022-02-26 16:30:37.834 debug [iobroker/javascripts] found Script: Statusansagen backitup.0 2022-02-26 16:30:37.834 debug [iobroker/javascripts] found Script: zigbee_test backitup.0 2022-02-26 16:30:37.834 debug [iobroker/javascripts] found Script: RF_433_Bridge backitup.0 2022-02-26 16:30:37.833 debug [iobroker/javascripts] found Script: Radar_Ein backitup.0 2022-02-26 16:30:37.833 debug [iobroker/javascripts] found Script: Fenstercheck_Nils backitup.0 2022-02-26 16:30:37.833 debug [iobroker/javascripts] found Script: Fenstercheck_Garten backitup.0 2022-02-26 16:30:37.832 debug [iobroker/javascripts] found Script: Klingel backitup.0 2022-02-26 16:30:37.831 debug [iobroker/javascripts] found Script: Das_Sonoff_Skript backitup.0 2022-02-26 16:30:37.831 debug [iobroker/javascripts] found Script: Abzugshaube backitup.0 2022-02-26 16:30:37.831 debug [iobroker/javascripts] found Script: Skript_1 backitup.0 2022-02-26 16:30:37.830 debug [iobroker/javascripts] found Script: Skript_1 backitup.0 2022-02-26 16:30:37.830 debug [iobroker/javascripts] found Script: Wetter_Check_Rolladen backitup.0 2022-02-26 16:30:37.830 debug [iobroker/javascripts] found Script: Urlaub_ermitteln backitup.0 2022-02-26 16:30:37.829 debug [iobroker/javascripts] found Script: Summe_Impfungen backitup.0 2022-02-26 16:30:37.829 debug [iobroker/javascripts] found Script: BT_Anwesenheit_tr-64 backitup.0 2022-02-26 16:30:37.829 debug [iobroker/javascripts] found Script: Wii_u backitup.0 2022-02-26 16:30:37.828 debug [iobroker/javascripts] found Script: WakeOnLan backitup.0 2022-02-26 16:30:37.828 debug [iobroker/javascripts] found Script: Velux_abends_zu backitup.0 2022-02-26 16:30:37.827 debug [iobroker/javascripts] found Script: TV backitup.0 2022-02-26 16:30:37.826 debug [iobroker/javascripts] found Script: Summe_Stromverbrauch backitup.0 2022-02-26 16:30:37.826 debug [iobroker/javascripts] found Script: Statusanzeige_gross backitup.0 2022-02-26 16:30:37.825 debug [iobroker/javascripts] found Script: Pflanzencheck backitup.0 2022-02-26 16:30:37.825 debug [iobroker/javascripts] found Script: Pflanze backitup.0 2022-02-26 16:30:37.825 debug [iobroker/javascripts] found Script: Frostwächter_Gartenhaus backitup.0 2022-02-26 16:30:37.824 debug [iobroker/javascripts] found Script: BluRay backitup.0 2022-02-26 16:30:37.824 debug [iobroker/javascripts] found Script: BT_Anwesenheit_Radar2 backitup.0 2022-02-26 16:30:37.824 debug [iobroker/javascripts] found Script: Astroabfrage backitup.0 2022-02-26 16:30:37.823 debug [iobroker/javascripts] found Script: Velux_nach_Sonnenuntergang_schliessen backitup.0 2022-02-26 16:30:37.823 debug [iobroker/javascripts] found Script: Velux_nach_Sonnenaufgang_öffnen backitup.0 2022-02-26 16:30:37.822 debug [iobroker/javascripts] found Script: Velux_Nils_auf backitup.0 2022-02-26 16:30:37.821 debug [iobroker/javascripts] found Script: Restart_klf200 backitup.0 2022-02-26 16:30:37.821 debug [iobroker/javascripts] found Script: Alle_Velux_öffnen backitup.0 2022-02-26 16:30:37.821 debug [iobroker/javascripts] found Script: Alle_Velux_schliessen backitup.0 2022-02-26 16:30:37.820 debug [iobroker/javascripts] found Script: velux_list_all_nodes backitup.0 2022-02-26 16:30:37.820 debug [iobroker/javascripts] found Script: Velux_Nils_Zu backitup.0 2022-02-26 16:30:37.819 debug [iobroker/javascripts] found Script: Velux_Martina_rechts_zu backitup.0 2022-02-26 16:30:37.819 debug [iobroker/javascripts] found Script: Velux_Martina_rechts_auf backitup.0 2022-02-26 16:30:37.819 debug [iobroker/javascripts] found Script: Velux_Martina_links_zu backitup.0 2022-02-26 16:30:37.818 debug [iobroker/javascripts] found Script: Velux_Martina_links_auf backitup.0 2022-02-26 16:30:37.818 debug [iobroker/javascripts] found Script: Test_Fritzbox_Filter backitup.0 2022-02-26 16:30:37.817 debug [iobroker/javascripts] found Script: TV_Internet backitup.0 2022-02-26 16:30:37.816 debug [iobroker/javascripts] found Script: Statusanzeige_2 backitup.0 2022-02-26 16:30:37.816 debug [iobroker/javascripts] found Script: Statusanzeige backitup.0 2022-02-26 16:30:37.815 debug [iobroker/javascripts] found Script: Telefonliste_(TR-64) backitup.0 2022-02-26 16:30:37.815 debug [iobroker/javascripts] found Script: LG_Telefontest backitup.0 2022-02-26 16:30:37.814 debug [iobroker/javascripts] found Script: Weihnachtsbeleuchtung_aussen backitup.0 2022-02-26 16:30:37.814 debug [iobroker/javascripts] found Script: Weihnachtsbeleuchtung_Wintergarten_links backitup.0 2022-02-26 16:30:37.813 debug [iobroker/javascripts] found Script: Weihnachtsbaum_(Gosund_SP1-3) backitup.0 2022-02-26 16:30:37.813 debug [iobroker/javascripts] found Script: Schuhschrank backitup.0 2022-02-26 16:30:37.812 debug [iobroker/javascripts] found Script: Schrank_Keller backitup.0 2022-02-26 16:30:37.811 debug [iobroker/javascripts] found Script: Legolampe backitup.0 2022-02-26 16:30:37.622 debug [iobroker/javascripts] Created javascript_tmp directory: "/opt/iobroker/backups/tmpScripts" backitup.0 2022-02-26 16:30:37.018 debug [iobroker/zigbee] done backitup.0 2022-02-26 16:30:37.017 debug [iobroker/zigbee] found zigbee database: zigbee.0 backitup.0 2022-02-26 16:30:36.860 debug [iobroker/historyDB] done backitup.0 2022-02-26 16:30:36.835 debug [iobroker/historyDB] Backup created: /opt/iobroker/backups/historyDB_2022_02_26-16_29_57_backupiobroker.tar.gz backitup.0 2022-02-26 16:30:27.648 debug [iobroker/historyDB] Packed 35MB so far... backitup.0 2022-02-26 16:30:17.655 debug [iobroker/historyDB] Packed 22MB so far... backitup.0 2022-02-26 16:30:07.642 debug [iobroker/historyDB] Packed 10MB so far... backitup.0 2022-02-26 16:29:57.638 debug [iobroker/historyDB] compress from historyDB started ... backitup.0 2022-02-26 16:29:56.884 debug [iobroker/iobroker] done backitup.0 2022-02-26 16:29:55.792 debug [iobroker/iobroker] Backup created: /opt/iobroker/backups/iobroker_2022_02_26-16_29_43_backupiobroker.tar.gz backitup.0 2022-02-26 16:29:49.026 debug [iobroker/iobroker] host.iobroker 18601 objects saved backitup.0 2022-02-26 16:29:47.846 debug [iobroker/iobroker] host.iobroker 16532 states saved backitup.0 2022-02-26 16:29:43.602 debug Backup has started ... backitup.0 2022-02-26 16:29:39.353 debug telegram-instance: backitup.0 2022-02-26 16:28:46.671 debug No backup file was found backitup.0 2022-02-26 16:28:44.669 error Error: connect EHOSTUNREACH 192.168.2.20:21 backitup.0 2022-02-26 16:28:41.504 info [ccu] backup was activated at 01:30 every 3 day(s) backitup.0 2022-02-26 16:28:41.449 info [iobroker] backup was activated at 02:00 every 1 day(s) backitup.0 2022-02-26 16:28:41.413 debug Backitup has recognized a linux system backitup.0 2022-02-26 16:28:41.378 info starting. Version 2.3.4 in /opt/iobroker/node_modules/iobroker.backitup, node: v14.19.0, js-controller: 4.0.15 backitup.0 2022-02-26 16:28:40.712 debug Plugin sentry Initialize Plugin (enabled=true) backitup.0 2022-02-26 16:28:40.431 debug States connected to redis: 0.0.0.0:9000 backitup.0 2022-02-26 16:28:40.342 debug States create User PubSub Client backitup.0 2022-02-26 16:28:40.341 debug States create System PubSub Client backitup.0 2022-02-26 16:28:40.289 debug Redis States: Use Redis connection: 0.0.0.0:9000 backitup.0 2022-02-26 16:28:40.235 debug Objects connected to redis: 0.0.0.0:9001 backitup.0 2022-02-26 16:28:40.226 debug Objects client initialize lua scripts backitup.0 2022-02-26 16:28:40.094 debug Objects create User PubSub Client backitup.0 2022-02-26 16:28:40.093 debug Objects create System PubSub Client backitup.0 2022-02-26 16:28:40.090 debug Objects client ready ... initialize now backitup.0 2022-02-26 16:28:40.002 debug Redis Objects: Use Redis connection: 0.0.0.0:9001 backitup.0 2022-02-26 16:27:29.638 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason backitup.0 2022-02-26 16:27:29.638 debug Plugin sentry destroyed backitup.0 2022-02-26 16:27:29.637 info terminating backitup.0 2022-02-26 16:27:29.636 info cleaned everything up... backitup.0 2022-02-26 16:27:29.635 info Got terminate signal TERMINATE_YOURSELF
-
@simatec sagte in Test Adapter Backitup v2.3.x:
- (simatec) Redis Remote Backup for Docker added
Habe ich mir gerade angesehen. Da kann man nur einen Pfad konfigurieren.
Zitat aus Doku:
"Ab Backitup Version 2.3.x ist es möglich ein Remote Backup für Redis zu erstellen. Hier müsst ihr euren Host und Port des entfernten Redis Servers angeben und die Login Daten eures Systems."Bei mir ist da nichts, was ich konfigurieren könnte. Was mache ich falsch?
-
@ofbeqnpolkkl6mby5e13
Welche Dockerversion ist installiert? Backitup unterstützt die offizielle iobroker Dockerversion ab 5.2Bildschirmfoto 2022-02-26 um 21.26.22.png
-
-
@ofbeqnpolkkl6mby5e13 Wie hast du installiert über Github oder latest?
Mach mal nochmal ein Upload -
latest. Okay, probiere ich.
-
Hat leider nichts gebracht.
# iobroker upload backitup upload [10] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/adapter-settings.js adapter-settings.js application/javascript upload [9] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png upload [8] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.svg backitup.svg image/svg+xml upload [7] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html upload [6] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html upload [5] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.js index_m.js application/javascript upload [4] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/style.css style.css text/css upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.css tab_m.css text/css upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.html tab_m.html text/html upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.js tab_m.js application/javascript upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript # iobroker start backitup.0 The adapter "backitup.0" was started. #
-
@ofbeqnpolkkl6mby5e13 Hab es versucht mal nachzustellen. Da gibt es anscheind noch einen kleine GUI Bug.
Mache mal folgendes.
Öffne die Config ... Wenn Redis aktiviert ist, dann sollte der Speicher Button aktiv sein.
Speichere mal und öffne die Config im Anschluss erneut.
Dann sollte das richtige redis Menü da sein.
Werde die GUI in der nächsten Version fixen -
Perfekt!
-
Jetzt nicht wahnsinnig werden, aber da kann man ja nur einen Redis konfigurieren. Bei mir laufen aber für States und Objects separate Redis-Server...
-
@ofbeqnpolkkl6mby5e13 Dann brauchst du ne zweite Instanz, die Du als Slave konfigurierst und die Backitup.0 als Master.
Backitup.1 als Slave und dort das Redis Backup für den zweiten Server aktivieren.
Die Instanz backitup.1 wird dann nur für das backup gestartet und im Anschluss wieder gestoppt -
Vielen Dank! Das werde ich probieren.
Mal eine andere Frage:
Wie funktioniert die ursprüngliche Backup Variante genau?
Wenn ich meine zwei Ordner für die dump.rdb von States und Objects jeweils nach /var/lib/redis/states und /var/lib/redis/objects im iobroker-Container mounte und als Pfad fürs Backup /var/lib/redis angebe, wird dann rekursiv alles unter /var/lib/redis gebackupt? -
@ofbeqnpolkkl6mby5e13 Wird so nicht funktionieren, da für docker kein lokales Backup erstellt wird.
Hier wird direkt mit redis-cli gearbeitet -
Ach so, danke für die Auskunft!
Wäre vielleicht noch eine Backup-Variante, dass man beliebige Ordner angeben kann. Backitup packt einfach alles in ein tar.gz.
-
@ofbeqnpolkkl6mby5e13 Kannst du mit dem History Backup so machen
-
Okay.
Hätte ich redis-cli vorher installieren müssen?
[DEBUG] [redis] - Start Redis Backup ... [DEBUG] [redis] - Created redistmp directory [ERROR] [redis] - Error: Command failed: redis-cli -u 'redis://:@192.168.0.205:6379' --rdb /opt/iobroker/backups/redistmp/dump.rdb /bin/sh: 1: redis-cli: not found
-
@ofbeqnpolkkl6mby5e13 ja redis-cli wird benötigt
-
Alles klar!
-
@ofbeqnpolkkl6mby5e13 Sorry hab ich in der Doku vergessen ...
-
Packt @andre das zukünftig mit in den Container?
[DEBUG] [redis] - Start Redis Backup ... [DEBUG] [redis] - Try deleting the old redis tmp directory: "/opt/iobroker/backups/redistmp" [DEBUG] [redis] - old redis tmp directory "/opt/iobroker/backups/redistmp" successfully deleted [DEBUG] [redis] - Created new redistmp directory [DEBUG] [redis] - Packed 18MB so far... [DEBUG] [redis] - Packed 64MB so far... [DEBUG] [redis] - Backup created: /opt/iobroker/backups/redis-remote_2022_02_26-22_22_45_backupiobroker.tar.gz [DEBUG] [redis] - Try deleting the redis tmp directory: "/opt/iobroker/backups/redistmp" [DEBUG] [redis] - redis tmp directory "/opt/iobroker/backups/redistmp" successfully deleted [DEBUG] [redis] - done