Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Rechteprobleme mit Backitup und NFS NAS sicherung

    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

    Rechteprobleme mit Backitup und NFS NAS sicherung

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

      @simatec @Termina

      Ich würde da ja erstmal simpler anfangen:

      IP Adresse des Servers: 192.168.1.100
      Freigabe-Name: freigabe
      Benutzername: testuser
      Domäne: testdomain

      sudo mount -t cifs -o user=testuser,domain=testdomain //192.168.1.100/freigabe /mnt
      

      Musst du halt auf deine Gegebenheiten anpassen. Die Protokoll-Version wird bei richtigem Setup ausgehandelt.

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

        @Termina
        Führe mal auf der Konsole folgendes aus und poste mal die Logausgaben

        sudo mount -t cifs -o username=backup,password=****,rw,file_mode=0777,dir_mode=0777,vers=2.0 //192.168.178.20/backup/iobroker/standard/ /opt/iobroker/backups
        
        sudo mount -t cifs -o username=backup,password=****,rw,file_mode=0777,dir_mode=0777,vers=3.0 //192.168.178.20/backup/iobroker/standard/ /opt/iobroker/backups
        

        hast du folgendes bereits ausgeführt?

        sudo apt-get install cifs-utils
        
        T 1 Reply Last reply Reply Quote 0
        • simatec
          simatec Developer Most Active @Termina last edited by

          @Termina Auch noch ein Thema bei cifs mount ist das Passwort.
          Wie lang ist dein Passwort und hat es Sonderzeichen?
          Versuche mal testweise erstmal ein Passwort mit maximal 12 Zeichen und ohne Sonderzeichen

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

            @simatec
            CIFS hatte ich schon gemacht.

            sudo mount... ergibt jeweils:

            mount error(1): Operation not permitted
            Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
            
            1 Reply Last reply Reply Quote 0
            • T
              Termina @simatec last edited by

              @simatec sagte in Rechteprobleme mit Backitup und NFS NAS sicherung:

              @Termina Auch noch ein Thema bei cifs mount ist das Passwort.
              Wie lang ist dein Passwort und hat es Sonderzeichen?
              Versuche mal testweise erstmal ein Passwort mit maximal 12 Zeichen und ohne Sonderzeichen

              Ja, hatte ich auch schon gelesen - und entsprechend vereinfacht...

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

                @Termina also irgendwas stimmt dann an deiner Config des NAS nicht.
                Zeige doch mal bitte die Config vom NAS.

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

                  @simatec
                  Ich habe dort ja vor oder nach der Iobroker Wiederherstellung nichts geändert, aber hier mal die Screenshots

                  Backitup_Syn1.png

                  Backitup_Syn2.png

                  Backitup_Syn3.png

                  Thomas Braun simatec Homoran 3 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Termina last edited by

                    @Termina
                    Wenn das NAS auch NFS spricht würde ich das ja hernehmen. Passt besser in ein Linux-Umfeld.

                    1 Reply Last reply Reply Quote 0
                    • T
                      Termina last edited by

                      Hier die Adaptereinstellungen...

                      Backitup_Adapter1.png

                      @Thomas-Braun
                      Das hatte ich auch schon probiert - ebenfalls erfolglos.

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

                        @Termina sagte in Rechteprobleme mit Backitup und NFS NAS sicherung:

                        Das hatte ich auch schon probiert - ebenfalls erfolglos.

                        Hast nfs-common installiert?

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

                          @Termina Zeige mal noch die Orndereinstellungen und die Rechte auf deinem NAS.
                          Die sehe ich nicht.

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

                            @Termina und wo ist die Konfig von deinem Share?

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

                              @simatec sagte in Rechteprobleme mit Backitup und NFS NAS sicherung:

                              @Termina sagte in Rechteprobleme mit Backitup und NFS NAS sicherung:

                              Das hatte ich auch schon probiert - ebenfalls erfolglos.

                              Hast nfs-common installiert?

                              Ja und wenn ich nun den Backitup auf NFS einstelle, dann kommt im Log folgendes:

                              [ERROR] [mount] - [undefined mount.nfs: Operation not permitted
                              
                              [ERROR] [mount] - [IGNORED] Error: Command failed: sudo mount 192.168.178.20:/backup/iobroker/standard/ /opt/iobroker/backups
                              mount.nfs: Operation not permitted
                              
                              simatec 1 Reply Last reply Reply Quote 0
                              • T
                                Termina @simatec last edited by

                                @simatec sagte in Rechteprobleme mit Backitup und NFS NAS sicherung:

                                @Termina Zeige mal noch die Orndereinstellungen und die Rechte auf deinem NAS.
                                Die sehe ich nicht.

                                Hatte ich oben schon - lesen und schreiben darf der "backup"-User

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

                                  @Termina sagte in Rechteprobleme mit Backitup und NFS NAS sicherung:

                                  @simatec sagte in Rechteprobleme mit Backitup und NFS NAS sicherung:

                                  @Termina Zeige mal noch die Orndereinstellungen und die Rechte auf deinem NAS.
                                  Die sehe ich nicht.

                                  Hatte ich oben schon - lesen und schreiben darf der "backup"-User

                                  Ja aber in welchen Ordnern darf der Schreiben und lesen? Zeige doch mal bitte die Ordnerrechte ....
                                  Der User braucht Zugriff auf die Ordner /backup/iobroker/standard

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

                                    @Termina sagte in Rechteprobleme mit Backitup und NFS NAS sicherung:

                                    @simatec sagte in Rechteprobleme mit Backitup und NFS NAS sicherung:

                                    @Termina sagte in Rechteprobleme mit Backitup und NFS NAS sicherung:

                                    Das hatte ich auch schon probiert - ebenfalls erfolglos.

                                    Hast nfs-common installiert?

                                    Ja und wenn ich nun den Backitup auf NFS einstelle, dann kommt im Log folgendes:

                                    [ERROR] [mount] - [undefined mount.nfs: Operation not permitted
                                    
                                    [ERROR] [mount] - [IGNORED] Error: Command failed: sudo mount 192.168.178.20:/backup/iobroker/standard/ /opt/iobroker/backups
                                    mount.nfs: Operation not permitted
                                    
                                    sudo apt-get install nfs-common
                                    
                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      Termina @simatec last edited by

                                      @simatec sagte in Rechteprobleme mit Backitup und NFS NAS sicherung:

                                      @Termina sagte in Rechteprobleme mit Backitup und NFS NAS sicherung:

                                      @simatec sagte in Rechteprobleme mit Backitup und NFS NAS sicherung:

                                      @Termina Zeige mal noch die Orndereinstellungen und die Rechte auf deinem NAS.
                                      Die sehe ich nicht.

                                      Hatte ich oben schon - lesen und schreiben darf der "backup"-User

                                      Ja aber in welchen Ordnern darf der Schreiben und lesen? Zeige doch mal bitte die Ordnerrechte ....
                                      Der User braucht Zugriff auf die Ordner /backup/iobroker/standard

                                      Backitup_Syn4.png

                                      simatec Homoran 2 Replies Last reply Reply Quote 0
                                      • T
                                        Termina @simatec last edited by

                                        @simatec sagte in Rechteprobleme mit Backitup und NFS NAS sicherung:

                                        @Termina sagte in Rechteprobleme mit Backitup und NFS NAS sicherung:

                                        @simatec sagte in Rechteprobleme mit Backitup und NFS NAS sicherung:

                                        @Termina sagte in Rechteprobleme mit Backitup und NFS NAS sicherung:

                                        Das hatte ich auch schon probiert - ebenfalls erfolglos.

                                        Hast nfs-common installiert?

                                        Ja und wenn ich nun den Backitup auf NFS einstelle, dann kommt im Log folgendes:

                                        [ERROR] [mount] - [undefined mount.nfs: Operation not permitted
                                        
                                        [ERROR] [mount] - [IGNORED] Error: Command failed: sudo mount 192.168.178.20:/backup/iobroker/standard/ /opt/iobroker/backups
                                        mount.nfs: Operation not permitted
                                        
                                        sudo apt-get install nfs-common
                                        
                                        Gestartet...
                                        [ERROR] [mount] - [undefined mount.nfs: Operation not permitted
                                        
                                        [ERROR] [mount] - [IGNORED] Error: Command failed: sudo mount 192.168.178.20:/backup/iobroker/standard/ /opt/iobroker/backups
                                        mount.nfs: Operation not permitted
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • simatec
                                          simatec Developer Most Active @Termina last edited by

                                          @Termina
                                          Wie sehen die Rechte des Ordners "backup" aus?
                                          Das ist ja der Hauptordner

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

                                            @Termina

                                            sudo mount -t nfs 10.10.0.10:/backups /var/backups
                                            

                                            Where 10.10.0.10 is the IP address of the NFS server, /backup is the directory that the server is exporting and /var/backups is the local mount point.

                                            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

                                            417
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            backitup nfs nas backup
                                            8
                                            117
                                            9309
                                            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