Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Backup von CCU nicht 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

    Backup von CCU nicht möglich

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

      @thomas-braun
      Sry wie prüfe ich das?

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

        @igor123

        ls -l /opt/iobroker/backups
        
        I 1 Reply Last reply Reply Quote 0
        • I
          igor123 @Thomas Braun last edited by

          @thomas-braun

          pi@raspberrypi:~ $ ls -l /opt/iobroker/backups
          insgesamt 91132
          -rwxrwxrwx 1 root root 85718337 28. Feb 15:40 2022_02_28-15_40_13_backupiobroker                                                                                                                                                                                                                                             .tar.gz
          -rwxrwxrwx 1 root root  1515946 25. Feb 13:23 homematic_2022_02_25-13_23_50_3.61                                                                                                                                                                                                                                             .7_backupiobroker.tar.sbk
          -rwxrwxrwx 1 root root  1515946 26. Feb 06:15 homematic_2022_02_26-06_15_22_3.61                                                                                                                                                                                                                                             .7_backupiobroker.tar.sbk
          -rwxrwxrwx 1 root root  1515946 27. Feb 10:10 homematic_2022_02_27-10_10_03_3.61                                                                                                                                                                                                                                             .7_backupiobroker.tar.sbk
          -rwxrwxrwx 1 root root  1515946 28. Feb 11:16 homematic_2022_02_28-11_16_33_3.61                                                                                                                                                                                                                                             .7_backupiobroker.tar.sbk
          -rwxrwxrwx 1 root root  1515946 25. Mär 17:11 homematic_2022_03_25-17_11_01_3.61                                                                                                                                                                                                                                             .7_backupiobroker.tar.sbk
          
          

          hier die antwort

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

            @igor123

            Wie gesagt: Muss leer sein. Und die Backups dürften eigentlich nicht root gehören, weil der für solche Aktionen gar nicht aktiv sein sollte.

            Da ist also was falsch konfiguriert.

            1 Reply Last reply Reply Quote 0
            • I
              igor123 last edited by

              @thomas-braun
              Hmm das mit root lass ich mir nur so erklären, dass ich den Hacken bei "mount als root" drinne habe. Aber warum der ordner nicht leer ist.. hmm
              Weiß nicht so recht wo und wie ich den Fehler suchen soll ...

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

                @igor123 Wie wird das homematic-Backup denn erstellt?

                Ich würde die Dateien löschen.

                I 1 Reply Last reply Reply Quote 0
                • I
                  igor123 @Thomas Braun last edited by igor123

                  @thomas-braun via backitup auf die NAS.
                  Jedesmal wird nun dort eine Datei angelegt.
                  ob die jedoch fehlerhaft erstellt wird oder nicht kann ich so nicht erstellen

                  Habe nun den Ordner geleert und die option "noserverino" entfernt sowie die option "als Root benutzer mounten" entfernt - das Backup funkt nicht:

                  Ohne no serverino und ohne Root-option

                  Started ccu ...
                  [DEBUG] [mount] - noserverino option: false
                  [DEBUG] [mount] - cifs-mount command: "mount -t cifs -o username=iobroker,password=****,rw,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.1.9/io-backup/ccu /opt/iobroker/backups"
                  [DEBUG] [mount] - first mount attempt with smb option failed. try next mount attempt without smb option ...
                  [DEBUG] [mount] - cifs-mount command: "mount -t cifs -o username=iobroker,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.1.9/io-backup/ccu /opt/iobroker/backups"
                  [ERROR] [mount] - [undefined Error: Command failed: mount -t cifs -o username=iobroker,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.1.9/io-backup/ccu /opt/iobroker/backups
                  mount.cifs: permission denied: no match for /opt/iobroker/backups found in /etc/fstab
                  
                  [ERROR] [mount] - Error: Command failed: mount -t cifs -o username=iobroker,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.1.9/io-backup/ccu /opt/iobroker/backups
                  mount.cifs: permission denied: no match for /opt/iobroker/backups found in /etc/fstab
                  

                  aktiviere ich die "noserverino"-Option, funkt es auch nicht:

                  Mit noserverino, ohne root-option

                  Started ccu ...
                  [DEBUG] [mount] - noserverino option: true
                  [DEBUG] [mount] - cifs-mount command: "mount -t cifs -o username=iobroker,password=****,noserverino,rw,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.1.9/io-backup/ccu /opt/iobroker/backups"
                  [DEBUG] [mount] - first mount attempt with smb option failed. try next mount attempt without smb option ...
                  [DEBUG] [mount] - cifs-mount command: "mount -t cifs -o username=iobroker,password=****,noserverino,rw,file_mode=0777,dir_mode=0777 //192.168.1.9/io-backup/ccu /opt/iobroker/backups"
                  [ERROR] [mount] - [undefined Error: Command failed: mount -t cifs -o username=iobroker,password=****,noserverino,rw,file_mode=0777,dir_mode=0777 //192.168.1.9/io-backup/ccu /opt/iobroker/backups
                  mount.cifs: permission denied: no match for /opt/iobroker/backups found in /etc/fstab
                  
                  [ERROR] [mount] - Error: Command failed: mount -t cifs -o username=iobroker,password=****,noserverino,rw,file_mode=0777,dir_mode=0777 //192.168.1.9/io-backup/ccu /opt/iobroker/backups
                  mount.cifs: permission denied: no match for /opt/iobroker/backups found in /etc/fstab
                  

                  füge ich noch die option zum rooten als Mount hinzu, funkt alles einwandfrei:
                  Mit noserverino, mit root-option

                  Started ccu ...
                  [DEBUG] [mount] - mount activ... umount is started before mount!!
                  [DEBUG] [mount] - umount successfully completed
                  [DEBUG] [mount] - noserverino option: true
                  [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=iobroker,password=****,noserverino,rw,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.1.9/io-backup/ccu /opt/iobroker/backups"
                  [DEBUG] [mount] - mount successfully completed
                  [DEBUG] [mount] - done
                  [DEBUG] [ccu] - CCU-Backup started ...
                  [DEBUG] [ccu] - CCU Version: 3.61.7
                  [DEBUG] [ccu] - Requesting backup from CCU
                  [DEBUG] [ccu] - CCU-Backup for is finish
                  [DEBUG] [ccu] - done
                  [DEBUG] [cifs] - done
                  [DEBUG] [clean] - done
                  [DEBUG] [whatsapp] - 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] 0
                  

                  Ahja und hier noch die option ohne noserverino jedoch mit sudo-rechte, wo es jedoch auch nicht funkt:

                  ohne serverino, mit root-option

                  Started ccu ...
                  [DEBUG] [mount] - mount activ... umount is started before mount!!
                  [DEBUG] [mount] - umount successfully completed
                  [DEBUG] [mount] - noserverino option: false
                  [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=iobroker,password=****,rw,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.1.9/io-backup/ccu /opt/iobroker/backups"
                  [DEBUG] [mount] - first mount attempt with smb option failed. try next mount attempt without smb option ...
                  [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=iobroker,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.1.9/io-backup/ccu /opt/iobroker/backups"
                  [ERROR] [mount] - [undefined Error: Command failed: sudo mount -t cifs -o username=iobroker,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.1.9/io-backup/ccu /opt/iobroker/backups
                  mount error(16): Device or resource busy
                  Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
                  
                  [ERROR] [mount] - Error: Command failed: sudo mount -t cifs -o username=iobroker,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.1.9/io-backup/ccu /opt/iobroker/backups
                  mount error(16): Device or resource busy
                  Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
                  

                  der Ordner /opt/iobroker/backups bleibt nun leer. die CCU-Backupdatei wird dabei erfolgreich auf die NAS abgelegt.
                  Aber irgendwas ist da im busch, wenn man ja die option noserverino eigentlich nicht verwenden sollte und erst recht nicht die Sudo-Option... 😕

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

                    @igor123

                    Mounten als root ist schon okay. Nimm halt die Einstellungen die funktionieren.

                    1 Reply Last reply Reply Quote 0
                    • I
                      igor123 last edited by

                      @thomas-braun
                      Kein Thema, kann ich ja gerne machen.
                      Nur sagtest du dass es nicht als root sein sollte und ebenso die option noserverino ebenso nicht aktiv sein sollte. hmm

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

                        @igor123 mounten muss schon der root und wenn es nur per noserverino geht, dann ist das so.

                        Ich vermute aber, dass die Backupdateien nicht dem Riot gehören sollten. Da ich aber keine CCU habe kann ich es auch nicht bestimmt sagen.

                        I 1 Reply Last reply Reply Quote 0
                        • I
                          igor123 @Thomas Braun last edited by

                          @thomas-braun ahso okay
                          naja ich würd gerne irgendwie rausfinden warum es nur per noserverino geht - nicht dass ich da woanders einen fehler habe der sich evtl. irgendwo unbemerkt mit-zieht
                          bin eher der der auch gerne verstehen würde warum etwas so ist wie es ist 😀

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          764
                          Online

                          31.9k
                          Users

                          80.1k
                          Topics

                          1.3m
                          Posts

                          3
                          22
                          769
                          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