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 BenjaminCz

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

      mount | sort

      pi@raspberrypi:~ $ mount | sort
      bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
      cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
      configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
      debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
      /dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro)
      /dev/mmcblk0p2 on / type ext4 (rw,noatime)
      devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
      devtmpfs on /dev type devtmpfs (rw,relatime,size=1800664k,nr_inodes=84204,mode=755)
      fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
      mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
      proc on /proc type proc (rw,relatime)
      securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
      sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
      sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
      systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
      tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
      tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
      tmpfs on /run type tmpfs (rw,nosuid,nodev,size=786212k,nr_inodes=819200,mode=755)
      tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=393104k,nr_inodes=98276,mode=700,uid=1000,gid=1000)
      tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
      
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @BenjaminCz last edited by

        @benjamincz

        Weiter umounten. Bis das alles weg ist.

        B 1 Reply Last reply Reply Quote 0
        • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            651
                                            Online

                                            31.9k
                                            Users

                                            80.3k
                                            Topics

                                            1.3m
                                            Posts

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