Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Backup IT Einrichtung mit Synology NAS

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

      Ich habe das mit dem cifs bei meinem Synology auch nicht hinbekommen. Versuch mal auf NFS umzustellen. Das hat bei mir funktioniert. Er nimmt dann die Logindaten von cifs.

      Vielleicht wäre das ein Verbesserungsvorschlag wert: Also das man auch bei NFS die Log-Daten eingeben kann.

      lost in translation simatec 2 Replies Last reply Reply Quote 0
      • J
        Jan1 @lost in translation last edited by

        modprobe: FATAL: Module cifs not found in directory /lib/modules/4.14.30-v7+

        Ich bin da zwar auch Laie, aber hast CIFS überhaupt installiert, wenn er das schon an meckert?

        lost in translation 1 Reply Last reply Reply Quote 0
        • lost in translation
          lost in translation @eumats last edited by

          @eumats said in Backup IT Einrichtung mit Synology NAS:

          Ich habe das mit dem cifs bei meinem Synology auch nicht hinbekommen. Versuch mal auf NFS umzustellen. Das hat bei mir funktioniert. Er nimmt dann die Logindaten von cifs.

          Vielleicht wäre das ein Verbesserungsvorschlag wert: Also das man auch bei NFS die Log-Daten eingeben kann.

          Das läuft leider auch nicht:

          Gestartet...
          [DEBUG] [mount] start with {"mountType":"NFS","type":"storage","source":"Local","mount":"cube2","fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=2.0","sudo":false,"deleteOldBackup":false,"ownDir":true,"bkpType":"Minimal","dir":"homes/pi/backups/standard","dirMinimal":"homes/pi/backups/standard","dirTotal":"homes/pi/backups/complete","user":"pi","pass":"****"}
          [ERROR] [mount] - [undefined mount.nfs: access denied by server while mounting cube2:/homes/pi/backups/standard
          
          [ERROR] [mount] - [IGNORED] Error: Command failed: mount cube2:/homes/pi/backups/standard /opt/iobroker/backups
          mount.nfs: access denied by server while mounting cube2:/homes/pi/backups/standard
          
          [DEBUG] [minimal] start with {"type":"creator","time":"02:00","debugging":true,"everyXDays":"1","deleteBackupAfter":0,"mysqlEnabled":false,"redisEnabled":false,"zigbeeEnabled":true,"cifs":
          

          Merkwürdigerweise sehe ich im Log der Syno nix davon 😞

          Irgendwie hab ich kein Glück 😞

          ciao

          frank

          1 Reply Last reply Reply Quote 0
          • lost in translation
            lost in translation @Jan1 last edited by

            @Jan1 said in Backup IT Einrichtung mit Synology NAS:

            modprobe: FATAL: Module cifs not found in directory /lib/modules/4.14.30-v7+

            Ich bin da zwar auch Laie, aber hast CIFS überhaupt installiert, wenn er das schon an meckert?

            Nach meiner Interpretation ist es installiert, da meine Eingabe des Installationsbefehls ergab, das bereits die allerneueste Version installiert ist.
            Trotzdem ist da was faul, vermute ich.

            ciao

            frank

            1 Reply Last reply Reply Quote 0
            • simatec
              simatec Developer Most Active last edited by

              Teste das ganze erstmal auf der Konsole und verwende mal die IP deines NAS und nicht den Hostname

              lost in translation 1 Reply Last reply Reply Quote 0
              • lost in translation
                lost in translation @simatec last edited by

                @simatec
                cifs habe ich bereits auf der konsole getestet. Wie ich in der konsole ein nfs share mounte, ist mir leider nicht klar. IP-Nummer ändert nichts gegenüber hostname. falscher Hostname ändert dafür die Fehlermeldung auf "unknown host".

                ciao

                frank

                1 Reply Last reply Reply Quote 0
                • lost in translation
                  lost in translation @lost in translation last edited by

                  @lost-in-translation said in Backup IT Einrichtung mit Synology NAS:

                  @simatec
                  habe mal ein neues alphanumerisches Passwort vergeben, die Meldung blieb die gleiche.
                  Bei bewusst falschem Passwort allerdings auch 😞

                  Ich hab dann mal die Meldung gegoogelt und bekam ein paar Befehle zu lesen, die ich mal ausprobiert habe:

                  pi@ioBroker-RasPi:~ $ modprobe cifs
                  modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.14.30-v7+/modules.dep.bin'
                  modprobe: FATAL: Module cifs not found in directory /lib/modules/4.14.30-v7+
                  pi@ioBroker-RasPi:~ $ uname -r
                  4.14.30-v7+
                  pi@ioBroker-RasPi:~ $ find /lib/modules/ -name cifs.ko
                  /lib/modules/4.14.98+/kernel/fs/cifs/cifs.ko
                  /lib/modules/4.14.98-v7+/kernel/fs/cifs/cifs.ko
                  pi@ioBroker-RasPi:~ $
                  

                  Für meine Laienhaften Begriffe gilt es hier etwas zu reparieren. Nur weiß ich leider nicht wie 😞 Die Versionen scheinen nicht zueinander zu passen.

                  Vielleicht könnte ja mal jemand mit raspi bei dem es klappt diese drei Befehle eingeben und schauen, ob er die gleichen Versionsnummern hat wie ich?
                  Von Windows aus komme ich mit dem User pi per cifs an die Syno und bekomme auch Zugriff auf die Verzeichnisse. Das habe ich mittlerweile auch gecheckt. Leider hab ich grad kein ubuntu o.ä. im Haus.

                  ciao

                  frank

                  1 Reply Last reply Reply Quote 0
                  • arteck
                    arteck Developer Most Active last edited by arteck

                    hast du in der synology nfs schreibrechte erteilt für die Pi- IP. das kannst du explizit steuern.. dann brauchst du eine Anmeldung.. da die IP das darf

                    lost in translation 1 Reply Last reply Reply Quote 0
                    • lost in translation
                      lost in translation @arteck last edited by

                      @arteck said in Backup IT Einrichtung mit Synology NAS:

                      hast du in der synology nfs schreibrechte erteilt für die Pi- IP. das kannst du explizit steuern.. dann brauchst du eine Anmeldung.. da die IP das darf

                      Kann es sein, dass Du ein "k" unterschlagen hast? Ich also "keine Anmeldung" bräuchte, wenn ich die IP vom RASPI in der syno eintrage?
                      Dann sollte ich aber wohl besser ein eigenes share für die Backups des iobroker auf der syno anlegen, ansonsten kann ich dem raspi ja nur eine freigabe auf alle home Verzeichnisse gewähren?
                      syno nfs.JPG

                      Eigentlich finde ich das mit cifs und dem homelaufwerk ja sympathischer, aber wenn es nicht anders klappt, richte ich das morgen mal so ein. Habe heute keine Zugriff auf meinen RASPI.

                      ciao

                      frank

                      arteck 1 Reply Last reply Reply Quote 0
                      • arteck
                        arteck Developer Most Active @lost in translation last edited by

                        @lost-in-translation genau keine Anmeldung.. ist richtig

                        1 Reply Last reply Reply Quote 0
                        • eumats
                          eumats last edited by eumats

                          Bei mir funktioniert es wie folgt. Vielleicht hilft Dir das weiter…

                          Ich habe für das Backup ein extra Verzeichnis auf dem NAS angelegt und einen Backupbenutzer eingerichtet. Dieser hat denn volle Schreibrechte auf das Backupverzeichnis bekommen.
                          Zzgl. habe ich unter den NFS Einstellungen meine iobroker Rechner (Raspi und NUX) als berechtigte Rechner hinterlegt.

                          In Backitup habe ich folgende eingestellt:
                          1.jpg 2.jpg

                          lost in translation 1 Reply Last reply Reply Quote 1
                          • simatec
                            simatec Developer Most Active @eumats last edited by

                            @eumats
                            Die Aussage ist nicht korrekt.
                            Für nfs werden keine Userdaten verwendet.
                            nfs und cifs sind komplett unterschiedliche Prozesse.

                            NFS:
                            https://github.com/simatec/ioBroker.backitup/blob/bddaf8690b9d3a5961748126819ce87decbc2373/lib/scripts/01-mount.js#L95

                            CIFS:
                            https://github.com/simatec/ioBroker.backitup/blob/bddaf8690b9d3a5961748126819ce87decbc2373/lib/scripts/01-mount.js#L72

                            eumats 1 Reply Last reply Reply Quote 0
                            • eumats
                              eumats @simatec last edited by

                              @simatec

                              aha. Dann habe ich da wohl einen Denkfehler. Ich dachte immer das ich Benutzer und PW mit angeben muss. Aber dann ist es wohl so, dass durch die Freigabe der IP vom iobroker Rechner im NAS jeder Benutzer auf das freigegebenen Verzeichnis schreiben kann.

                              1 Reply Last reply Reply Quote 0
                              • lost in translation
                                lost in translation @eumats last edited by

                                @eumats
                                Mit cifs habe ich das Problem, dass da anscheinend was kaputt ist auf dem raspi. Da forsche ich gerade dran.
                                NFS krieg ich nicht zur Zusammenarbeit bewegt. Ich habe alles freigegeben, sogar mal für *, aber ich bekomme keinen mount hin, auch nicht von meiner alten cube aus (die ich mal als alternatives linux system hergenommen habe)

                                ftp funktioniert, leider ist anscheinend SFTP nicht vorgesehen.
                                Ich würde aber gerne das mit dem CIFS hinbekommen, da ich es generell für eine gute Idee halte, das NAS für den RASPI als Datenablage zu haben. Zudem scheint etwas kaputt zu sein mit dem CIFS und das würde ich gerne einmal sauber haben, bevor mir andere Sachen unerklärlich um die Ohren fliegen.

                                @simatec
                                Ist unverschämt, aber hast Du schonmal darüber nachgedacht, sftp optional ebenfalls zu unterstützen? Vom raspi aus der kommandozeile per sftp auf meine cube geht problemlos. Ich hatte bisher FTP ohne s abgeschaltet.

                                ciao

                                frank

                                simatec 1 Reply Last reply Reply Quote 0
                                • simatec
                                  simatec Developer Most Active @lost in translation last edited by

                                  @lost-in-translation sagte in Backup IT Einrichtung mit Synology NAS:

                                  NFS krieg ich nicht zur Zusammenarbeit bewegt. Ich habe alles freigegeben, sogar mal für *, aber ich bekomme keinen mount hin, auch nicht von meiner alten cube aus (die ich mal als alternatives linux system hergenommen habe)

                                  Poste mal den Log des NFS mounts

                                  lost in translation 2 Replies Last reply Reply Quote 0
                                  • W
                                    Wildbill last edited by

                                    Oder geb mal Folgendes auf Deinem Raspi ein und schaue, ob die NFS-Freigabe überhauot angezeigt wird:

                                    showmount -e IP_DES_NAS
                                    

                                    Wenn auf dem NAS eine NFS-Freigabe eingerichtet ist, sollte diese dann angezeigt werden. Auf dem raspi muss dafür das Paket "nfs-common" installiert sein.

                                    Für CIFS-Freigaben weiss ich gar nicht, ob da so ein Äquivalent besteht.

                                    Gruss, Jürgen

                                    lost in translation 1 Reply Last reply Reply Quote 0
                                    • lost in translation
                                      lost in translation @simatec last edited by

                                      @simatec said in Backup IT Einrichtung mit Synology NAS:

                                      @lost-in-translation sagte in Backup IT Einrichtung mit Synology NAS:

                                      NFS krieg ich nicht zur Zusammenarbeit bewegt. Ich habe alles freigegeben, sogar mal für *, aber ich bekomme keinen mount hin, auch nicht von meiner alten cube aus (die ich mal als alternatives linux system hergenommen habe)

                                      Poste mal den Log des NFS mounts

                                      Es funktioniert jetzt mit CIFS nach reboot. Das war anscheinend alles, was fehlte. Wenn ich zurück an meinem anderen Rechner bin, werde ich das mit dem NFS auch mal ausprobieren.

                                      ciao
                                      frank

                                      1 Reply Last reply Reply Quote 0
                                      • lost in translation
                                        lost in translation @Wildbill last edited by

                                        @Wildbill said in Backup IT Einrichtung mit Synology NAS:

                                        showmount -e

                                        /opt/iobroker$ showmount -e 192.168.xx.yy
                                        
                                        rpc mount export: RPC: Timed out
                                        /opt/iobroker$  
                                        

                                        aber wie gesagt, damit hab ich auch von der alten cube aus kein Glück.
                                        Da müsste ich mich nochmal einlesen, was ich da falsch gemacht haben könnte.
                                        Da CIFS funktioniert, was ich sonst eigentlich nur nutze, ist es nicht ganz so tragisch.

                                        ciao

                                        frank

                                        1 Reply Last reply Reply Quote 0
                                        • lost in translation
                                          lost in translation @simatec last edited by

                                          @simatec
                                          Halla simatec,
                                          mir ist aufgefallen:

                                          Ich lasse mir von backitup eine Mail mit Erfolgsmeldung schicken. Als es daneben ging, bekam ich eine Fehlermeldung gemailt mit dem gescheiterten mount und dem Passwort für das share im Klartext in der Mail.

                                          Ist das wirklich so gewollt? Rein sicherheitstechnisch finde ich das etwas ungeschickt.
                                          Oder habe ich irgendwo eine Haken falsch gesetzt?

                                          ciao

                                          frank

                                          simatec 1 Reply Last reply Reply Quote 0
                                          • simatec
                                            simatec Developer Most Active @lost in translation last edited by

                                            @lost-in-translation
                                            Zeig mal bitte den Inhalt der Mail ... (ohne PW) 😉

                                            Homoran lost in translation 2 Replies 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

                                            607
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            anleitung backitup synology nas
                                            16
                                            54
                                            14582
                                            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