Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Backup auf Synology Probleme

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Backup auf Synology Probleme

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jones88 last edited by

      Hallo Zusammen,

      versuche schon den ganzen Tag es hinzubekommen aber es klappt einfach nicht.

      ich möchte die backups von iobroker auf meiner NAS speichern.

      ich bekomme jedoch immer den Fehler wie im folgenden Code.

      Hat jemand eine Idee?
      Benutzer backitup hat lese und schreibe rechte im gemeinsamen Ordner backup io den ich auf der Synology erstellt habe.

      Ich weiss nicht was ich noch einstellen soll, damit der iobroker zugriff auf das NAS bekommt...

      tarted iobroker ...
      [DEBUG] [mount] start with {"mountType":"CIFS","type":"storage","source":"local","mount":"//192.168.178.2","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,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":true,"dir":"/Backup IO/komplett/","dirMinimal":"/Backup IO/komplett/","user":"backitup","pass":"****"}
      [DEBUG] [mount] - noserverino option: false
      [DEBUG] [mount] - cifs-mount command: "mount -t cifs -o username=backitup,password=****,rw,file_mode=0777,dir_mode=0777,vers=1.0 //192.168.178.2/Backup IO/komplett/ /opt/iobroker/backups"
      [DEBUG] [mount] - first mount attempt with smb option failed. try next mount attempt without smb option ...
      [DEBUG] [mount] - cifs-mount command: "mount -t cifs -o username=backitup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.2/Backup IO/komplett/ /opt/iobroker/backups"
      [ERROR] [mount] - [undefined Error: Command failed: mount -t cifs -o username=backitup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.2/Backup IO/komplett/ /opt/iobroker/backups
      mount: bad usage
      Try 'mount --help' for more information.
      
      [ERROR] [mount] - [IGNORED] Error: Command failed: mount -t cifs -o username=backitup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.2/Backup IO/komplett/ /opt/iobroker/backups
      mount: bad usage
      Try 'mount --help' for more information.
      
      [DEBUG] [iobroker] start with {"type":"creator","time":"02:40","debugging":true,"slaveBackup":"Single","everyXDays":"1","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"local","mount":"//192.168.178.2","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,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":true,"dir":"/Backup IO/komplett/","dirMinimal":"/Backup IO/komplett/","user":"backitup","pass":"****","context":{"fileNames":[],"errors":{"mount":"Error: Command failed: mount -t cifs -o username=backitup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.2/Backup IO/komplett/ /opt/iobroker/backups\nmount: bad usage\nTry 'mount --help' for more information.\n"},"done":[],"types":[]},"adapter":null,"influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]},"dir":"/opt/iobroker","historyHTML":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"telegram":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"","SilentNotice":false,"NoticeType":"longTelegramNotice","User":"none","onlyError":false,"telegramWaiting":0,"hostName":"","systemLang":"de"},"email":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"xxx@xxx.com","emailSender":"xxx@xxx.com","onlyError":false,"emailWaiting":0,"hostName":"","systemLang":"de"},"pushover":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"hostName":"","systemLang":"de"},"whatsapp":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longWhatsappNotice","onlyError":false,"whatsappWaiting":0,"hostName":"","systemLang":"de"},"backupDir":"/opt/iobroker/backups"}
      [DEBUG] [iobroker] - host.raspberrypi 4309 states saved
      
      [DEBUG] [iobroker] - host.raspberrypi 4909 objects saved
      
      Thomas Braun Cinimod 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @jones88 last edited by Thomas Braun

        @jones88 sagte in Backup auf Synology Probleme:

        Backup IO

        Leerzeichen in Verzeichnispfaden sind eine doofe Idee.
        Großbuchstaben ein Stück weit auch.

        J 1 Reply Last reply Reply Quote 0
        • Cinimod
          Cinimod Most Active @jones88 last edited by Cinimod

          @jones88

          Hast Windows Dateifreigabe auf der DS aktiviert (CIFS Protokoll), und SMB aktiv ?

          Ich benutze SMB 2, und natürlich "als root benutzer mounten" aktivieren

          1 Reply Last reply Reply Quote 0
          • J
            jones88 @Thomas Braun last edited by

            @thomas-braun
            danke bad usage ist schon mal erledigt... funktionieren tut es trotzdem nicht 😕

            Started iobroker ...
            [DEBUG] [mount] start with {"mountType":"CIFS","type":"storage","source":"local","mount":"//192.168.178.2","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,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":true,"dir":"/Backupio/komplett/","dirMinimal":"/Backupio/komplett/","user":"backitup","pass":"****"}
            [DEBUG] [mount] - noserverino option: false
            [DEBUG] [mount] - cifs-mount command: "mount -t cifs -o username=backitup,password=****,rw,file_mode=0777,dir_mode=0777,vers=1.0 //192.168.178.2/Backupio/komplett/ /opt/iobroker/backups"
            [DEBUG] [mount] - first mount attempt with smb option failed. try next mount attempt without smb option ...
            [DEBUG] [mount] - cifs-mount command: "mount -t cifs -o username=backitup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.2/Backupio/komplett/ /opt/iobroker/backups"
            [ERROR] [mount] - [undefined Error: Command failed: mount -t cifs -o username=backitup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.2/Backupio/komplett/ /opt/iobroker/backups
            mount.cifs: permission denied: no match for /opt/iobroker/backups found in /etc/fstab
            
            [ERROR] [mount] - [IGNORED] Error: Command failed: mount -t cifs -o username=backitup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.2/Backupio/komplett/ /opt/iobroker/backups
            mount.cifs: permission denied: no match for /opt/iobroker/backups found in /etc/fstab
            
            [DEBUG] [iobroker] start with {"type":"creator","time":"02:40","debugging":true,"slaveBackup":"Single","everyXDays":"1","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"local","mount":"//192.168.178.2","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,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":true,"dir":"/Backupio/komplett/","dirMinimal":"/Backupio/komplett/","user":"backitup","pass":"****","context":{"fileNames":[],"errors":{"mount":"Error: Command failed: mount -t cifs -o username=backitup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.2/Backupio/komplett/ /opt/iobroker/backups\nmount.cifs: permission denied: no match for /opt/iobroker/backups found in /etc/fstab\n"},"done":[],"types":[]},"adapter":null,"influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]},"dir":"/opt/iobroker","historyHTML":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"telegram":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"","SilentNotice":false,"NoticeType":"longTelegramNotice","User":"none","onlyError":false,"telegramWaiting":0,"hostName":"","systemLang":"de"},"email":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"xxx@xxx.com","emailSender":"xxx@xxx.com","onlyError":false,"emailWaiting":0,"hostName":"","systemLang":"de"},"pushover":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"hostName":"","systemLang":"de"},"whatsapp":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longWhatsappNotice","onlyError":false,"whatsappWaiting":0,"hostName":"","systemLang":"de"},"backupDir":"/opt/iobroker/backups"}
            [DEBUG] [iobroker] - host.raspberrypi 4309 states saved
            
            [DEBUG] [iobroker] - host.raspberrypi 4909 objects saved
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @jones88 last edited by Thomas Braun

              @jones88 sagte in Backup auf Synology Probleme:

              vers=1.0

              Vermutlich (und hoffentlich) zu niedrig. Versuch mal mit SMB3.

              permission denied: no match for /opt/iobroker/backups found in /etc/fstab
              

              Mountest du als user? Das geht so nicht. Entweder als root (per sudo) mounten ODER in der /etc/fstab ein Dateisystem einrichten. Das kann man dann auch so einrichten, dass ein user das dürfte.

              J 1 Reply Last reply Reply Quote 0
              • J
                jones88 @Thomas Braun last edited by

                @thomas-braun

                also: ich habe auf SMB3 geändert und das Feld als root user mounten aktiviert. Windows Freigabe habe ich ebenfalls in der Synology aktiviert.

                nun habe ich folgenden code in backitup:

                Started iobroker ...
                [DEBUG] [mount] start with {"mountType":"CIFS","type":"storage","source":"local","mount":"//192.168.178.2","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=3.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":true,"dir":"/Backupio/komplett/","dirMinimal":"/Backupio/komplett/","user":"backitup","pass":"****"}
                [DEBUG] [mount] - noserverino option: false
                [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=backitup,password=****,rw,file_mode=0777,dir_mode=0777,vers=3.0 //192.168.178.2/Backupio/komplett/ /opt/iobroker/backups"
                [DEBUG] [mount] - mount successfully completed
                [DEBUG] [mount] - done
                [DEBUG] [iobroker] start with {"type":"creator","time":"02:40","debugging":true,"slaveBackup":"Single","everyXDays":"1","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"local","mount":"//192.168.178.2","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=3.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":true,"dir":"/Backupio/komplett/","dirMinimal":"/Backupio/komplett/","user":"backitup","pass":"****","context":{"fileNames":[],"errors":{},"done":["mount"],"types":[]},"adapter":null,"influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]},"dir":"/opt/iobroker","historyHTML":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"telegram":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"","SilentNotice":false,"NoticeType":"longTelegramNotice","User":"none","onlyError":false,"telegramWaiting":0,"hostName":"","systemLang":"de"},"email":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"xxx@xxx.com","emailSender":"xxx@xxx.com","onlyError":false,"emailWaiting":0,"hostName":"","systemLang":"de"},"pushover":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"hostName":"","systemLang":"de"},"whatsapp":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longWhatsappNotice","onlyError":false,"whatsappWaiting":0,"hostName":"","systemLang":"de"},"backupDir":"/opt/iobroker/backups"}
                [DEBUG] [iobroker] - host.raspberrypi 4309 states saved
                
                [DEBUG] [iobroker] - host.raspberrypi 4909 objects saved
                

                bedeutet das, dass das backup fertig gestellt wurde? Das Fenster bleibt nämlich geöffnet und der Ladebalken oben bewegt sich weiter... In der Synology sind auch noch keine Dateien erstellt worden.

                Liegt immer noch ein Fehler vor oder muss ich dem iobroker länger zeit geben?Bildschirmfoto 2021-12-23 um 22.21.41.png

                Thomas Braun Glasfaser 3 Replies Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @jones88 last edited by

                  @jones88

                  Schaut aus als sei das durch.

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    jones88 @Thomas Braun last edited by

                    @thomas-braun
                    komisch auf der nas wurden keine Dateien angelegt...

                    Cinimod 1 Reply Last reply Reply Quote 0
                    • Cinimod
                      Cinimod Most Active @jones88 last edited by Cinimod

                      @jones88

                      es sollte eigentlich so enden:

                      [DEBUG] [umount] - mount activ, umount is started ...
                      [DEBUG] [umount] - umount successfully completed
                      [DEBUG] [umount] - done
                      [EXIT] 0
                      

                      Schau mal ob die dateien jetzt in /opt/iobroker/backups liegen ?

                      J 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @jones88 last edited by

                        @jones88

                        Hast du die Mitteilungen alle aktiv? Mach die mal aus.

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          jones88 @Cinimod last edited by

                          @cinimod

                          nein dort ist das letzte am 06.12.2021 erstellt worden...Bildschirmfoto 2021-12-23 um 22.37.25.png

                          Cinimod 1 Reply Last reply Reply Quote 0
                          • J
                            jones88 @Thomas Braun last edited by

                            @thomas-braun

                            kannst du das konkretisieren? welche Mitteilungen meinst du und wo mache ich die aus?

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @jones88 last edited by Thomas Braun

                              @jones88
                              In den Einstellungen.

                              Der mountpunkt sollte im übrigen leer sein, wenn dort das freigegebene Dateisystem eingehängt wird.

                              Und bitte keine Bilder von Text machen...

                              1 Reply Last reply Reply Quote 0
                              • Cinimod
                                Cinimod Most Active @jones88 last edited by

                                @jones88

                                Willst du mal smb2 probieren, das war bei mir das einzig funktionierenden

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  jones88 @Cinimod last edited by

                                  @cinimod

                                  habe ich versucht. kommt das gleiche dabei heraus wie bei smb 3....

                                  Homoran 1 Reply Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @jones88 last edited by

                                    @jones88 sagte in Backup auf Synology Probleme:

                                    "dir":"/Backupio/komplett/","dirMinimal":"/Backupio/komplett/",

                                    ändere auf :

                                    /Backupio/komplett
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @jones88 last edited by Homoran

                                      @jones88 Ich kann die Konfig von dir nicht mehr finden.
                                      Kannst du sie nochmal posten?

                                      und wie heisst die Freigabe genau?

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate
                                      FAQ Cloud / IOT
                                      HowTo: Node.js-Update
                                      HowTo: Backup/Restore
                                      Downloads
                                      BLOG

                                      631
                                      Online

                                      31.9k
                                      Users

                                      80.1k
                                      Topics

                                      1.3m
                                      Posts

                                      5
                                      17
                                      1157
                                      Loading More Posts
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      Community
                                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                      The ioBroker Community 2014-2023
                                      logo