Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Backitup kein JavaScript Restore möglich!

    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

    Backitup kein JavaScript Restore möglich!

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

      @thomas-braun erledigt
      siehe oben

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

        @benjamincz

        Jetzt mal ein stinknormales Backitup-Backup manuell ausführen.
        Währenddessen nochmal in

        mount | sort
        

        schauen was da wohin gemountet wird.

        B 1 Reply Last reply Reply Quote 0
        • B
          BenjaminCz @Thomas Braun last edited by

          @thomas-braun
          bin noch beschäftigt es auszu Probieren da leider error kommt beim mounten. (NFS)
          1.jpg 2.jpg

          B Thomas Braun 2 Replies Last reply Reply Quote 0
          • B
            BenjaminCz @BenjaminCz last edited by

            @benjamincz
            Started iobroker ...
            [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.178.58/:/IOBroker-Backup/IOBroker /opt/iobroker/backups"
            [ERROR] [mount] - [undefined mount.nfs: Failed to resolve server 192.168.178.58/: Name or service not known

            [ERROR] [mount] - Error: Command failed: sudo mount 192.168.178.58/:/IOBroker-Backup/IOBroker /opt/iobroker/backups
            mount.nfs: Failed to resolve server 192.168.178.58/: Name or service not known

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

              @benjamincz

              Jetzt NFS?
              Der Freigabepfad ist falsch.
              Muss
              IOBroker-Backup
              lauten. Im Übrigen ist Groß/Kleinschreibung nur ein zusätzlicher Stolperstein. Schreib Verzeichnisnamen durchweg klein.

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

                @benjamincz sagte in Backitup kein JavaScript Restore möglich!:

                192.168.178.58/:/IOBroker-Backup

                Das muss wohl

                192.168.178.58:/IOBroker-Backup
                

                lauten.

                B 1 Reply Last reply Reply Quote 0
                • B
                  BenjaminCz @Thomas Braun last edited by

                  @thomas-braun
                  jetzt kommt der Fehler:

                  Started iobroker ...
                  [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.178.58:/IOBroker-Backup :/IOBroker-Backup\IOBroker /opt/iobroker/backups"
                  [ERROR] [mount] - [undefined mount: bad usage
                  Try 'mount --help' for more information.

                  [ERROR] [mount] - Error: Command failed: sudo mount 192.168.178.58:/IOBroker-Backup :/IOBroker-Backup\IOBroker /opt/iobroker/backups
                  mount: bad usage
                  Try 'mount --help' for more information.

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

                    @benjamincz
                    Installiere mal die nfs-common

                    sudo apt install nfs-common
                    
                    B 1 Reply Last reply Reply Quote 0
                    • B
                      BenjaminCz @simatec last edited by BenjaminCz

                      @simatec said in Backitup kein JavaScript Restore möglich!:

                      sudo apt install nfs-commons

                      pi@raspberrypi:~ $ pi@raspberrypi:~ $ sudo apt install nfs-commons
                      Reading package lists... Done
                      Building dependency tree... Done
                      Reading state information... Done
                      E: Unable to locate package nfs-commons
                      pi@raspberrypi:~ $
                      sudo apt install nfs-common
                      -bash: pi@raspberrypi:~: command not found
                      -bash: Reading: command not found
                      -bash: Building: command not found
                      -bash: Reading: command not found
                      -bash: E:: command not found
                      -bash: pi@raspberrypi:~: command not found
                      Reading package lists... Done
                      Building dependency tree... Done
                      Reading state information... Done
                      nfs-common is already the newest version (1:1.3.4-6).
                      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                      pi@raspberrypi:~ $
                      
                      
                      simatec Thomas Braun 2 Replies Last reply Reply Quote 0
                      • simatec
                        simatec Developer Most Active @BenjaminCz last edited by

                        @benjamincz

                        Sorry verschrieben

                        nfs-common

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

                          @benjamincz

                          sudo mount 192.168.178.58:/IOBroker-Backup :/IOBroker-Backup\IOBroker /opt/iobroker/backups
                          

                          Zu viele Leerzeichen und die Freigabe doppelt. Vermutlich sollte es

                          sudo mount 192.168.178.58:/IOBroker-Backup /opt/iobroker/backups
                          

                          lauten.
                          Und bitte verwende CodeTags, dann sieht man sowas auch viel schneller.

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            BenjaminCz @Thomas Braun last edited by

                            @thomas-braun

                            Started iobroker ...
                            [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.178.58:/:/IOBroker-Backup /opt/iobroker/backups"
                            [ERROR] [mount] - [undefined mount.nfs: access denied by server while mounting 192.168.178.58:/:/IOBroker-Backup
                            
                            [ERROR] [mount] - Error: Command failed: sudo mount 192.168.178.58:/:/IOBroker-Backup /opt/iobroker/backups
                            mount.nfs: access denied by server while mounting 192.168.178.58:/:/IOBroker-Backup
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @BenjaminCz last edited by

                              @benjamincz sagte in Backitup kein JavaScript Restore möglich!:

                              192.168.178.58:/:/IOBroker-Backup

                              Immer noch ein falscher Pfad...

                              192.168.178.58:/IOBroker-Backup
                              

                              muss das.

                              B 1 Reply Last reply Reply Quote 0
                              • B
                                BenjaminCz @Thomas Braun last edited by

                                @thomas-braun

                                Started iobroker ...
                                [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.178.58:/IOBroker-Backup /opt/iobroker/backups"
                                [ERROR] [mount] - [undefined mount.nfs: access denied by server while mounting 192.168.178.58:/IOBroker-Backup
                                
                                [ERROR] [mount] - Error: Command failed: sudo mount 192.168.178.58:/IOBroker-Backup /opt/iobroker/backups
                                mount.nfs: access denied by server while mounting 192.168.178.58:/IOBroker-Backup
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • L
                                  legro @simatec last edited by

                                  @simatec said in Backitup kein JavaScript Restore möglich!:

                                  Vielen Dank für deine Rückmeldung

                                  @legro .. auf dem NAS, denn dort fehlen dir Schreibrechte für Unterordner ..

                                  Das ist definitiv nicht der Fall. Der verwendete User ioBroker hat auf den in der Fritz!Box 7590 volle Zugriffsrechte. So kann er beispielsweise problemlos die verschiedenen Unterordner für die getrennte Speicherung der Backup-Dateien anlegen. Daran sollte es also in meinem Falle nicht liegen.

                                  a3309ec6-a3ca-4fc0-94c1-c73b34023620-image.png

                                  .. oder du legst die Backup vor dem Restore lokal ab und startest den Restore lokal.

                                  Hierzu muss ich die Dateien von ZigBee und YAHKA in das Verzeichnis "/opt/iobroker/backups" kopieren. Verstehe ich das richtig?

                                  Das werde ich morgen früh einmal probieren.

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

                                    @benjamincz

                                    Und die Rechte an der Freigabe sehen wie aus?
                                    Bei NFS sollte es (im einfachsten Fall) die gleiche uid/gid wie der user 'iobroker' sein.

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

                                      @legro sagte in Backitup kein JavaScript Restore möglich!:

                                      in der Fritz!Box 7590

                                      Der interne CIFS? Muss mit 'noserverino' und SMB Protokoll 3.1.1 gemountet werden.

                                      L 1 Reply Last reply Reply Quote 0
                                      • B
                                        BenjaminCz @Thomas Braun last edited by

                                        @thomas-braun da ist alles beim alten Geblieben. Muss der ordner öffentlich sein weil da ist ein Passwort drin.
                                        im Nas steht die Freigabe so:
                                        Bereitstellungspunkt: nfs://192.168.178.58/nfs/test

                                        nicht wundern ich habe einen neuen ordner erstellt wo leer ist. Evtl. habe ich die einstelllungen falsch im Backitup ?
                                        1.jpg

                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • L
                                          legro @Thomas Braun last edited by legro

                                          @thomas-braun said in Backitup kein JavaScript Restore möglich!:

                                          @legro sagte in Backitup kein JavaScript Restore möglich!:

                                          in der Fritz!Box 7590

                                          Der interne CIFS? Muss mit 'noserverino' und SMB Protokoll 3.1.1 gemountet werden.

                                          Aber klar doch. Ich habe mir hierzu sogar eine eigene Anleitung geschrieben, als ich mich - damals noch vergeblich - an den Umstieg von Buster 32bit auf Bullseye 64bit wagte. Mittlerweile sind viele Ungereimtheiten (YAHKA pam-devil, ZigBee, Vis, ..) beseitigt, die mich damals zur Aufgabe trieben. Mittlerweile reicht's offenbar, Vis und Webserver in eine leere ioBroker Installation einzupflegen, um anschließend mittels BackItUp erfolgreich eine Backup aus Buster einzuspielen.

                                          Daran liegt's offenbar auch nicht.

                                          Bitte mir jetzt nicht auch den Rat geben, CIFS in die Tonne zu klopfen. Ich benötige die Fritz!Box für die Zugriffe von Windows PCs.

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

                                            @benjamincz sagte in Backitup kein JavaScript Restore möglich!:

                                            Muss der ordner öffentlich sein weil da ist ein Passwort drin.

                                            Der Ordner muss dem gleichen user wie auf dem Raspberry gehören.
                                            Meist ist das

                                            echad@chet:~ $ sudo -u iobroker id
                                            uid=1001(iobroker) gid=1001(iobroker)
                                            
                                            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

                                            942
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            103
                                            3899
                                            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