Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. BackItUp funktioniert weder mit NFS noch mit CIFS

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.3k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.1k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

BackItUp funktioniert weder mit NFS noch mit CIFS

Scheduled Pinned Locked Moved ioBroker Allgemein
48 Posts 10 Posters 4.4k Views 11 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • simatecS simatec

    @guergen Das ist Backitup egal.
    Wird automatisch im Code gesetzt

    O Offline
    O Offline
    ostseeskipper
    wrote on last edited by
    #18

    Moin,

    Dank dieses Threads habe ich schon mal die NFS Verbindung zum NAS hinbekommen.
    Nun kommt aber

    Started iobroker ...
    [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.0.99:/volume5/iobrokerbackup /opt/iobroker/backups"
    [DEBUG] [mount] - mount successfully completed
    [DEBUG] [mount] - done
    [DEBUG] [iobroker] - host.iobroker-pi 1568 states saved
    
    [DEBUG] [iobroker] - host.iobroker-pi 2436 objects saved
    
    [ERROR] [iobroker] - host.iobroker-pi Cannot pack directory /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup: Error: EACCES: permission denied, open '/opt/iobroker/backups/iobroker_2022_02_07-20_08_47_backupiobroker.tar.gz'
    
    [DEBUG] [iobroker] - done
    [DEBUG] [javascripts] - javascript directory "undefined" not found
    [DEBUG] [javascripts] - done
    [DEBUG] [cifs] - done
    [DEBUG] [clean] - done
    [DEBUG] [historyHTML] - new history html values created
    [DEBUG] [historyHTML] - done
    [DEBUG] [historyJSON] - new history json values created
    [DEBUG] [historyJSON] - done
    [DEBUG] [umount] - mount activ, umount is started ...
    [DEBUG] [umount] - umount successfully completed
    [DEBUG] [umount] - done
    [EXIT] 9
    

    Womit ich erst mal nichts anfangen kann.
    Muss ich auf dem NAS noch den User "pi" vom Raspi einrichten? Mit gleichem Passwort? Ober kann man irgendwo im Backupadapter einen User vom NAS hinterlegen ala CIFS.

    Thomas BraunT 1 Reply Last reply
    0
    • O ostseeskipper

      Moin,

      Dank dieses Threads habe ich schon mal die NFS Verbindung zum NAS hinbekommen.
      Nun kommt aber

      Started iobroker ...
      [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.0.99:/volume5/iobrokerbackup /opt/iobroker/backups"
      [DEBUG] [mount] - mount successfully completed
      [DEBUG] [mount] - done
      [DEBUG] [iobroker] - host.iobroker-pi 1568 states saved
      
      [DEBUG] [iobroker] - host.iobroker-pi 2436 objects saved
      
      [ERROR] [iobroker] - host.iobroker-pi Cannot pack directory /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup: Error: EACCES: permission denied, open '/opt/iobroker/backups/iobroker_2022_02_07-20_08_47_backupiobroker.tar.gz'
      
      [DEBUG] [iobroker] - done
      [DEBUG] [javascripts] - javascript directory "undefined" not found
      [DEBUG] [javascripts] - done
      [DEBUG] [cifs] - done
      [DEBUG] [clean] - done
      [DEBUG] [historyHTML] - new history html values created
      [DEBUG] [historyHTML] - done
      [DEBUG] [historyJSON] - new history json values created
      [DEBUG] [historyJSON] - done
      [DEBUG] [umount] - mount activ, umount is started ...
      [DEBUG] [umount] - umount successfully completed
      [DEBUG] [umount] - done
      [EXIT] 9
      

      Womit ich erst mal nichts anfangen kann.
      Muss ich auf dem NAS noch den User "pi" vom Raspi einrichten? Mit gleichem Passwort? Ober kann man irgendwo im Backupadapter einen User vom NAS hinterlegen ala CIFS.

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      wrote on last edited by
      #19

      @ostseeskipper

      Das hat mit dem user 'pi' nix zu tun, das Backup läuft unter dem user 'iobroker' ab. Idealerweise gibt es auf dem NFS-Server einen user mit der gleichen uid/gid wie der 'iobroker'. Namen sind Schall und Rauch, die uid ist ausschlaggebend.

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      1 Reply Last reply
      0
      • O Offline
        O Offline
        ostseeskipper
        wrote on last edited by
        #20

        @thomas-braun
        Danke.
        wie finde ich die UID/GID heraus?
        Bin mit Linux erst am Anfang.

        Thomas BraunT 1 Reply Last reply
        0
        • O ostseeskipper

          @thomas-braun
          Danke.
          wie finde ich die UID/GID heraus?
          Bin mit Linux erst am Anfang.

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          wrote on last edited by
          #21

          @ostseeskipper

          pi@chet:/opt/iobroker $ sudo -u iobroker id
          uid=1002(iobroker) gid=1002(iobroker) groups=1002(iobroker),5(tty),20(dialout),29(audio),44(video),112(bluetooth),114(redis),997(gpio),998(i2c)
          

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          O 2 Replies Last reply
          0
          • Thomas BraunT Thomas Braun

            @ostseeskipper

            pi@chet:/opt/iobroker $ sudo -u iobroker id
            uid=1002(iobroker) gid=1002(iobroker) groups=1002(iobroker),5(tty),20(dialout),29(audio),44(video),112(bluetooth),114(redis),997(gpio),998(i2c)
            
            O Offline
            O Offline
            ostseeskipper
            wrote on last edited by
            #22

            @thomas-braun said in BackItUp funktioniert weder mit NFS noch mit CIFS:

            sudo -u iobroker id

            
            pi@iobroker-pi:/opt/iobroker $ sudo -u iobroker id
            uid=1001(iobroker) gid=1001(iobroker) groups=1001(iobroker),5(tty),20(dialout),29(audio),44(video),112(bluetooth),997(gpio),998(i2c)
            pi@iobroker-pi:/opt/iobroker $
            
            
            O 1 Reply Last reply
            0
            • O ostseeskipper

              @thomas-braun said in BackItUp funktioniert weder mit NFS noch mit CIFS:

              sudo -u iobroker id

              
              pi@iobroker-pi:/opt/iobroker $ sudo -u iobroker id
              uid=1001(iobroker) gid=1001(iobroker) groups=1001(iobroker),5(tty),20(dialout),29(audio),44(video),112(bluetooth),997(gpio),998(i2c)
              pi@iobroker-pi:/opt/iobroker $
              
              
              O Offline
              O Offline
              ostseeskipper
              wrote on last edited by ostseeskipper
              #23

              und das ist auch so im Squash eingestellt
              "Root zu admin"

              1 Reply Last reply
              0
              • Thomas BraunT Thomas Braun

                @ostseeskipper

                pi@chet:/opt/iobroker $ sudo -u iobroker id
                uid=1002(iobroker) gid=1002(iobroker) groups=1002(iobroker),5(tty),20(dialout),29(audio),44(video),112(bluetooth),114(redis),997(gpio),998(i2c)
                
                O Offline
                O Offline
                ostseeskipper
                wrote on last edited by
                #24

                @thomas-braun
                Magst mir bitte noch verraten wo und wie ich auf dem NAS oder dem IoBroker Raspi das ändern kann?

                Thomas BraunT 1 Reply Last reply
                0
                • O ostseeskipper

                  @thomas-braun
                  Magst mir bitte noch verraten wo und wie ich auf dem NAS oder dem IoBroker Raspi das ändern kann?

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  wrote on last edited by
                  #25

                  @ostseeskipper
                  Was denn? Die Einstellungen zum user müssen auf dem Server getan werden.

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  O 1 Reply Last reply
                  0
                  • Thomas BraunT Thomas Braun

                    @ostseeskipper
                    Was denn? Die Einstellungen zum user müssen auf dem Server getan werden.

                    O Offline
                    O Offline
                    ostseeskipper
                    wrote on last edited by
                    #26

                    @thomas-braun

                    :man-shrugging: sorry keine Ahnung wie und wo?
                    Kann nur noch nen User anlegen, aber keine Ahnung was der für UID/GID bekommt bzw. wo ich das einstellen muss.

                    Thomas BraunT da_WoodyD 2 Replies Last reply
                    0
                    • O ostseeskipper

                      @thomas-braun

                      :man-shrugging: sorry keine Ahnung wie und wo?
                      Kann nur noch nen User anlegen, aber keine Ahnung was der für UID/GID bekommt bzw. wo ich das einstellen muss.

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      wrote on last edited by
                      #27

                      @ostseeskipper sagte in BackItUp funktioniert weder mit NFS noch mit CIFS:

                      keine Ahnung wie und wo?

                      Ich auch nicht. Ich kenne ja deinen NFS-Server nicht.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      O 1 Reply Last reply
                      0
                      • Thomas BraunT Thomas Braun

                        @ostseeskipper sagte in BackItUp funktioniert weder mit NFS noch mit CIFS:

                        keine Ahnung wie und wo?

                        Ich auch nicht. Ich kenne ja deinen NFS-Server nicht.

                        O Offline
                        O Offline
                        ostseeskipper
                        wrote on last edited by
                        #28

                        @thomas-braun
                        Ist eine Synology. Sorry das ich dir bestimmt grad aufn Keks gehe.
                        Putty auf das NAS und Verzeichniswechsel bekomm ich aber hin

                        Thomas BraunT 1 Reply Last reply
                        0
                        • O ostseeskipper

                          @thomas-braun
                          Ist eine Synology. Sorry das ich dir bestimmt grad aufn Keks gehe.
                          Putty auf das NAS und Verzeichniswechsel bekomm ich aber hin

                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          wrote on last edited by
                          #29

                          @ostseeskipper

                          Ich hab keine Synology im Einsatz.

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          1 Reply Last reply
                          0
                          • O ostseeskipper

                            @thomas-braun

                            :man-shrugging: sorry keine Ahnung wie und wo?
                            Kann nur noch nen User anlegen, aber keine Ahnung was der für UID/GID bekommt bzw. wo ich das einstellen muss.

                            da_WoodyD Online
                            da_WoodyD Online
                            da_Woody
                            wrote on last edited by
                            #30

                            @ostseeskipper machs doch einfach. auf der syno einen ordner anlegen wo das zeug gesichert werden soll.
                            79a44737-a8c0-4ca5-b3a7-65cb8ca3b78d-grafik.png
                            in backitup nimm deinen admin account.
                            0c5f1c3c-678a-4fb1-971c-e28f4adf928b-grafik.png
                            so ist meine syno eingestellt. läuft seit 2 jahren.
                            4e4b2597-1045-4f71-977a-acf2e268fd19-grafik.png

                            gruß vom Woody
                            HAPPINESS is not a DESTINATION, it's a WAY of LIFE!

                            O 1 Reply Last reply
                            0
                            • da_WoodyD da_Woody

                              @ostseeskipper machs doch einfach. auf der syno einen ordner anlegen wo das zeug gesichert werden soll.
                              79a44737-a8c0-4ca5-b3a7-65cb8ca3b78d-grafik.png
                              in backitup nimm deinen admin account.
                              0c5f1c3c-678a-4fb1-971c-e28f4adf928b-grafik.png
                              so ist meine syno eingestellt. läuft seit 2 jahren.
                              4e4b2597-1045-4f71-977a-acf2e268fd19-grafik.png

                              O Offline
                              O Offline
                              ostseeskipper
                              wrote on last edited by
                              #31

                              @da_woody
                              Danke, habe ich auch überlegt möchte das aber nicht mit CIFS machen.
                              Werde mir dann mal raussuchen was diese ominösen Zahlen der UID/GID sind und Shellbefehle suchen um die Rechte in dem Verzeichnis umzubiegen.

                              1 Reply Last reply
                              0
                              • E EdVonSchleck

                                @thomas-braun
                                ok, hab's gecheckt, musste wieder auf "Root zu admin zuordnen" in der Syno umstellen, dann hat's geklappt

                                vielen vielen Dank euch allen, jetzt läuft's!

                                M Offline
                                M Offline
                                mooly
                                wrote on last edited by
                                #32

                                @edvonschleck

                                Hi,

                                kannst du mir sagen, wo du das Password eingetragen hast? Also um das Verzeichnis zu mounten? Ich habe zwar "als Root mounten" ausgewählt und auch in der Syno eingestellt "root -> admin" aber wo trage ich in backuitup das PW für den root/admin Nutzer der syno ein?

                                da_WoodyD 1 Reply Last reply
                                0
                                • M mooly

                                  @edvonschleck

                                  Hi,

                                  kannst du mir sagen, wo du das Password eingetragen hast? Also um das Verzeichnis zu mounten? Ich habe zwar "als Root mounten" ausgewählt und auch in der Syno eingestellt "root -> admin" aber wo trage ich in backuitup das PW für den root/admin Nutzer der syno ein?

                                  da_WoodyD Online
                                  da_WoodyD Online
                                  da_Woody
                                  wrote on last edited by
                                  #33

                                  @mooly 98af8806-fb6f-479c-9daa-9a7ab8268339-grafik.png

                                  gruß vom Woody
                                  HAPPINESS is not a DESTINATION, it's a WAY of LIFE!

                                  M 2 Replies Last reply
                                  0
                                  • da_WoodyD da_Woody

                                    @mooly 98af8806-fb6f-479c-9daa-9a7ab8268339-grafik.png

                                    M Offline
                                    M Offline
                                    mooly
                                    wrote on last edited by
                                    #34

                                    @da_woody

                                    Hallo!

                                    Vielen Dank, diese Auswahl habe ich aber nur bei CIFS nicht NFS.

                                    Funktioniert CIFS ohne Weiteres?

                                    LG

                                    da_WoodyD 1 Reply Last reply
                                    0
                                    • da_WoodyD da_Woody

                                      @mooly 98af8806-fb6f-479c-9daa-9a7ab8268339-grafik.png

                                      M Offline
                                      M Offline
                                      mooly
                                      wrote on last edited by
                                      #35

                                      @da_woody

                                      Vielleicht noch zur Info: ich habe in der syno Freigabe NFS aktiviert und auch die IP des Raspberry eingetragen,... sollte ja so klappen auch ohne Benutzer/Pw?

                                      1 Reply Last reply
                                      0
                                      • M mooly

                                        @da_woody

                                        Hallo!

                                        Vielen Dank, diese Auswahl habe ich aber nur bei CIFS nicht NFS.

                                        Funktioniert CIFS ohne Weiteres?

                                        LG

                                        da_WoodyD Online
                                        da_WoodyD Online
                                        da_Woody
                                        wrote on last edited by
                                        #36

                                        @mooly sagte in BackItUp funktioniert weder mit NFS noch mit CIFS:

                                        Funktioniert CIFS ohne Weiteres?

                                        bei mir ja.

                                        gruß vom Woody
                                        HAPPINESS is not a DESTINATION, it's a WAY of LIFE!

                                        M 1 Reply Last reply
                                        0
                                        • da_WoodyD da_Woody

                                          @mooly sagte in BackItUp funktioniert weder mit NFS noch mit CIFS:

                                          Funktioniert CIFS ohne Weiteres?

                                          bei mir ja.

                                          M Offline
                                          M Offline
                                          mooly
                                          wrote on last edited by
                                          #37

                                          @da_woody

                                          Bei NFS bekomme ich ein "access Denied" obwohl die IP eingetragen ist.

                                          Keine Ahnung.

                                          HomoranH Thomas BraunT 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          441

                                          Online

                                          32.7k

                                          Users

                                          82.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe