Navigation

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

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Backup auf NAS - Probleme mit CIFS

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

      So, hier mal meine Syno-Einstellungen für CIFS (DSM 6.2) und mit der klappt es auch mit armbian und proxmox
      1058_cifs-1.png
      1058_cifs-2.png

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

        @J Riemann:

        Wurde das Backup auch auf die Syno geschrieben? Beim Fehler (13) werden meine Backups nämlich ersatzweise in /opt/iobroker/Backups gespeichert. `
        Da noch nicht, aber nach erneutem Eingeben des Passworts und Speichern schon.

        Schalt mal die Instanz auf loglevel debug.

        Dann erscheint im Log so etwas:

        backitup.0	2018-08-20 22:14:25.443	debug	[minimal] Creating minimal backup [minimal|Rock64|7|Synology|Backups/ioBroker/Rock01|User|Passwd||||CIFS|false|false||||||||/opt/iobroker]
        backitup.0	2018-08-20 22:14:25.391	debug	[minimal] bash /opt/iobroker/node_modules/iobroker.backitup/backitup.sh "minimal|Rock64|7|Synology|Backups/ioBroker/Rock01|User|*****|||*****|CIFS|false|false||||*****||||/opt/iobroker"
        

        Da kannst du dann sehen, ob deine Credentials und der Pfad korrekt übernommen werden

        Gruß

        Rainer

        und morgen kauf ich mir ein Kabel für den OPi

        1 Reply Last reply Reply Quote 0
        • J
          J Riemann last edited by

          @Homoran:

          Aber da hast du ja auch die 22 wie ich. (Invalid Argument) ` Der Fehler ist entstanden weil ich zur Probe noch das Argument vers=1.0 mit in die Befehlszeile einfügen sollte.

          1 Reply Last reply Reply Quote 0
          • P
            PrinzEisenherz1 last edited by

            und hier noch hab ich noch auf meinen Backup-Ordner n NFS-Share konfiguriert
            1058_nfs-1.png

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

              Ist auf dem Nas eine8 Ad-Mitgliedschaft eingetragen? Siehe meinen Post. Domain=. mit angeben

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

                Bitte jetzt nicht noch ne andere Baustelle mit nfs aufmachen

                1 Reply Last reply Reply Quote 0
                • J
                  J Riemann last edited by

                  @Homoran:

                  Schalt mal die Instanz auf loglevel debug. `
                  Ich habe debug im Adapter und über die Instanz aktiviert und meine "alten" vorher funktionierenden Daten eingegeben.

                  Fehler (13)

                  backitup.0	2018-08-20 22:24:13.421	debug	system.adapter.admin.0: logging true
                  backitup.0	2018-08-20 22:24:08.497	debug	[ccu] exec: done
                  backitup.0	2018-08-20 22:23:58.461	debug	[ccu] success --- [CCU] Checking and deletion of the old backup files was successful ---
                  backitup.0	2018-08-20 22:23:58.446	debug	[ccu] --- Delete old backups ---
                  backitup.0	2018-08-20 22:23:58.352	debug	[ccu] success --- Homematic CCU backup has been created ---
                  backitup.0	2018-08-20 22:23:40.574	debug	[ccu] success --- Login Homematic CCU successful ---
                  backitup.0	2018-08-20 22:23:40.493	debug	[ccu] --- Start Homematic CCU Backup ---
                  backitup.0	2018-08-20 22:23:40.486	debug	[ccu] error --- Backup path was not connected to CIFS server ---
                  backitup.0	2018-08-20 22:23:40.483	error	[ccu] Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
                  backitup.0	2018-08-20 22:23:40.482	error	[ccu] mount error(13): Permission denied
                  backitup.0	2018-08-20 22:23:40.387	error	[ccu] Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
                  backitup.0	2018-08-20 22:23:40.385	error	[ccu] mount error(13): Permission denied
                  backitup.0	2018-08-20 22:23:40.242	debug	[ccu] --- Mount Backup-Path on CIFS ---
                  backitup.0	2018-08-20 22:23:40.234	debug	[ccu] Creating ccu backup [ccu||5|DiskStation|Sicherungen/Raspbery|Riemann|Tüt9%7|192.168.178.217|Admin||CIFS|false|false||||||||/opt/iobroker]
                  backitup.0	2018-08-20 22:23:40.181	debug	[ccu] no Telegram-Instance selected!
                  backitup.0	2018-08-20 22:23:40.181	info	[ccu] bash /opt/iobroker/node_modules/iobroker.backitup/backitup.sh "ccu||5|DiskStation|Sicherungen/Raspbery|Riemann|xxx|192.168.178.217|Admin||CIFS|false|false||||||||/opt/iobroker"
                  backitup.0	2018-08-20 22:23:40.167	info	[ccu] oneClick backup started
                  
                  1 Reply Last reply Reply Quote 0
                  • simatec
                    simatec Developer Most Active last edited by

                    @J Riemann:

                    @simatec:

                    Dein NAS verweigert den Zugriff.

                    Es muss an den Einstellungen vom NAS liegen `
                    Das dachte ich auch schon… aber mehr wie Admin-Rechte geht nicht.

                    Dann stellt sich die Frage welche Einstellung erwartet der Opi die der Raspi nicht benötigt.

                    Und Eurem Adapter ist es doch sicher egal welche Hardware genutzt wir, ich vermute die Befehle sind immer die selben, oder? `

                    Das ist ne gute Frage.

                    Dem Adapter ist die Hardware egal. Sie muss nur kompatibel zum Standard cifs sein.

                    Hast du mal probiert ein nfs mount zu machen.

                    Ist aktuell noch nicht im Adapter, wird aber noch kommen.

                    sudo apt-get install nfs-common
                    

                    nfs-mount:

                    sudo mount DiskStation:/Sicherungen /opt/iobroker/backups
                    
                    1 Reply Last reply Reply Quote 0
                    • Stabilostick
                      Stabilostick last edited by

                      Nix nfs. Ich bin cifs.

                      1 Reply Last reply Reply Quote 0
                      • P
                        PrinzEisenherz1 last edited by

                        Versteh gerade Bahnhof! Was meinst du genau?

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

                          sudo mount -t cifs -o user=user,domain=.,password=password //192.168.1.5/share /mnt/syno
                          
                          1 Reply Last reply Reply Quote 0
                          • P
                            PrinzEisenherz1 last edited by

                            hier gehts nicht darum noch ne Baustelle aufzumachen sondern warum es bei Ihm nicht geht. Ich hab nur meine Einstellungen der Syno gepostet mit der CIFS funktioniert.

                            Ich hab auch keine Mitgliedschaft in einer ActiveDirectory.

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

                              Ich meine j Riemann. Er soll mal den Domain-Parameter ausprobieren. Schadet nicht.

                              1 Reply Last reply Reply Quote 0
                              • P
                                PrinzEisenherz1 last edited by

                                ich spreche meine Freigaben mit der IP an.

                                1 Reply Last reply Reply Quote 0
                                • J
                                  J Riemann last edited by

                                  @PrinzEisenherz1:

                                  So, hier mal meine Syno-Einstellungen für CIFS (DSM 6.2) und mit der klappt es auch mit armbian und proxmox `
                                  Fast so hatte ich es auch… bis auf "maximales smb" dort hatte ich 3 gewählt.

                                  Wenn ich die Einstellungen identisch zu Dir wähle tauchen neue Fehlermeldungen auf.

                                  backitup.0	2018-08-20 22:34:17.977	debug	system.adapter.admin.0: logging true
                                  backitup.0	2018-08-20 22:34:04.254	debug	[ccu] exec: done
                                  backitup.0	2018-08-20 22:33:54.221	debug	[ccu] success --- [CCU] Checking and deletion of the old backup files was successful ---
                                  backitup.0	2018-08-20 22:33:54.205	debug	[ccu] --- Delete old backups ---
                                  backitup.0	2018-08-20 22:33:54.122	debug	[ccu] success --- Homematic CCU backup has been created ---
                                  backitup.0	2018-08-20 22:33:36.181	debug	[ccu] success --- Login Homematic CCU successful ---
                                  backitup.0	2018-08-20 22:33:36.097	debug	[ccu] --- Start Homematic CCU Backup ---
                                  backitup.0	2018-08-20 22:33:36.090	debug	[ccu] error --- Backup path was not connected to CIFS server ---
                                  backitup.0	2018-08-20 22:33:36.088	error	[ccu] Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
                                  backitup.0	2018-08-20 22:33:36.087	error	[ccu] mount error(95): Operation not supported
                                  backitup.0	2018-08-20 22:33:36.047	error	[ccu] Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
                                  backitup.0	2018-08-20 22:33:36.046	error	[ccu] mount error(13): Permission denied
                                  backitup.0	2018-08-20 22:33:35.937	debug	[ccu] --- Mount Backup-Path on CIFS ---
                                  backitup.0	2018-08-20 22:33:35.930	debug	[ccu] Creating ccu backup [ccu||5|DiskStation|Sicherungen/Raspbery|Riemann|Tüt9%7|192.168.178.217|Admin||CIFS|false|false||||||||/opt/iobroker]
                                  backitup.0	2018-08-20 22:33:35.881	debug	[ccu] no Telegram-Instance selected!
                                  backitup.0	2018-08-20 22:33:35.880	info	[ccu] bash /opt/iobroker/node_modules/iobroker.backitup/backitup.sh "ccu||5|DiskStation|Sicherungen/Raspbery|Riemann|xxx|192.168.178.217|Admin||CIFS|false|false||||||||/opt/iobroker"
                                  backitup.0	2018-08-20 22:33:35.878	info	[ccu] oneClick backup started
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    J Riemann last edited by

                                    @simatec:

                                    Hast du mal probiert ein nfs mount zu machen. ` ````
                                    root@orangepiplus2e:~# sudo mount DiskStation:/Sicherungen /opt/iobroker/backups
                                    mount.nfs: access denied by server while mounting DiskStation:/Sicherungen
                                    root@orangepiplus2e:~#

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

                                      @J Riemann:

                                      @simatec:

                                      Hast du mal probiert ein nfs mount zu machen. ```` root@orangepiplus2e:~# sudo mount DiskStation:/Sicherungen /opt/iobroker/backups mount.nfs: access denied by server while mounting DiskStation:/Sicherungen root@orangepiplus2e:~# ````

                                      Und mit IP?

                                      Also wenn ich den Pfad falsch eingebe oder Groß/Kleinschreibung nicht beachte, bekomme ich den Fehler auch.

                                      Denke da ist irgendwo der Wurm drin bei dir

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        PrinzEisenherz1 last edited by

                                        Meine Log-Ausgabe
                                        [ccu] bash /opt/iobroker/node_modules/iobroker.backitup/backitup.sh "ccu||20|192.168.178.100|backup/ioBroker/Backitup/CCU2|admin|*****|192.168.178.50|Admin|*****|CIFS|false|false||iobroker|iobroker|**
                                        Deine Log-Ausgabe
                                        [ccu] bash /opt/iobroker/node_modules/iobroker.backitup/backitup.sh "ccu||5|DiskStation|Sicherungen/Raspbery|Riemann|xxx|192.168.178.217|Admin||CIFS|false|false||||||||/opt/iobroker"
                                        
                                        

                                        Hast Du bei Admin kein Passwort?

                                        Hast Du irgenwelche Sonderzeichen drin?

                                        <code>[ccu||5|DiskStation|Sicherungen/Raspbery|Riemann|Tüt9%7|[/code]</code>
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          J Riemann last edited by

                                          @Stabilostick:

                                          sudo mount -t cifs -o user=user,domain=.,password=password //192.168.1.5/share /mnt/syno
                                          ```` `  
                                          

                                          und was soll da bei Domain stehen?

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

                                            Ein Punkt.

                                            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

                                            325
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            18
                                            266
                                            37047
                                            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