Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] Backitup kann influxdb Datenbank nicht sichern.

    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

    [gelöst] Backitup kann influxdb Datenbank nicht sichern.

    This topic has been deleted. Only users with topic management privileges can see it.
    • Christian Kohlöffel
      Christian Kohlöffel @simatec last edited by

      @simatec

      Leider immernoch derselbe Fehler ...

      Hier das Log dazu:

      backitup.0	2021-04-12 20:47:50.452	debug	(3277) [iobroker/influxDB] backup: copy: read /opt/iobroker/backups/influxDB_2021_04_12-20_47_48_backupiobroker/meta.00: input/output error
      backitup.0	2021-04-12 20:47:50.451	debug	(3277) [iobroker/influxDB] [IGNORED] Error: Command failed: influxd backup -portable -database iobroker "/opt/iobroker/backups/influxDB_2021_04_12-20_47_48_backupiobroker"
      backitup.0	2021-04-12 20:47:50.449	debug	(3277) [iobroker/influxDB] InfluxDB tmp directory was successfully deleted
      backitup.0	2021-04-12 20:47:50.377	debug	(3277) [iobroker/influxDB] Try deleting the InfluxDB tmp directory
      backitup.0	2021-04-12 20:47:49.603	debug	(3277) [iobroker/influxDB] InfluxDB Backup tmp directory created
      backitup.0	2021-04-12 20:47:48.932	debug	(3277) [iobroker/influxDB] Start InfluxDB Backup ...
      

      Hier der output von dmesg -T

      [Mon Apr 12 20:46:53 2021] CIFS: VFS: Use of the less secure dialect vers=1.0 is                                                                                                                                                              not recommended unless required for access to very old servers
      [Mon Apr 12 20:47:05 2021] CIFS: VFS: RFC1001 size 39 smaller than SMB for mid=2                                                                                                                                                             5
      [Mon Apr 12 20:47:05 2021] 00000000: 27000000 424d53ff 00000074 40018800  ...'.S                                                                                                                                                             MBt......@
      [Mon Apr 12 20:47:05 2021] 00000010: 00000000 00000000 00000000 0e5d0000  ......                                                                                                                                                             ........].
      [Mon Apr 12 20:47:05 2021] 00000020: f4 01 19 00 03 ff 00 00 00 00 00                                                                                                                                                                              ...........
      [Mon Apr 12 20:47:05 2021] CIFS: VFS: \\192.168.178.1 cifs_put_smb_ses: Session                                                                                                                                                              Logoff failure rc=-5
      [Mon Apr 12 20:47:39 2021] CIFS: Attempting to mount //192.168.178.1/fritz.nas/K                                                                                                                                                             INGSTON/iOBroker_Backups
      [Mon Apr 12 20:47:39 2021] CIFS: VFS: Use of the less secure dialect vers=1.0 is                                                                                                                                                              not recommended unless required for access to very old servers
      [Mon Apr 12 20:47:49 2021] CIFS: VFS: bogus file nlink value 0
      [Mon Apr 12 20:47:49 2021] CIFS: VFS: bogus file nlink value 0
      [Mon Apr 12 20:47:53 2021] CIFS: VFS: bogus file nlink value 0
      [Mon Apr 12 20:47:58 2021] CIFS: VFS: RFC1001 size 39 smaller than SMB for mid=4                                                                                                                                                             40
      [Mon Apr 12 20:47:58 2021] 00000000: 27000000 424d53ff 00000074 40018800  ...'.S                                                                                                                                                             MBt......@
      [Mon Apr 12 20:47:58 2021] 00000010: 00000000 00000000 00000000 136b0000  ......                                                                                                                                                             ........k.
      [Mon Apr 12 20:47:58 2021] 00000020: f4 01 b8 01 03 ff 00 00 00 00 00                                                                                                                                                                              ...........
      [Mon Apr 12 20:47:58 2021] CIFS: VFS: \\192.168.178.1 cifs_put_smb_ses: Session                                                                                                                                                              Logoff failure rc=-5
      
      
      Christian Kohlöffel 1 Reply Last reply Reply Quote 0
      • Christian Kohlöffel
        Christian Kohlöffel @Christian Kohlöffel last edited by

        @christian-kohlöffel said in Backitup kann influxdb Datenbank nicht sichern.:

        CIFS: VFS: bogus file nlink value 0

        Nun habe ich noch auf smbv3 umgestellt und siehe da
        ==> ES FUNKTIONIERT

        Vielen Dank für euren TOP Support und die Ausdauer beim Debugging ....

        Started iobroker ...
        [DEBUG] [mount] - mount activ... umount is started before mount!!
        [DEBUG] [mount] - umount successfully completed
        [DEBUG] [mount] - mount successfully completed
        [DEBUG] [mount] - done
        [DEBUG] [iobroker] - host.raspberrypi 2156 states saved
        
        [DEBUG] [iobroker] - host.raspberrypi 2575 objects saved
        
        [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_04_12-20_52_56_backupiobroker.tar.gz
        
        [DEBUG] [iobroker] - done
        [DEBUG] [influxDB] - Start InfluxDB Backup ...
        [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
        [DEBUG] [influxDB] - Packed 28MB so far...
        [DEBUG] [influxDB] - Packed 63MB so far...
        [DEBUG] [influxDB] - Packed 73MB so far...
        [DEBUG] [influxDB] - Packed 92MB so far...
        [DEBUG] [influxDB] - Packed 129MB so far...
        [DEBUG] [influxDB] - Packed 140MB so far...
        [DEBUG] [influxDB] - Packed 153MB so far...
        [DEBUG] [influxDB] - Packed 194MB so far...
        [DEBUG] [influxDB] - Packed 212MB so far...
        [DEBUG] [influxDB] - Packed 218MB so far...
        [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2021_04_12-20_53_07_backupiobroker.tar.gz
        [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
        [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
        [DEBUG] [influxDB] - done
        [DEBUG] [redis] - Start Redis Backup ...
        [DEBUG] [redis] - Created redistmp directory
        [DEBUG] [redis] - Backup created: /opt/iobroker/backups/redis_2021_04_12-20_57_52_backupiobroker.tar.gz
        [DEBUG] [redis] - Try deleting the redis tmp directory: "/opt/iobroker/backups/redistmp"
        [DEBUG] [redis] - redis tmp directory "/opt/iobroker/backups/redistmp" successfully deleted
        [DEBUG] [redis] - 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] 0
        
        Thomas Braun simatec 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Christian Kohlöffel last edited by

          @christian-kohlöffel
          Die Version mit aktiver Option noserverino ?

          Christian Kohlöffel 1 Reply Last reply Reply Quote 0
          • Christian Kohlöffel
            Christian Kohlöffel @Thomas Braun last edited by

            @thomas-braun

            Ja genau, in Verbindung mit Samba Version 3.0.
            Samba Version 1.0 hat ebenfalls nicht funktioniert.

            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Christian Kohlöffel last edited by Thomas Braun

              @christian-kohlöffel smb 1.0 sollte man auch nicht mehr verwenden. Ich hab bei mir aber 3.1.1 im Adapter eingestellt.

              1 Reply Last reply Reply Quote 0
              • simatec
                simatec Developer Most Active @Christian Kohlöffel last edited by simatec

                @christian-kohlöffel
                Gerne ... freut mich, dass es nun geht. Du bist zwar mir bekannt der Einzige mit diesem Problem von einigen tausend, die Backitup nutzen, aber es hilft sicher auch anderen.

                Ich werde die Option „noserverino“ in der nächsten Version in der Config auswählbar machen.

                Also bei dem nächsten Update musst du dann nochmal in der Config unter „NAS / Kopieren“ die Option auswählen.

                Christian Kohlöffel 1 Reply Last reply Reply Quote 0
                • Christian Kohlöffel
                  Christian Kohlöffel @simatec last edited by Christian Kohlöffel

                  @simatec

                  Komisch, es geht aber schon wieder nicht mehr ....
                  Also nur einmal. Nochmaliges Backup und wieder dieselbe Fehler Meldung. Ich starte mal nochmals neu etc. und schaue nochmals mit anderen smb Versionen.

                  simatec 1 Reply Last reply Reply Quote 0
                  • simatec
                    simatec Developer Most Active @Christian Kohlöffel last edited by

                    @christian-kohlöffel
                    Hast du wie Thomas empfohlen hat die 3.1.1 ausgewählt und in der FB Konfig smb v1 deaktiviert?

                    Christian Kohlöffel 1 Reply Last reply Reply Quote 0
                    • Christian Kohlöffel
                      Christian Kohlöffel @simatec last edited by

                      @simatec

                      Probiere ich gleich mal aus. Nach einem Neustart scheint es dann auch wieder zu gehen.

                      Jetzt mache ich das gleiche gleich nochmals ....

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Christian Kohlöffel last edited by

                        @christian-kohlöffel
                        Ist eigentlich das Verzeichnis
                        /opt/iobroker/backups
                        leer, wenn die Fritzbox nicht gemountet ist?

                        Christian Kohlöffel 1 Reply Last reply Reply Quote 0
                        • Christian Kohlöffel
                          Christian Kohlöffel @Thomas Braun last edited by Christian Kohlöffel

                          @thomas-braun

                          Scheint nicht so, könnte aber durch das viele ausprobieren passiert sein, oder?:

                          
                          pi@raspberrypi:/opt/iobroker/backups $ ls
                          2020_10_16-11_01_16_backupiobroker.tar.gz            iobroker_2021_04_11-11_01_47_backupiobroker.tar.gz
                          2020_11_14-12_17_24_backupiobroker-migration.tar.gz  iobroker_2021_04_12-11_29_39_backupiobroker.tar.gz
                          influxDB_2021_04_06-13_08_09_backupiobroker          iobroker_2021_04_12-11_31_07_backupiobroker.tar.gz
                          influxDB_2021_04_06-20_42_54_backupiobroker          minimal_2019_07_05-16_31_00_backupiobroker.tar.gz
                          influxDB_2021_04_10-11_16_08_backupiobroker          minimal_2019_07_05-16_34_26_backupiobroker.tar.gz
                          influxDB_2021_04_10-11_19_37_backupiobroker          minimal_2019_07_05-16_38_03_backupiobroker.tar.gz
                          influxDB_2021_04_10-11_19_37_backupiobroker.tar.gz   minimal_2019_07_05-16_39_57_backupiobroker.tar.gz
                          influxDB_2021_04_10-11_26_55_backupiobroker.tar.gz   minimal_2019_07_05-16_44_06_backupiobroker.tar.gz
                          influxDB_2021_04_10-14_09_39_backupiobroker          minimal_2019_07_05-16_44_52_backupiobroker.tar.gz
                          influxDB_2021_04_10-14_16_00_backupiobroker.tar.gz   minimal_2019_07_05-16_45_40_backupiobroker.tar.gz
                          influxDB_2021_04_10-14_25_24_backupiobroker.tar.gz   minimal_2019_07_05-16_49_17_backupiobroker.tar.gz
                          influxDB_2021_04_11-10_42_17_backupiobroker.tar.gz   minimal_2019_07_05-16_51_12_backupiobroker.tar.gz
                          influxDB_2021_04_11-11_01_55_backupiobroker.tar.gz   redis_2021_04_12-11_29_53_backupiobroker.tar.gz
                          iobroker_2021_04_06-13_08_01_backupiobroker.tar.gz   redis_2021_04_12-11_31_16_backupiobroker.tar.gz
                          iobroker_2021_04_10-11_15_57_backupiobroker.tar.gz   total_2019_07_22-03_00_21_backupiobroker.tar.gz
                          iobroker_2021_04_10-11_19_29_backupiobroker.tar.gz   total_2019_07_23-03_00_20_backupiobroker.tar.gz
                          iobroker_2021_04_10-11_26_47_backupiobroker.tar.gz   total_2019_07_30-03_00_21_backupiobroker.tar.gz
                          iobroker_2021_04_10-14_09_31_backupiobroker.tar.gz   total_2019_08_11-03_00_21_backupiobroker.tar.gz
                          iobroker_2021_04_10-14_15_51_backupiobroker.tar.gz   total_2019_08_25-03_00_21_backupiobroker.tar.gz
                          iobroker_2021_04_10-14_25_16_backupiobroker.tar.gz   total_2019_08_26-17_26_29_backupiobroker.tar.gz
                          iobroker_2021_04_11-10_42_09_backupiobroker.tar.gz   total_2019_08_26-19_22_49_backupiobroker.tar.gz
                          pi@raspberrypi:/opt/iobroker/backups $
                          
                          
                          Thomas Braun simatec 2 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Christian Kohlöffel last edited by

                            @christian-kohlöffel
                            Mountpunkte müssen/sollten leer sein. Sonst hast du da ggf Doubletten bei den inodes.
                            Da deuten ja auch die Meldungen drauf hin. Mach das Verzeichnis mal leer. Entweder löschen oder da wegschieben.

                            1 Reply Last reply Reply Quote 0
                            • simatec
                              simatec Developer Most Active @Christian Kohlöffel last edited by simatec

                              @christian-kohlöffel
                              Mache mal ein

                              sudo umount /opt/iobroker/backups
                              

                              Schaue dann nochmal ... Bei meinen Systemen liegen aber auch lokal Backups und das tut dem mount nix. Also bei mir zumindest noch nie Probleme gehabt. Nutze allerdings hauptsächlich NFS

                              Thomas Braun Christian Kohlöffel 2 Replies Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @simatec last edited by

                                @simatec sagte in Backitup kann influxdb Datenbank nicht sichern.:

                                Bei meinen Systemen liegen aber such lokal Backups und das tut dem mount nix

                                Solange die inodes unterschiedliche Nummerierung haben ist das auch kein großes Problem. Wenn die allerdings auf den beiden Dateisystemen gleich lautend sich überlagern hast du ein Problem.

                                1 Reply Last reply Reply Quote 0
                                • Christian Kohlöffel
                                  Christian Kohlöffel @simatec last edited by

                                  @simatec

                                  pi@raspberrypi:/opt/iobroker/backups $ sudo umount /opt/iobroker/backups
                                  umount: /opt/iobroker/backups: not mounted.
                                  
                                  pi@raspberrypi:/opt/iobroker/backups $ ls
                                  2020_10_16-11_01_16_backupiobroker.tar.gz            iobroker_2021_04_11-11_01_47_backupiobroker.tar.gz
                                  2020_11_14-12_17_24_backupiobroker-migration.tar.gz  iobroker_2021_04_12-11_29_39_backupiobroker.tar.gz
                                  influxDB_2021_04_06-13_08_09_backupiobroker          iobroker_2021_04_12-11_31_07_backupiobroker.tar.gz
                                  influxDB_2021_04_06-20_42_54_backupiobroker          minimal_2019_07_05-16_31_00_backupiobroker.tar.gz
                                  influxDB_2021_04_10-11_16_08_backupiobroker          minimal_2019_07_05-16_34_26_backupiobroker.tar.gz
                                  influxDB_2021_04_10-11_19_37_backupiobroker          minimal_2019_07_05-16_38_03_backupiobroker.tar.gz
                                  influxDB_2021_04_10-11_19_37_backupiobroker.tar.gz   minimal_2019_07_05-16_39_57_backupiobroker.tar.gz
                                  influxDB_2021_04_10-11_26_55_backupiobroker.tar.gz   minimal_2019_07_05-16_44_06_backupiobroker.tar.gz
                                  influxDB_2021_04_10-14_09_39_backupiobroker          minimal_2019_07_05-16_44_52_backupiobroker.tar.gz
                                  influxDB_2021_04_10-14_16_00_backupiobroker.tar.gz   minimal_2019_07_05-16_45_40_backupiobroker.tar.gz
                                  influxDB_2021_04_10-14_25_24_backupiobroker.tar.gz   minimal_2019_07_05-16_49_17_backupiobroker.tar.gz
                                  influxDB_2021_04_11-10_42_17_backupiobroker.tar.gz   minimal_2019_07_05-16_51_12_backupiobroker.tar.gz
                                  influxDB_2021_04_11-11_01_55_backupiobroker.tar.gz   redis_2021_04_12-11_29_53_backupiobroker.tar.gz
                                  iobroker_2021_04_06-13_08_01_backupiobroker.tar.gz   redis_2021_04_12-11_31_16_backupiobroker.tar.gz
                                  iobroker_2021_04_10-11_15_57_backupiobroker.tar.gz   total_2019_07_22-03_00_21_backupiobroker.tar.gz
                                  iobroker_2021_04_10-11_19_29_backupiobroker.tar.gz   total_2019_07_23-03_00_20_backupiobroker.tar.gz
                                  iobroker_2021_04_10-11_26_47_backupiobroker.tar.gz   total_2019_07_30-03_00_21_backupiobroker.tar.gz
                                  iobroker_2021_04_10-14_09_31_backupiobroker.tar.gz   total_2019_08_11-03_00_21_backupiobroker.tar.gz
                                  iobroker_2021_04_10-14_15_51_backupiobroker.tar.gz   total_2019_08_25-03_00_21_backupiobroker.tar.gz
                                  iobroker_2021_04_10-14_25_16_backupiobroker.tar.gz   total_2019_08_26-17_26_29_backupiobroker.tar.gz
                                  iobroker_2021_04_11-10_42_09_backupiobroker.tar.gz   total_2019_08_26-19_22_49_backupiobroker.tar.gz
                                  

                                  Soll ich das alles löschen? Wenn ja passt der Befehl?

                                  sudo rm -r /opt/iobroker/backups/
                                  
                                  Thomas Braun simatec 2 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Christian Kohlöffel last edited by Thomas Braun

                                    @christian-kohlöffel

                                    sudo -u iobroker rm /opt/iobroker/backups/*
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • simatec
                                      simatec Developer Most Active @Christian Kohlöffel last edited by

                                      @christian-kohlöffel

                                      sudo rm -rf /opt/iobroker/backups/*

                                      Christian Kohlöffel 1 Reply Last reply Reply Quote 0
                                      • Christian Kohlöffel
                                        Christian Kohlöffel @simatec last edited by

                                        @simatec

                                        Super, danke euch beiden ✌

                                        simatec 1 Reply Last reply Reply Quote 0
                                        • simatec
                                          simatec Developer Most Active @Christian Kohlöffel last edited by

                                          @christian-kohlöffel
                                          Kein Problem ... kannst du das Thema bitte noch auf [gelöst] setzen?

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

                                            @simatec sagte in [gelöst] Backitup kann influxdb Datenbank nicht sichern.:

                                            @thomas-braun
                                            „noserverino“ wird in Backitup nicht als Option verwendet.
                                            Ich könnte das aber testhalber mal einbauen

                                            Hi @simatec ,
                                            ich habe jetzt auch mal mit der Option 'noserverino' herumgespielt.
                                            Also bei mir muss die bei Backups von redis auf ein FritzNAS (SMB 3.1.1) auch gesetzt sein, sonst wird das Backup nicht geschrieben.

                                            Vermutlich als Nebeneffekt: Jetzt funktioniert auch das gemeinsame Backup auf GoogleDrive und das FritzNAS in einer Instanz. Bislang hatte ich das in jeweils eigene Instanzen aufteilen müssen.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            503
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            107
                                            7518
                                            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