Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Backup von IoBroker auf WDMycloud oder FritzNAS

    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 von IoBroker auf WDMycloud oder FritzNAS

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @NicoR last edited by

      @NicoR sagte in Backup von IoBroker auf WDMycloud oder FritzNAS:

      Also ich habe auf einem Laptop Proxmox installiert. Auf einer damit erstellten VM läuft ein Ubunto mit dem iobroker drauf.Js Version 3.1.6

      @Homoran
      Also virtualisierter Kram. Da bin ich dann auch raus. Da bin ich zu doof für... 😄

      1 Reply Last reply Reply Quote 0
      • N
        NicoR @Homoran last edited by

        @Homoran
        Ja ist in einem LXC Container

        Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @NicoR last edited by

          @NicoR
          Ich dachte in einer VM?
          Na egal, bin ich so oder so raus.

          N 1 Reply Last reply Reply Quote 0
          • UncleSam
            UncleSam Developer @NicoR last edited by

            @NicoR sagte in Backup von IoBroker auf WDMycloud oder FritzNAS:

            sudo mount -t cifs -o username=Backup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.1/ /FRITZ.NAS/Backups/IoBroker /opt/iobroker

            Ich bin ja kein CIFS/SMB Spezialist, aber stimmt das da: zwischen IP und Pfad hat es eine Lücke.
            Normalerweise sollte das doch ungefähr so aussehen:

            sudo mount -t cifs -o <options> //WIN_SHARE_IP/<share_name> /mnt/win_share
            
            Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @NicoR last edited by

              @NicoR sagte in Backup von IoBroker auf WDMycloud oder FritzNAS:

              LXC Container

              das ist keine VM

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

                @UncleSam
                Adlerauge!
                Stimmt, da darf kein Leerzeichen sein.

                1 Reply Last reply Reply Quote 0
                • N
                  NicoR @Thomas Braun last edited by

                  @Thomas-Braun Ja sorry. Hatte ich vergessen. Ich bin bei dem Thema ja leider auch raus.😲

                  1 Reply Last reply Reply Quote 0
                  • UncleSam
                    UncleSam Developer last edited by

                    Von https://bayton.org/docs/linux/lxd/mount-cifssmb-shares-rw-in-lxd-containers/:

                    One of the biggest limitations with LXD I’ve found to date is the inability to mount remote shares on unprivileged containers. While it’s still not possible at this point to mount CIFS shares from within a container directly, I’ve figured out a way to get around this by first mounting the shares on the LXD host and then using lxd config device add to mount them in my containers from there.

                    Wenn das so ist, dann findest du hier möglicherweise eine Lösung:
                    https://forum.proxmox.com/threads/solved-expose-cifs-share-to-lxc-container.44757/

                    Ansonsten würde ich den Mount einfach auf dem Proxmox machen und dann das Lokale Verzeichnis in den Container mounten.

                    1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @UncleSam last edited by Homoran

                      @UncleSam sagte in Backup von IoBroker auf WDMycloud oder FritzNAS:

                      zwischen IP und Pfad hat es eine Lücke.

                      Aber wo kommt die her, in der Konfig steht die IP und der share.
                      Die IP ist ohne / am ende, also auch kein Leerzeichen dort. Das wird beim zusammenbau hinzugefügt.

                      Entweder ist das in der Konfig vor dem Pfad zum share, oder dort gehört kein führender / hin

                      @NicoR
                      Ist vor dem /FRITZ.NAS ein Leerzeichen?
                      Wenn ja, löschen, wenn nein, bitte mal ohne / versuchen.

                      Ich bin bei Containern nämlich sonst auch raus

                      N 1 Reply Last reply Reply Quote 0
                      • N
                        NicoR @Homoran last edited by

                        @Homoran
                        War kein Leerzeichen. Hab es jetzt mal entfernt. Denke ist aber immer noch der gleiche Fehler.
                        Hier der Log:
                        backitup.0 2021-01-04 16:17:44.233 debug (25569) [iobroker] exec: done
                        backitup.0 2021-01-04 16:17:44.082 debug (25569) [iobroker/history] backitup.0.history.json
                        backitup.0 2021-01-04 16:17:44.081 debug (25569) [iobroker/history] backitup.0.history.html
                        whatsapp-cmb.0 2021-01-04 16:17:43.925 info (13000) Send BackItUp: Die Sicherung wurde nicht vollständig erstellt. Bitte überprüfe die Fehlermeldungen!! mount: Error: Command failed: sudo mount -t cifs -o username=Backup,password=,rw,file_
                        backitup.0 2021-01-04 16:17:43.923 debug (25569) [iobroker/whatsapp] done
                        backitup.0 2021-01-04 16:17:43.923 debug (25569) sendTo "send" to system.adapter.whatsapp-cmb.0 from system.adapter.backitup.0
                        backitup.0 2021-01-04 16:17:43.922 debug (25569) [iobroker/whatsapp] [iobroker] used WhatsApp-Instance: whatsapp-cmb.0
                        backitup.0 2021-01-04 16:17:43.317 debug (25569) [iobroker/clean] done
                        backitup.0 2021-01-04 16:17:43.317 debug (25569) [iobroker/clean] Backup files not deleted from /opt/iobroker/backups because some errors.
                        backitup.0 2021-01-04 16:17:42.866 debug (25569) [iobroker/cifs] done
                        backitup.0 2021-01-04 16:17:41.811 debug (25569) [iobroker/iobroker] done
                        backitup.0 2021-01-04 16:17:40.793 debug (25569) [iobroker/iobroker] Backup created: /opt/iobroker/backups/iobroker_2021_01_04-15_17_38_backupiobroker.tar.gz
                        backitup.0 2021-01-04 16:17:39.682 debug (25569) [iobroker/iobroker] host.IoBroker 3135 objects saved
                        backitup.0 2021-01-04 16:17:39.661 debug (25569) [iobroker/iobroker] host.IoBroker 2514 states saved
                        backitup.0 2021-01-04 16:17:37.965 debug (25569) [iobroker/mount] Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
                        backitup.0 2021-01-04 16:17:37.965 debug (25569) [iobroker/mount] mount error(1): Operation not permitted
                        backitup.0 2021-01-04 16:17:37.964 debug (25569) [iobroker/mount] sudo: setrlimit(RLIMIT_CORE): Operation not permitted
                        backitup.0 2021-01-04 16:17:37.964 debug (25569) [iobroker/mount] [IGNORED] Error: Command failed: sudo mount -t cifs -o username=Backup,password=
                        ,rw,file_mode=0777,dir_mode=0777 //192.168.178.1/FRITZ.NAS/FRITZNAS/Backups/IoBroker /opt/i
                        backitup.0 2021-01-04 16:17:37.964 debug (25569) [iobroker/mount] Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
                        backitup.0 2021-01-04 16:17:37.964 debug (25569) [iobroker/mount] mount error(1): Operation not permitted
                        backitup.0 2021-01-04 16:17:37.964 debug (25569) [iobroker/mount] sudo: setrlimit(RLIMIT_CORE): Operation not permitted
                        backitup.0 2021-01-04 16:17:37.963 debug (25569) [iobroker/mount] [undefined Error: Command failed: sudo mount -t cifs -o username=Backup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.1/FRITZ.NAS/FRITZNAS/Backups/IoBroker /opt/
                        backitup.0 2021-01-04 16:17:37.940 debug (25569) [iobroker/mount] first mount attempt with smb option failed. try next mount attempt without smb option ...

                        1 Reply Last reply Reply Quote 0
                        • F
                          fastfoot @Homoran last edited by

                          @Homoran sagte in Backup von IoBroker auf WDMycloud oder FritzNAS:

                          FRITZ.NAS kein Bestandteil der Freigabe sein sollte, weil das ja der IP des Servers entspricht, oder? (aber da kann ich mich irren)

                          tust du(dich irren) 🙂 die Fritz Freigabe hat immer //ip_der_fb/fritz.nas/Ordner, wobei fritz.nas abhängig von den Einstellungen ist. siehe hier

                          Homoran 1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @fastfoot last edited by Homoran

                            @fastfoot sagte in Backup von IoBroker auf WDMycloud oder FritzNAS:

                            tust du(dich irren)

                            war ja auch vollkommen im Bereich des Möglichen 😂

                            @fastfoot sagte in Backup von IoBroker auf WDMycloud oder FritzNAS:

                            immer //ip_der_fb/fritz.nas/Ordner, wobei fritz.nas abhängig

                            aber dann darf der sharename doch nicht mit (noch) einem / beginnen
                            Ein / wird doch schon vom Adapter hinzugefügt

                            F 1 Reply Last reply Reply Quote 0
                            • F
                              fastfoot @Homoran last edited by

                              @Homoran sagte in Backup von IoBroker auf WDMycloud oder FritzNAS:

                              aber dann darf der sharename doch nicht mit (noch) einem / beginnen
                              Ein / wird doch schon vom Adapter hinzugefügt

                              meine Angabe hatte sich auf den mount Befehl in der Konsole bezogen, wenn Backitup den Slash selbst hinzufügt, sollte man ihn wohl weglassen, könnte aber gut sein dass das 'verziehen' wird

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

                                @fastfoot @Homoran

                                Wie gesagt, in meiner Konfig steht das führende / auch drin. Und es funktioniert...
                                Ob es vom Adapter rausgefiltert wird kann ich gar nicht sagen, hab aber auch keine Lust mal ohne / zu probieren. 😄

                                Homoran 1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @Thomas Braun last edited by Homoran

                                  @Thomas-Braun sagte in Backup von IoBroker auf WDMycloud oder FritzNAS:

                                  in meiner Konfig steht das führende / auch drin. Und es funktioniert...

                                  in meiner eben nicht - und wir hatten bereits mindestens einen Fall, bei dem die Entfernung des führenden / eine Heilung eines Problems bewirkte

                                  @Thomas-Braun sagte in Backup von IoBroker auf WDMycloud oder FritzNAS:

                                  hab aber auch keine Lust mal ohne / zu probieren.

                                  Das soll ja auch der User mit dem Problem machen.
                                  Kann ja (mal wieder) ohne weiters sein, dass es nicht auf allen Systemen zu Problemen führt

                                  1 Reply Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @NicoR last edited by

                                    @NicoR ich habe das auf nen externen Stick, der an der Fritte hängt ( Ordner Backup, Unterordner IoBroker) und meine config ist
                                    /Backup/IoBroker
                                    Also ohne das
                                    /Fritz.Nas/

                                    Möglichkeit wäre noch per Ftp
                                    Per Ftp kommt das
                                    /Fritz.Nas/
                                    noch davor, wie bereits erwähnt, sofern man die Fritzbox nicht umbenannt hat, ansonsten den Namen entsprechend anpassen)

                                    Frage nebenbei, ist überhaupt Platz auf dem internen Speicher?

                                    Homoran F N 3 Replies Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @crunchip last edited by

                                      @crunchip
                                      so hatte ich es auch im Kopf.

                                      Auch den Unterschied zu NFS

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        fastfoot @crunchip last edited by

                                        @crunchip sagte in Backup von IoBroker auf WDMycloud oder FritzNAS:

                                        @NicoR ich habe das auf nen externen Stick, der an der Fritte hängt ( Ordner Backup, Unterordner IoBroker) und meine config ist
                                        /Backup/IoBroker
                                        Also ohne das
                                        /Fritz.Nas/

                                        Also hier ist fritz.nas zwingend notwendig, sowohl im Explorer als auch beim mount mit cifs, sehr seltsam...

                                        Homoran 1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @fastfoot last edited by Homoran

                                          @fastfoot sagte in Backup von IoBroker auf WDMycloud oder FritzNAS:

                                          Also hier ist fritz.nas zwingend notwendig, sowohl im Explorer als auch beim mount mit cifs, sehr seltsam...

                                          so sieht es bei mir mit CIFS auf die Syno auf allen meinen Installationen aus
                                          CIFS_Syno02.png

                                          Beim Hostnamen optional die IP

                                          F 1 Reply Last reply Reply Quote 0
                                          • F
                                            fastfoot @Homoran last edited by

                                            @Homoran sagte in Backup von IoBroker auf WDMycloud oder FritzNAS:

                                            so sieht es bei mir mit CIFS auf die Syno auf allen meinen Installationen aus

                                            ja, 'normale' shares brauchen nur die ip + Ordnername, das ist bei meiner NAS auch so, oder bei einer Freigabe auf dem Laptop. Bei der FritzBox brauche ich aber zwingend ip/fritz.nas/Ordnername. Habe es in Backitup mit und ohne probiert, ohne fritz.nas bekomme ich einen mount Fehler. Bei der Angabe des Pfads ist Backitup gnädig, es funktioniert jeweils mit und ohne vorangestellten Slash, im Bild mit
                                            fritznas.PNG

                                            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

                                            484
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            backup auf nas wdmycloud
                                            7
                                            51
                                            2806
                                            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