NEWS
Backup auf NAS - Probleme mit CIFS
-
@Mars sagte in Backup auf NAS - Probleme mit CIFS:
Der user auf der synology NAS heißt Backup.
ok!
Wie sehen den jetzt deine Konfig-Seiten aus? -
@Homoran ![Bild Text]( Bild Link)
![Bild Text]( Bild Link)
![Bild Text]( Bild Link)
![Bild Text]( Bild Link) -
@Mars
ich versuche mal zusammenzufassen:- Das Verzeichnis Backup/IObroker ist auf dem NAS angelegt und schreibt sich genau so?
- Der User Backup hat Lese und Schreibrechte im Verzeichnis Backup?
- Deine Domain heisst bestimmt nicht DS216j Bitte den Eintrag entfernen!
- Finde ich in dem Haufen die Haupteinstellungen nur nicht, oder hast du sie nicht gepostet?
Was für eine Fehlermeldung kommt dann, wenn du den Domainnamen leer lässt?
-
@Homoran ![Bild Text]( Bild Link)
Punkt eins und zwei Deiner Zusammenfassung kann ich bestätigen!
Hab den Eintrag DS216J in Domain entfernt. Folgender Code wird angezeigt.
[DEBUG] [mount] start with {"mountType":"CIFS","type":"storage","source":"local","mount":"//192.168.178.200","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":true,"cifsDomain":"","deleteOldBackup":true,"ownDir":false,"dir":"/Backup/IObroker","dirMinimal":"/homes/Backup/IOBroker/IOBroker_Backup","user":"Backup","pass":"****"} [DEBUG] [mount] - first mount attempt with smb option failed. try next mount attempt without smb option ... [ERROR] [mount] - [undefined Error: Command failed: sudo mount -t cifs -o username=Backup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.200/Backup/IObroker /opt/iobroker/backups sudo: setrlimit(RLIMIT_CORE): Operation not permitted mount error(1): Operation not permitted Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) [ERROR] [mount] - [IGNORED] Error: Command failed: sudo mount -t cifs -o username=Backup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.200/Backup/IObroker /opt/iobroker/backups sudo: setrlimit(RLIMIT_CORE): Operation not permitted mount error(1): Operation not permitted Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) [DEBUG] [iobroker] start with {"type":"creator","time":"02:00","debugging":true,"everyXDays":"1","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"local","mount":"//192.168.178.200","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":true,"cifsDomain":"","deleteOldBackup":true,"ownDir":false,"dir":"/Backup/IObroker","dirMinimal":"/homes/Backup/IOBroker/IOBroker_Backup","user":"Backup","pass":"****","context":{"fileNames":[],"errors":{"mount":"Error: Command failed: sudo mount -t cifs -o username=Backup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.200/Backup/IObroker /opt/iobroker/backups\nsudo: setrlimit(RLIMIT_CORE): Operation not permitted\nmount error(1): Operation not permitted\nRefer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)\n"},"done":[],"types":[]},"adapter":null},"dir":"/opt/iobroker","redis":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"192.168.178.200","debugging":true,"deleteOldBackup":true,"ownDir":false,"dir":"/home/Backup/IObroker","dirMinimal":"/backupDir/iobroker","user":"Backup","pass":"****","port":"21"},"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"local","mount":"192.168.178.200","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":true,"cifsDomain":"","deleteOldBackup":true,"ownDir":false,"dir":"/Backup/IObroker","dirMinimal":"/homes/Backup/IOBroker/IOBroker_Backup","user":"Backup","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":true,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"192.168.178.200","debugging":true,"deleteOldBackup":true,"ownDir":false,"dir":"/home/Backup/IObroker","dirMinimal":"/backupDir/iobroker","user":"Backup","pass":"****","port":"21"},"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"local","mount":"192.168.178.200","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":true,"cifsDomain":"","deleteOldBackup":true,"ownDir":false,"dir":"/Backup/IObroker","dirMinimal":"/homes/Backup/IOBroker/IOBroker_Backup","user":"Backup","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":"iobroker-data"},"zigbee":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"192.168.178.200","debugging":true,"deleteOldBackup":true,"ownDir":false,"dir":"/home/Backup/IObroker","dirMinimal":"/backupDir/iobroker","user":"Backup","pass":"****","port":"21"},"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"local","mount":"192.168.178.200","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":true,"cifsDomain":"","deleteOldBackup":true,"ownDir":false,"dir":"/Backup/IObroker","dirMinimal":"/homes/Backup/IOBroker/IOBroker_Backup","user":"Backup","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"},"telegram":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"telegram.0","SilentNotice":false,"NoticeType":"longTelegramNotice","User":"allTelegramUsers","onlyError":false,"telegramWaiting":0,"systemLang":"de"},"email":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"xxx@xxx.com","emailSender":"xxx@xxx.com","onlyError":false,"emailWaiting":0,"systemLang":"de"},"pushover":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"pushover.0","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"systemLang":"de"},"backupDir":"/opt/iobroker/backups"} [DEBUG] [iobroker] - host.iobroker 2273 states saved [DEBUG] [iobroker] - host.iobroker 2522 objects saved [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2020_06_06-19_26_19_backupiobroker.tar.gz [DEBUG] [iobroker] - done [ERROR] [historyDB] - [IGNORED] No source for compress! [DEBUG] [cifs] - done [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors. [DEBUG] [clean] - done [DEBUG] [telegram] - [iobroker] used Telegram-Instance: telegram.0 [DEBUG] [telegram] - done [DEBUG] [history] - backitup.0.history.html [DEBUG] [history] - backitup.0.history.json [EXIT] 0 [DEBUG] [cifs] start with {"mountType":"CIFS","type":"storage","source":"local","mount":"//192.168.178.200","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":true,"cifsDomain":"","deleteOldBackup":true,"ownDir":false,"dir":"/Backup/IObroker","dirMinimal":"/homes/Backup/IOBroker/IOBroker_Backup","user":"Backup","pass":"****","backupDir":"/opt/iobroker/backups","deleteBackupAfter":0} [DEBUG] [telegram] start with {"type":"creator","time":"02:00","debugging":true,"everyXDays":"1","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"local","mount":"//192.168.178.200","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":true,"cifsDomain":"","deleteOldBackup":true,"ownDir":false,"dir":"/Backup/IObroker","dirMinimal":"/homes/Backup/IOBroker/IOBroker_Backup","user":"Backup","pass":"****","context":{"fileNames":["/opt/iobroker/backups/iobroker_2020_06_06-19_26_19_backupiobroker.tar.gz","/opt/iobroker/backups/historyDB_2020_06_06-19_26_23_backupiobroker.tar.gz"],"errors":{"mount":"Error: Command failed: sudo mount -t cifs -o username=Backup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.200/Backup/IObroker /opt/iobroker/backups\nsudo: setrlimit(RLIMIT_CORE): Operation not permitted\nmount error(1): Operation not permitted\nRefer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)\n","historyDB":"No source for compress!"},"done":["iobroker"],"types":["iobroker"]},"adapter":null},"dir":"/opt/iobroker","redis":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"192.168.178.200","debugging":true,"deleteOldBackup":true,"ownDir":false,"dir":"/home/Backup/IObroker","dirMinimal":"/backupDir/iobroker","user":"Backup","pass":"****","port":"21"},"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"local","mount":"192.168.178.200","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":true,"cifsDomain":"","deleteOldBackup":true,"ownDir":false,"dir":"/Backup/IObroker","dirMinimal":"/homes/Backup/IOBroker/IOBroker_Backup","user":"Backup","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":true,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"192.168.178.200","debugging":true,"deleteOldBackup":true,"ownDir":false,"dir":"/home/Backup/IObroker","dirMinimal":"/backupDir/iobroker","user":"Backup","pass":"****","port":"21"},"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"local","mount":"192.168.178.200","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":true,"cifsDomain":"","deleteOldBackup":true,"ownDir":false,"dir":"/Backup/IObroker","dirMinimal":"/homes/Backup/IOBroker/IOBroker_Backup","user":"Backup","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":"iobroker-data"},"zigbee":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"192.168.178.200","debugging":true,"deleteOldBackup":true,"ownDir":false,"dir":"/home/Backup/IObroker","dirMinimal":"/backupDir/iobroker","user":"Backup","pass":"****","port":"21"},"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"local","mount":"192.168.178.200","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":true,"cifsDomain":"","deleteOldBackup":true,"ownDir":false,"dir":"/Backup/IObroker","dirMinimal":"/homes/Backup/IOBroker/IOBroker_Backup","user":"Backup","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"},"telegram":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"telegram.0","SilentNotice":false,"NoticeType":"longTelegramNotice","User":"allTelegramUsers","onlyError":false,"telegramWaiting":0,"systemLang":"de","time":"06. Juni 2020 um 19:26 Uhr"},"email":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"xxx@xxx.com","emailSender":"xxx@xxx.com","onlyError":false,"emailWaiting":0,"systemLang":"de"},"pushover":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"pushover.0","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"systemLang":"de"},"backupDir":"/opt/iobroker/backups"} [DEBUG] [history] start with {"type":"creator","time":"02:00","debugging":true,"everyXDays":"1","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"local","mount":"//192.168.178.200","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":true,"cifsDomain":"","deleteOldBackup":true,"ownDir":false,"dir":"/Backup/IObroker","dirMinimal":"/homes/Backup/IOBroker/IOBroker_Backup","user":"Backup","pass":"****","context":{"fileNames":["/opt/iobroker/backups/iobroker_2020_06_06-19_26_19_backupiobroker.tar.gz","/opt/iobroker/backups/historyDB_2020_06_06-19_26_23_backupiobroker.tar.gz"],"errors":{"mount":"Error: Command failed: sudo mount -t cifs -o username=Backup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.200/Backup/IObroker /opt/iobroker/backups\nsudo: setrlimit(RLIMIT_CORE): Operation not permitted\nmount error(1): Operation not permitted\nRefer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)\n","historyDB":"No source for compress!"},"done":["iobroker"],"types":["iobroker"]},"adapter":null},"dir":"/opt/iobroker","redis":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"192.168.178.200","debugging":true,"deleteOldBackup":true,"ownDir":false,"dir":"/home/Backup/IObroker","dirMinimal":"/backupDir/iobroker","user":"Backup","pass":"****","port":"21"},"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"local","mount":"192.168.178.200","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":true,"cifsDomain":"","deleteOldBackup":true,"ownDir":false,"dir":"/Backup/IObroker","dirMinimal":"/homes/Backup/IOBroker/IOBroker_Backup","user":"Backup","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":true,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"192.168.178.200","debugging":true,"deleteOldBackup":true,"ownDir":false,"dir":"/home/Backup/IObroker","dirMinimal":"/backupDir/iobroker","user":"Backup","pass":"****","port":"21"},"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"local","mount":"192.168.178.200","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":true,"cifsDomain":"","deleteOldBackup":true,"ownDir":false,"dir":"/Backup/IObroker","dirMinimal":"/homes/Backup/IOBroker/IOBroker_Backup","user":"Backup","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":"iobroker-data"},"zigbee":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"192.168.178.200","debugging":true,"deleteOldBackup":true,"ownDir":false,"dir":"/home/Backup/IObroker","dirMinimal":"/backupDir/iobroker","user":"Backup","pass":"****","port":"21"},"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"local","mount":"192.168.178.200","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":true,"cifsDomain":"","deleteOldBackup":true,"ownDir":false,"dir":"/Backup/IObroker","dirMinimal":"/homes/Backup/IOBroker/IOBroker_Backup","user":"Backup","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":"06. Juni 2020 um 19:26 Uhr"},"telegram":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"telegram.0","SilentNotice":false,"NoticeType":"longTelegramNotice","User":"allTelegramUsers","onlyError":false,"telegramWaiting":0,"systemLang":"de"},"email":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"xxx@xxx.com","emailSender":"xxx@xxx.com","onlyError":false,"emailWaiting":0,"systemLang":"de"},"pushover":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"pushover.0","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"systemLang":"de"},"backupDir":"/opt/iobroker/backups"} [DEBUG] [umount] start with {"mountType":"CIFS","type":"storage","source":"local","mount":"//192.168.178.200","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":true,"cifsDomain":"","deleteOldBackup":true,"ownDir":false,"dir":"/Backup/IObroker","dirMinimal":"/homes/Backup/IOBroker/IOBroker_Backup","user":"Backup","pass":"****","backupDir":"/opt/iobroker/backups"}
-
@Mars
Es fehlt immer noch der Freigabenamen am Anfang der Pfadangabe im Adapter und so lang nicht bekannt ist wie der heißt, wird der Rest auch nicht weiter helfen. -
@Jan1 ![Bild Text]( Bild Link)
Ist der Freigabename nicht der, der im Bild hinter Name steht? Also Backup?
-
Mal so 'ne ganz doofe Frage von mir:
Warum cifs/smb, wenn das Ding auch NFS spricht? -
@Mars mach mal den slash vor Backup weg, also nur
Backup/IObroker
-
@Thomas-Braun
Weil SMB laut Adapter Doku so wie ich es gelesen und verstanden habe (damals), die etwas besser Wahl wäre.@Mars
Genau das ist die Frage, ob dem so ist, oder ob das nur der Verzeichnisname ist.Ich missbrauche meine Fritz als NAS und da kann ich eben ein Freigabenamen wählen und der kommt dann einfach an den Anfang des Pfad und es mountet
-
@Jan1 sagte in Backup auf NAS - Probleme mit CIFS:
das ist die Frage, ob dem so ist, oder ob das nur der Verzeichnisname ist.
Ja, ist so!
Hab ich bei mir auch, aber ohne führendes /
Gerade nachgesehen.Das führende / verweist ja auf das Wurzelverzeichnis
-
@Homoran
Ok, ohne Slash müsste es dann ja laufen, wenn nicht hat der angelegte User nicht die nötigen Rechte. Der Slash hatte mich eben irritiert da so eben vom Aufbau der Pfadangabe was fehlen würde. -
@Homoran Das mit dem Slash habe ich auch schon probiert. Ändert leider wieder nichts.
@Jan1 Eine Fritznox könnte ich auch noch versuchen. Mache ich dann wenn wir hier nicht weiter kommen. Habe eben die Synology und habe da alles am laufen weswegen ich gerne dabei bleiben würde.Das mit dem Verzeichnisnamen weiß ich auch nicht sicher. Aber es steht nirgends etwas anderes und unter gemeinsame Ordner ist der Freigegebene Order mit dem Name "Backup" aufgelistet.
Viell. kennt sich einer ja besser aus mit Synology? -
@Jan1 sagte in Backup auf NAS - Probleme mit CIFS:
Weil SMB laut Adapter Doku so wie ich es gelesen und verstanden habe (damals), die etwas besser Wahl wäre.
Aber beide Systeme basieren doch offenbar auf Linux. Da nehme ich doch nicht den Umweg über das nicht so gut implementierte SMB/CIFS aus der Windows-Welt?
-
@Thomas-Braun ja stimmt schon nur geht NFS auch nicht.
-
@Thomas-Braun
Schau was in der Doku des Adapter dazu steht. An die hab ich mich gehalten und mir kam SMB besser vor, wobei bei mir das auch ohne Probleme läuft und das auf SMB3. -
@Jan1 Da sehe ich, das weder das eine noch das andere ein Problem ist, allerdings bei CIFS noch weitere Dinge beachtet werden müssen. Meintest du das?
-
@Thomas-Braun
Ich bin am Handy und kann gerade nicht nach schauen. Da gibts ein Vergleich der Methoden und für mich hat sich CIFS einfach besser angehört. Zu beachten ist da auch nicht viel. Pfad mit führenden Freigabenamen und User mit passenden Rechten, Haken bei mount als Root und fertig. Backup samt Mount ist in 30 Sekunden auf der Fritz. -
@Jan1 Ich habe es gerade auf der Fritz Box versucht. Ging auch nicht. Nutzer in der Fritz Box hat lese und schreib Rechte!
Es liegt bestimmt an irgendwelchen Sudo Rechten!?
Er sagt ja auch immer im Log vom Iobroker:mount error(1): Operation not permitted
-
@Jan1 Hallo Nochmal, habe jetzt nochmal versucht alle Einstellungen zu tätigen und habe mal screenshots gemacht hoff. von allem wichtigen. Ich habe das ganze jetzt auf der Fritzbox versucht weil es da glaub mehr Nutzer gibt die das umsetzen und das Problem evtl. erkennen. An der Fritzbox hängt ein USB Stick mit dem Namen BACKITUP.
Hier mal alle Einstellungen:
root rechte bekomme ich.
Die FritzBox heißt fritzbox.
Nutzer "iobroker" angelegt und Verzeichnis hinzugefügt.
Verzeichnis in fritzNAS
Adapter einstellungen.Würde mich freuen wenn ich nochmal Support von euch bekommen würde.
update und upgrade habe ich nochmal gemacht auch cifs nochmal installiert!
Fehler der ausgegeben wird:
Gestartet... [DEBUG] [mount] - first mount attempt with smb option failed. try next mount attempt without smb option ... [ERROR] [mount] - [undefined Error: Command failed: sudo mount -t cifs -o username=iobroker,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.1/fritzbox/fritz.nas/BACKITUP/iobroker /opt/iobroker/backups sudo: setrlimit(RLIMIT_CORE): Operation not permitted mount error(1): Operation not permitted Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) [ERROR] [mount] - [IGNORED] Error: Command failed: sudo mount -t cifs -o username=iobroker,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.1/fritzbox/fritz.nas/BACKITUP/iobroker /opt/iobroker/backups sudo: setrlimit(RLIMIT_CORE): Operation not permitted mount error(1): Operation not permitted Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) [DEBUG] [iobroker] - host.ioBrokerubulxc 2351 states saved [DEBUG] [iobroker] - host.ioBrokerubulxc 2477 objects saved [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2020_06_08-13_25_51_backupiobroker.tar.gz [DEBUG] [iobroker] - done [DEBUG] [cifs] - done [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors. [DEBUG] [clean] - done [DEBUG] [telegram] - done [DEBUG] [history] - backitup.0.history.html [DEBUG] [history] - backitup.0.history.json [EXIT] 0 [DEBUG] [mount] - first mount attempt with smb option failed. try next mount attempt without smb option ... [ERROR] [mount] - [undefined Error: Command failed: sudo mount -t cifs -o username=iobroker,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.1/fritzbox/fritz.nas/BACKITUP/iobroker /opt/iobroker/backups sudo: setrlimit(RLIMIT_CORE): Operation not permitted mount error(1): Operation not permitted Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) [ERROR] [mount] - [IGNORED] Error: Command failed: sudo mount -t cifs -o username=iobroker,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.1/fritzbox/fritz.nas/BACKITUP/iobroker /opt/iobroker/backups sudo: setrlimit(RLIMIT_CORE): Operation not permitted mount error(1): Operation not permitted Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) [DEBUG] [iobroker] - host.ioBrokerubulxc 2351 states saved [DEBUG] [iobroker] - host.ioBrokerubulxc 2477 objects saved [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2020_06_08-13_26_11_backupiobroker.tar.gz [DEBUG] [iobroker] - done [DEBUG] [cifs] - done [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors. [DEBUG] [clean] - done [DEBUG] [telegram] - done [DEBUG] [history] - backitup.0.history.html [DEBUG] [history] - backitup.0.history.json [EXIT] 0
Was soll das aussagen?
sudo: setrlimit(RLIMIT_CORE): Operation not permitted
-
@Mars
Jou und hier ist schon der erste Fehler
Der Freigabenamen hat nichts mit dem NetzName zu tun und wird hier eingestellt: