NEWS
Test Adapter ioBroker.backitup v3.0.x
-
@simatec
Auch über der Konsole habe ich 0kb.
Nur einen Log kann ich nicht bieten. Habe es über dem Smartphone gemacht. -
@MathiasJ
Gut dann liegt dein Problem definitiv nicht an backitup sondern an deinem System
Prüfe die Rechte von /opt/iobroker/backups mal als erstes ... -
Ich haue mal wieder eine Frage raus, weil dazu in der Doku auf GitHub nichts zu finden ist.
ZiggBee Datenbank - bezieht sich das nur auf den Adapter ZiggBee oder wird auch was von deConz (ist ja auch ZiggBee) gesichert?
-
@JB_Sullivan
Es bezieht sich auf die Gerätedatenbank des zigbee Adapters
Unter deconz ist das nicht nötig. -
@simatec
Mache ich dann morgen.
Wie kann das sein, dass das System von jetzt auf gleich so verhunzt ist?
Gehe ich richtig in der Annahme, dass es 777 sein muss bei /opt/iobroker/backups?Rootrechte= chmod 777
Ich kann weder mit dem user, noch mit root ein Backup erstellen.
ich habe den Fix nochmal drüber laufen lassen, jedoch ohne Erfolg.
ich bekomme jedesmal 0 kb. -
@MathiasJ
Am besten mit folgenden Befehlen ...sudo chmod 777 /opt/iobroker/backups/ sudo chmod 777 /opt/iobroker/backups sudo chmod 777 /opt/iobroker/backups/*
Damit bist du ganz sicher ...
-
root@ioBroker-RasPi4:~# chmod 777 /opt/iobroker/backups/* chmod: Zugriff auf '/opt/iobroker/backups/*' nicht möglich: Datei oder Verzeichnis nicht gefunden
Ich werde nach der Arbeit Backitup komplett deinstallieren, den Ordner /opt/iobroker/backups löschen,
Backitup wieder installieren. Dann müsste der Odner neu angelegt werden.Gruß,
Mathias -
wieder wurde das automatische Backup nicht entsprechend der Vorgabe erstellt. alles doppelt und IOBroker fehlt:
im Log wieder die bekannten compact mode Errors:
2019-12-18 02:00:38.043 - [31merror[39m: backitup.0 (COMPACT) TypeError: Cannot read property 'split' of undefined at options.adapter.getState (/opt/iobroker/node_modules/iobroker.backitup/lib/scripts/92-history.js:24:40) at Adapter.getState (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5407:29) at Object.command (/opt/iobroker/node_modules/iobroker.backitup/lib/scripts/92-history.js:10:25) at Immediate.executeScripts (/opt/iobroker/node_modules/iobroker.backitup/lib/execute.js:216:22) at runCallback (timers.js:706:11) at tryOnImmediate (timers.js:676:5)
und auch wieder beim manuellen Start des Backup alles OK.
Warum geht das automatisch nicht? -
@MathiasJ said in Test Adapter Backitup v1.3.x:
Backitup wieder installieren. Dann müsste der Odner neu angelegt werden.
Der Ordner wird nicht von BackitUp angelegt, sondern von ioBroker.
-
@Einstein67
Das ist so nicht korrekt.
Backitup legt den Ordner beim ersten Start an -
@Jan1
Das ist aber eine andere Fehlermeldung.
Entstanden ist die durch den Compact Modus und wird ebenfalls gefixt. -
@simatec
Ich habe eben mal Node 10.18 hoch und den Backitup Adapter neu installiert. Mal sehen ob er heute Nacht das Backup korrekt ausführt.
Was ich aber nicht verstehe, wo ist der Unterschied zwischen automatisch und manuellem Start? -
@Jan1 sagte in Test Adapter Backitup v1.3.x:
automatisch
Ich denke das es eher mit dem Compact Mode zu tun hat.
Die State, welche den error verursachen kommen ab und an im Compact zu spät.Aber da ist es halt so, wie in der Doku geschrieben steht, dass der Compact Modus auch die Funktionen instabiler machen kann.
Ich rate grundsätzlich nur zu einem Compact Modus, wenn dass System absolut zu klein ist.
Und wichtige Adapter wie dieser hier zur Datensicherung würde ich aus dem Compact Modus rausnehmen.Ich probiere die neue Fehlermeldung zu lösen, aber grundsätzlich würde ich die stabile Variante ohne Compact Modus vorziehen.
-
@simatec
Ok, ich nehme in raus, da auf meinem Beelink eh genug Platz vorhanden ist. -
@MathiasJ sagte in Test Adapter Backitup v1.3.x:
root@ioBroker-RasPi4:~# chmod 777 /opt/iobroker/backups/* chmod: Zugriff auf '/opt/iobroker/backups/*' nicht möglich: Datei oder Verzeichnis nicht gefunden
Ich werde nach der Arbeit Backitup komplett deinstallieren, den Ordner /opt/iobroker/backups löschen,
Backitup wieder installieren. Dann müsste der Odner neu angelegt werden.Gruß,
MathiasWenn die beiden anderen Befehlen keinen Fehler ausgeworfen haben, dann hat der Backup Ordner lediglich keinen Inhalt
-
Ab sofort ist die Version 1.3.6 im Github und ab spätestens heute Nacht auch in der latest Repo.
Changelog
1.3.6 (18.12.2019)
- (simatec) Fix historyList for compact-mode
- (simatec) Added ack for history states
-
@simatec
Dann müsste es eigentlich passen....... eigentlich, aber 0 kb -
@MathiasJ
Dann hast du ein anderes Problem.
Hast eventuell mal ein node Update gemacht und danach keinen sauberen rebuild deiner Iobroker Installation?Wie gesagt backitup kann hier definitiv ausgeschlossen werden, da der Konsolenbefehl auch nicht läuft.
Dein Problem sitzt bei dir tiefer
-
@simatec
Auf deine Antwort bin ich jetzt gespannt........
IObroker neu aufgesetzt (Download von dieser Webseite)
Backitup 1.3.6 installiert,
Backup auf der NAS 0 kb
Backup in der Konsole war i.O.
Zurück zur 1.3.2
Backup auf der NAS 0 kb
Backup in der Konsole ausgeführt 0 kb.
Soll das jetzt heißen, dass der Download auf dieser Seite nichts taugt?
Ich wollte lediglich die nackte IObroker-Installation sichern......
Ach ja, bevor ich es vergesse:
ein Backup in der Konsole hat funktioniert, als Backitup noch nicht downgegraded wurde.Edit:
nach dem Downgrade von Backitup hilft nur ein Neustart von IObroker, sonst 0 kb.
Man hätte auch darauf hinweisen können, dass auf der NAS nur noch SMB3 geht...... -
@simatec Habe die V1.3.6 am laufen, ein Backup erstellt er auch brav, leider bringt er mir ein "error: 21. Dezember 2019 um 10:21 Uhr" im backitup.1.history.iobrokerLastTime und ein false in backitup.1.history.iobrokerSuccess.
Kann mir das nicht erklären... kannst du helfen ?
Das steht im LOG:
backitup.1 2019-12-21 10:29:23.074 debug (7199) [iobroker] exec: done backitup.1 2019-12-21 10:29:23.073 debug (7199) [iobroker/history] backitup.1.history.html backitup.1 2019-12-21 10:29:23.025 debug (7199) [iobroker/clean] done backitup.1 2019-12-21 10:29:23.024 debug (7199) [iobroker/iobroker] done backitup.1 2019-12-21 10:29:22.012 debug (7199) [iobroker/iobroker] Backup created: /opt/iobroker/backups/iobroker_2019_12_21-10_29_12_NUC6_Backupit.1_backupiobroker.tar.gz backitup.1 2019-12-21 10:29:14.546 debug (7199) [iobroker/iobroker] host.nuc6 11205 objects saved backitup.1 2019-12-21 10:29:14.526 debug (7199) [iobroker/iobroker] host.nuc6 10906 states saved backitup.1 2019-12-21 10:29:04.979 debug (7199) [iobroker] 10 00 02 */1 * * backitup.1 2019-12-21 10:29:04.965 info (7199) [iobroker] backup was activated at 02:00 every 1 day(s) backitup.1 2019-12-21 10:29:04.940 info (7199) starting. Version 1.3.6 in /opt/iobroker/node_modules/iobroker.backitup, node: v10.18.0 backitup.1 2019-12-21 10:29:03.799 debug (7199) States connected to redis: 127.0.0.1:9000 backitup.1 2019-12-21 10:29:03.749 debug (7199) statesDB connected backitup.1 2019-12-21 10:29:03.749 debug (7199) States create PubSub Client backitup.1 2019-12-21 10:29:03.744 debug (7199) Objects connected to redis: 127.0.0.1:9001 backitup.1 2019-12-21 10:29:03.743 debug (7199) Redis States: Use Redis connection: 127.0.0.1:9000 backitup.1 2019-12-21 10:29:03.741 debug (7199) objectDB connected backitup.1 2019-12-21 10:29:03.734 debug (7199) Objects client initialize lua scripts backitup.1 2019-12-21 10:29:03.733 debug (7199) Objects create PubSub Client backitup.1 2019-12-21 10:29:03.732 debug (7199) Objects client ready ... initialize now backitup.1 2019-12-21 10:29:03.714 debug (7199) Redis Objects: Use Redis connection: 127.0.0.1:9001 backitup.1 2019-12-21 10:29:00.471 info (5953) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason backitup.1 2019-12-21 10:29:00.469 info (5953) terminating backitup.1 2019-12-21 10:28:59.967 info (5953) Got terminate signal TERMINATE_YOURSELF backitup.1 2019-12-21 10:28:55.362 info (5953) [iobroker] backup was activated at 02:00 every 1 day(s) backitup.1 2019-12-21 10:28:55.331 info (5953) starting. Version 1.3.6 in /opt/iobroker/node_modules/iobroker.backitup, node: v10.18.0
und das in der Backupit Anzeige während dem Ausführen:
Gestartet... [DEBUG] [iobroker] start with {"type":"creator","time":"02:00","debugging":true,"everyXDays":"1","nameSuffix":"NUC6_Backupit.1","deleteBackupAfter":0,"dir":"/opt/iobroker","redis":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","user":"","pass":"****","port":"21"},"cifs":{"enabled":false,"mountType":"NFS","type":"storage","source":"local","mount":"","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":false,"deleteOldBackup":false,"ownDir":false,"dir":"sharename/backupDir","dirMinimal":"sharename/backupDir","user":"","pass":"****"},"dropbox":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessToken":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"googledrive":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessJson":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"path":"/var/lib/redis"},"historyDB":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","user":"","pass":"****","port":"21"},"cifs":{"enabled":false,"mountType":"NFS","type":"storage","source":"local","mount":"","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":false,"deleteOldBackup":false,"ownDir":false,"dir":"sharename/backupDir","dirMinimal":"sharename/backupDir","user":"","pass":"****"},"dropbox":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessToken":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"googledrive":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessJson":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"path":"media/usb/history"},"zigbee":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","user":"","pass":"****","port":"21"},"cifs":{"enabled":false,"mountType":"NFS","type":"storage","source":"local","mount":"","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":false,"deleteOldBackup":false,"ownDir":false,"dir":"sharename/backupDir","dirMinimal":"sharename/backupDir","user":"","pass":"****"},"dropbox":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessToken":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"googledrive":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessJson":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"path":"/opt/iobroker/iobroker-data"},"history":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"email":{"enabled":false,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"xxx@xxx.com","emailSender":"xxx@xxx.com","onlyError":false,"emailWaiting":0,"systemLang":"de"},"pushover":{"enabled":false,"notificationsType":"Telegram","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"systemLang":"de"},"backupDir":"/opt/iobroker/backups"} [DEBUG] [iobroker] - host.nuc6 10906 states saved [DEBUG] [iobroker] - host.nuc6 11205 objects saved [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2019_12_21-10_29_12_NUC6_Backupit.1_backupiobroker.tar.gz [DEBUG] [iobroker] - done [DEBUG] [clean] - done [DEBUG] [history] - backitup.1.history.html [EXIT] 0 [DEBUG] [history] start with {"type":"creator","time":"02:00","debugging":true,"everyXDays":"1","nameSuffix":"NUC6_Backupit.1","deleteBackupAfter":0,"dir":"/opt/iobroker","redis":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","user":"","pass":"****","port":"21"},"cifs":{"enabled":false,"mountType":"NFS","type":"storage","source":"local","mount":"","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":false,"deleteOldBackup":false,"ownDir":false,"dir":"sharename/backupDir","dirMinimal":"sharename/backupDir","user":"","pass":"****"},"dropbox":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessToken":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"googledrive":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessJson":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"path":"/var/lib/redis"},"historyDB":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","user":"","pass":"****","port":"21"},"cifs":{"enabled":false,"mountType":"NFS","type":"storage","source":"local","mount":"","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":false,"deleteOldBackup":false,"ownDir":false,"dir":"sharename/backupDir","dirMinimal":"sharename/backupDir","user":"","pass":"****"},"dropbox":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessToken":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"googledrive":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessJson":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"path":"media/usb/history"},"zigbee":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","user":"","pass":"****","port":"21"},"cifs":{"enabled":false,"mountType":"NFS","type":"storage","source":"local","mount":"","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":false,"deleteOldBackup":false,"ownDir":false,"dir":"sharename/backupDir","dirMinimal":"sharename/backupDir","user":"","pass":"****"},"dropbox":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessToken":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"googledrive":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessJson":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"path":"/opt/iobroker/iobroker-data"},"history":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de","time":"21. Dezember 2019 um 10:29 Uhr"},"email":{"enabled":false,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"xxx@xxx.com","emailSender":"xxx@xxx.com","onlyError":false,"emailWaiting":0,"systemLang":"de"},"pushover":{"enabled":false,"notificationsType":"Telegram","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"systemLang":"de"},"backupDir":"/opt/iobroker/backups"}