NEWS
SOLVED Wir helfen Altersrentner
-
Danke! Dann werde ich das versuchen.
Nur ich habe jetzt auf dem PI4 schon etliche neue Blockly Skripte erstellt.
Wie kann ich die sichern und hinterher wieder einspielen?
Gruß Michael -
Entschuldige, das hatte ich übersehen.
-
@Altersrentner
hier :
Dann noch eine Erklärung zu den Backups von Backitup.
Das komplett Backup sichert wie der Name schon sagt komplett alles und stellt es genau so wieder her. Kann man verwenden, wenn man das Backup auf dem System wieder herstellen möchte auf dem man es auch erstellt hat und nur da.
Das Standard Backup (minimal Backup) Sichert alle Einstellungen, Scripte und die Liste der installierten Adapter. Das ist der große Unterschied, denn beim Wiederherstellen werden alle Adapter neu installiert und somit auch mit der Node Version kompiliert, die sich auf dem neuen System befindet. Das erspart dann das NPM rebuild und wurde extra gemacht um schnell und sehr einfach von einem System auf ein anderes zu wechseln.Wurde im Video bestimmt nicht erwähnt
-
Danke für Deine Erklärung.
Ich mache jetzt von dem PI3 ein MinimalB.
Kann das dann über die jetzige PI4 Installation geschoben werden?
Oder muss die vorher entfernt werden, so das nur ein img.
Plus Grundinstallation vom ioBroker vorhanden ist.
Gruß Michael -
@Altersrentner
eigentlich habe ich ja schon geschrieben wie es geht, aber Dein Nick nach zu urteilen mach ich das gerne noch malAm besten Du löschst nach dem Du die Scripte auf dem PI4 gesichert hast einfach den IOBroker Ordner, so ist auf alle Fälle mal nichts mehr von der fehlerhaften Installation vorhanden.
Nun schaust zur Sicherheit mal was bei diesen Befehlen in der Konsole angezeigt wird:node -v nodejs -v npm -v
Sollte Node mindestens 8, beide gleich und bei NPM 6 stehen. Node 12 geht auch wäre aber zu früh dafür.
Wenn das passt, einfach IOBroker nach Anleitung installieren und im Anschluss den Backitup Adapter. Nun kommt es darauf an, wie und wo Du vorher Dein Backup gesichert hast. Wenn auf einem NAS, kannst die gesicherten Backitup Konfiguration wieder im Adapter herstellen, oder du packst einfach das Backup in den Backups Ordner unter IOBroker und wählst im Adapter unter wiederherstellen "Lokal" aus. So sollte er genau das Backup anzeigen und da klickst drauf.
Das ganze dauert je nach dem schon recht lange, weil eben alle Adapter frisch runter geladen und installiert werden. In der Regel klappt das beim ersten Versuch und man muss sonst nichts machen. Wenn's mal nicht hinhaut, dann einfach wiederholen. -
Du kannst auf dem pi4 die folgenden Aktionen durchführen:
- minimal backup machen
- alle Adapter im iobroker entfernen (außer Admin)
- minimal backup wieder einspielen.
Damit müsste es gehen. Wenn nicht, dann bist du am besten beraten den pi4 neu aufzusetzen und dann das minimal backup einzuspielen.
A.
-
@Asgothian
neu aufsetzen ist normal nicht nötig, da alles was zum IOBroker gehört, auch in dem Ordner IOBroker liegt und wenn der gelöscht ist, sollte es das gewesen sein. Ansonsten kann man das auch so machen. -
Ich bedanke mich.
Auf gehts!!
Gruß Michael -
Ich bin am Boden zerstört!!
Versuche seit zwei Stunden ein MinimalB. auf die NAS zu spielen.
Es startet, aber es wird kein Backup geschrieben. Der backitup.0 Adapter
ist grün und die Sicherungspfade sind ok. Netzwerk zur NAS ist auch ok.
Woran kann das liegen. -
@Altersrentner
mach mal ein Screenshot von Deinem Pfad zum NAS, wärst nicht der Erste der das falsch versteht. -
Ist das ok? -
@Altersrentner
So, bei mir hat es nur mit dem Host Name und nicht mit der IP funktioniert. Dann "homes" der Freigabe Name Deines NAS? -
Ich habe keinen Host Namen.
Das sind die Backups des PI3 bis zur Abschaltung.
-
@Altersrentner
aber "homes" ist der Freigabe Name?So steht es in der Doku:
CIFS:CIFS-Mount ist unter Linux kein Problem. Es sollte beachtet werden, dass cifs-utils installiert ist Die Pfadangabe sollte wie folgt aussehen (Bsp: "/Freigabename/Pfadangabe")
Poste doch mal das Log von Backitup, da müssten Fehler drin sein, wenn es nicht klappt.
-
host.raspberrypi 2019-10-18 19:37:52.057 info instance system.adapter.zigbee.0 started with pid 21239 backitup.0 2019-10-18 18:37:37.730 info [total] backup was activated at 03:00 every 2 day(s) backitup.0 2019-10-18 18:37:37.725 info [ccu] backup was activated at 01:30 every 3 day(s) backitup.0 2019-10-18 18:37:37.708 info [minimal] backup was activated at 02:00 every 1 day(s) backitup.0 2019-10-18 18:37:37.655 info starting. Version 1.2.0 in /opt/iobroker/node_modules/iobroker.backitup, node: v10.16.3 host.raspberrypi 2019-10-18 18:37:35.395 info instance system.adapter.backitup.0 started with pid 21178 host.raspberrypi 2019-10-18 18:37:35.358 info object change system.adapter.backitup.0
Meinst Du das?
-
@Altersrentner
nein das was beim klicken "jetzt sichern" im Adapter Popup kommt. -
Gestartet... [DEBUG] [mount] start with {"mountType":"CIFS","type":"storage","source":"cifs","mount":"192.168.178.35","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":true,"ownDir":true,"bkpType":"Minimal","dir":"/homes/Backup/iobroker/minimalPi4","dirMinimal":"/homes/Backup/iobroker/minimalPi4","dirTotal":"/homes/Backup/iobroker/komplettPi4","user":"Backup","pass":"****"} [ERROR] [mount] - [undefined mount: only root can use "--options" option [ERROR] [mount] - [IGNORED] Error: Command failed: mount -t cifs -o username=Backup,password=BM060350Coir,rw,file_mode=0777,dir_mode=0777 //192.168.178.35/homes/Backup/iobroker/minimalPi4 /opt/iobroker/backups mount: only root can use "--options" option [DEBUG] [minimal] start with {"type":"creator","time":"02:00","debugging":true,"everyXDays":"1","deleteBackupAfter":0,"mysqlEnabled":true,"redisEnabled":false,"zigbeeEnabled":false,"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.178.35","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":true,"ownDir":true,"bkpType":"Minimal","dir":"/homes/Backup/iobroker/minimalPi4","dirMinimal":"/homes/Backup/iobroker/minimalPi4","dirTotal":"/homes/Backup/iobroker/komplettPi4","user":"Backup","pass":"****","context":{"fileNames":[],"errors":{"mount":{"killed":false,"code":1,"signal":null,"cmd":"mount -t cifs -o username=Backup,password=BM060350Coir,rw,file_mode=0777,dir_mode=0777 //192.168.178.35/homes/Backup/iobroker/minimalPi4 /opt/iobroker/backups"}},"done":[],"types":[]},"adapter":null},"dir":"/opt/iobroker","redis":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"cifs","host":"","deleteOldBackup":false,"ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","dirTotal":"/backupDir/total","user":"","pass":"","port":"21"},"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"cifs","mount":"192.168.178.35","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":true,"ownDir":true,"bkpType":"Minimal","dir":"/homes/Backup/iobroker/minimalPi4","dirMinimal":"/homes/Backup/iobroker/minimalPi4","dirTotal":"/homes/Backup/iobroker/komplettPi4","user":"Backup","pass":"BM060350Coir"},"dropbox":{"enabled":false,"type":"storage","source":"cifs","deleteOldBackup":false,"accessToken":"","ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","dirTotal":"/backupDir/total"},"googledrive":{"enabled":false,"type":"storage","source":"cifs","deleteOldBackup":false,"accessJson":"","ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","dirTotal":"/backupDir/total"},"path":"/var/lib/redis"},"zigbee":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"cifs","host":"","deleteOldBackup":false,"ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","dirTotal":"/backupDir/total","user":"","pass":"","port":"21"},"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"cifs","mount":"192.168.178.35","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":true,"ownDir":true,"bkpType":"Minimal","dir":"/homes/Backup/iobroker/minimalPi4","dirMinimal":"/homes/Backup/iobroker/minimalPi4","dirTotal":"/homes/Backup/iobroker/komplettPi4","user":"Backup","pass":"BM060350Coir"},"dropbox":{"enabled":false,"type":"storage","source":"cifs","deleteOldBackup":false,"accessToken":"","ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","dirTotal":"/backupDir/total"},"googledrive":{"enabled":false,"type":"storage","source":"cifs","deleteOldBackup":false,"accessJson":"","ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","dirTotal":"/backupDir/total"},"path":"/opt/iobroker/iobroker-data"},"history":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"email":{"enabled":false,"notificationsType":"Pushover","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"xxx@xxx.com","emailSender":"xxx@xxx.com","onlyError":false,"stopIoB":false,"emailWaiting":0,"systemLang":"de"},"pushover":{"enabled":false,"notificationsType":"Pushover","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"systemLang":"de"},"backupDir":"/opt/iobroker/backups"} [DEBUG] [minimal] - Backup created: /opt/iobroker/backups/minimal_2019_10_18-18_43_04_backupiobroker.tar.gz [DEBUG] [minimal] - done [DEBUG] [cifs] start with {"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.178.35","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":true,"ownDir":true,"bkpType":"Minimal","dir":"/homes/Backup/iobroker/minimalPi4","dirMinimal":"/homes/Backup/iobroker/minimalPi4","dirTotal":"/homes/Backup/iobroker/komplettPi4","user":"Backup","pass":"****","backupDir":"/opt/iobroker/backups","deleteBackupAfter":0} [DEBUG] [cifs] - done [DEBUG] [clean] start with {"deleteBackupAfter":0} [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors. [DEBUG] [clean] - done [DEBUG] [history] start with {"type":"creator","time":"02:00","debugging":true,"everyXDays":"1","deleteBackupAfter":0,"mysqlEnabled":true,"redisEnabled":false,"zigbeeEnabled":false,"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.178.35","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":true,"ownDir":true,"bkpType":"Minimal","dir":"/homes/Backup/iobroker/minimalPi4","dirMinimal":"/homes/Backup/iobroker/minimalPi4","dirTotal":"/homes/Backup/iobroker/komplettPi4","user":"Backup","pass":"****","context":{"fileNames":["/opt/iobroker/backups/minimal_2019_10_18-18_43_04_backupiobroker.tar.gz"],"errors":{"mount":{"killed":false,"code":1,"signal":null,"cmd":"mount -t cifs -o username=Backup,password=BM060350Coir,rw,file_mode=0777,dir_mode=0777 //192.168.178.35/homes/Backup/iobroker/minimalPi4 /opt/iobroker/backups"}},"done":["minimal"],"types":["minimal"]},"adapter":null},"dir":"/opt/iobroker","redis":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"cifs","host":"","deleteOldBackup":false,"ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","dirTotal":"/backupDir/total","user":"","pass":"","port":"21"},"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"cifs","mount":"192.168.178.35","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":true,"ownDir":true,"bkpType":"Minimal","dir":"/homes/Backup/iobroker/minimalPi4","dirMinimal":"/homes/Backup/iobroker/minimalPi4","dirTotal":"/homes/Backup/iobroker/komplettPi4","user":"Backup","pass":"BM060350Coir"},"dropbox":{"enabled":false,"type":"storage","source":"cifs","deleteOldBackup":false,"accessToken":"","ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","dirTotal":"/backupDir/total"},"googledrive":{"enabled":false,"type":"storage","source":"cifs","deleteOldBackup":false,"accessJson":"","ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","dirTotal":"/backupDir/total"},"path":"/var/lib/redis"},"zigbee":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"cifs","host":"","deleteOldBackup":false,"ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","dirTotal":"/backupDir/total","user":"","pass":"","port":"21"},"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"cifs","mount":"192.168.178.35","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":true,"ownDir":true,"bkpType":"Minimal","dir":"/homes/Backup/iobroker/minimalPi4","dirMinimal":"/homes/Backup/iobroker/minimalPi4","dirTotal":"/homes/Backup/iobroker/komplettPi4","user":"Backup","pass":"BM060350Coir"},"dropbox":{"enabled":false,"type":"storage","source":"cifs","deleteOldBackup":false,"accessToken":"","ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","dirTotal":"/backupDir/total"},"googledrive":{"enabled":false,"type":"storage","source":"cifs","deleteOldBackup":false,"accessJson":"","ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","dirTotal":"/backupDir/total"},"path":"/opt/iobroker/iobroker-data"},"history":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de","time":"18. Oktober 2019 um 18:43 Uhr"},"email":{"enabled":false,"notificationsType":"Pushover","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"xxx@xxx.com","emailSender":"xxx@xxx.com","onlyError":false,"stopIoB":false,"emailWaiting":0,"systemLang":"de"},"pushover":{"enabled":false,"notificationsType":"Pushover","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"systemLang":"de"},"backupDir":"/opt/iobroker/backups"} [DEBUG] [history] - backitup.0.history.html [DEBUG] [umount] start with {"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.178.35","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":true,"ownDir":true,"bkpType":"Minimal","dir":"/homes/Backup/iobroker/minimalPi4","dirMinimal":"/homes/Backup/iobroker/minimalPi4","dirTotal":"/homes/Backup/iobroker/komplettPi4","user":"Backup","pass":"****","backupDir":"/opt/iobroker/backups"}
Das erscheint immer.
-
Hast du eine Synology ???
-
ja DS215
-
@Glasfaser
Nein, nur ne Fritz, aber im Log steht doch auch schon wo es hängt "mount: only root can use "--options" option".
" -
Das Backup ist doch auf einer Synology und er will doch dort zugreifen !?