Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Kein iobroker Backup mehr über BackitUp Adapter

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    Kein iobroker Backup mehr über BackitUp Adapter

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

      @toki1973 sagte in Kein iobroker Backup mehr über BackitUp Adapter:

      "smb":"vers=1.0"

      Vermutlich (hoffentlich) zu alt. Stell das mal auf 3.

      T 1 Reply Last reply Reply Quote 0
      • T
        toki1973 @Thomas Braun last edited by

        Daran lag es leider nicht

        FredF Thomas Braun 2 Replies Last reply Reply Quote 0
        • FredF
          FredF Most Active Forum Testing @toki1973 last edited by FredF

          @toki1973 Sicherlich hast du unabsichtlich die Bemühungen von @Thomas-Braun mit einem Downvote versehen 😎

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

            @toki1973

            Dann schalte das indluxdb-Backup entweder aus oder richte es gescheit ein.

            T 1 Reply Last reply Reply Quote 0
            • T
              toki1973 @Thomas Braun last edited by

              Ich habe es bereits deaktivert

              @simatec Lt. Log wird iobroker.tar erzeugt - aber es ist nicht vorhanden

              
              backitup.0
              13539	2023-11-16 16:53:35.177	debug	[iobroker/iobroker] host.iobrokerNUC1 116073 objects saved
              
              backitup.0
              13539	2023-11-16 16:53:24.490	debug	[iobroker/iobroker] host.iobrokerNUC1 89730 states saved
              
              backitup.0
              13539	2023-11-16 16:52:44.209	debug	[iobroker/mount] done
              
              backitup.0
              13539	2023-11-16 16:52:44.207	debug	[iobroker/mount] mount successfully completed
              
              backitup.0
              13539	2023-11-16 16:52:43.496	debug	[iobroker/mount] cifs-mount command: "sudo mount -t cifs -o username=backup,password=****,rw,uid=iobroker,gid=iobroker,file_mode=0777,dir_mode=0777,vers=3.0 //192.168.0.100/NetBackup/Standard /opt/iobroker/backups"
              
              backitup.0
              13539	2023-11-16 16:52:43.496	debug	[iobroker/mount] noserverino option: false
              
              backitup.0
              13539	2023-11-16 16:52:33.494	debug	Backup has started ..
              
              T 1 Reply Last reply Reply Quote 0
              • T
                toki1973 @toki1973 last edited by

                iob fix hatte auch keinen Erfolg.

                Das iobroker.tar hatte 51 MB und funktionierte bis zum 10. Oktober

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

                  @toki1973 Hast mL den Speicherplatz gecheckt?
                  Nimm erstmal das NAS raus und erstelle lokal ein Backup.
                  Wenn dass geht, kannst du beim NAS weitermachen

                  1 Reply Last reply Reply Quote 0
                  • T
                    toki1973 last edited by

                    Heute Nacht hat das Backup funktioniert 🙂
                    Ich denke der iob fixhat da was gerichtet was nicht gepasst hatte.
                    Danke euch!

                    1 Reply Last reply Reply Quote 0
                    • L
                      Laser last edited by Laser

                      @simantec
                      Ich möchte auf Debian 12 umziehen. Dazu brauche ich ein vollständiges Backup.
                      Habe das Problem, daß ein influx- Backup nicht möglich ist. (Das iobroker Backup ist in Ordnung.)
                      Es ist ja erforderlich, das infux- CLI zu installieren. Kann ich überprüfen, ob das richtig läuft? Einen Befehl ausführen, der mir nicht gleich etwas zerschießt? Z.B.

                              /opt $            influx config
                      Active  Name    URL                     Org
                      *       default http://localhost:8086
                      simatec 1 Reply Last reply Reply Quote 0
                      • simatec
                        simatec Developer Most Active @Laser last edited by

                        @laser Zeige mal bitte die Ausgabe des folgenden Befehls...

                        apt policy influx*
                        
                        L 1 Reply Last reply Reply Quote 0
                        • L
                          Laser @simatec last edited by

                          @simatec sagte in Kein iobroker Backup mehr über BackitUp Adapter:

                          apt policy influx*

                          otto@raspberrypi:/opt $ apt policy influx*
                          influxdb2-cli:
                            Installed: 2.7.3-1
                            Candidate: 2.7.3-1
                            Version table:
                           *** 2.7.3-1 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                  100 /var/lib/dpkg/status
                               2.7.1-2 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.6.1 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.6.0 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.5.0 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.4.0 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.3.0 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                          influxdb-client:
                            Installed: (none)
                            Candidate: 1.6.7~rc0-1+b5
                            Version table:
                               1.6.7~rc0-1+b5 500
                                  500 http://deb.debian.org/debian bullseye/main arm64 Packages
                          influxdb-dev:
                            Installed: (none)
                            Candidate: (none)
                            Version table:
                          influxdb2-client:
                            Installed: (none)
                            Candidate: 2.7.1-1
                            Version table:
                               2.7.1-1 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                          influxdb:
                            Installed: (none)
                            Candidate: 1.8.10-1
                            Version table:
                               1.8.10-1 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               1.6.7~rc0-1+b5 500
                                  500 http://deb.debian.org/debian bullseye/main arm64 Packages
                          influxctl:
                            Installed: (none)
                            Candidate: 2.3.1
                            Version table:
                               2.3.1 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.3.0 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.2.0 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.1.0 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.0.4 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.0.3 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.0.2 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.0.1 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.0.0 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                          influxdb2:
                            Installed: 2.7.4-1
                            Candidate: 2.7.4-1
                            Version table:
                           *** 2.7.4-1 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                  100 /var/lib/dpkg/status
                               2.7.3-1 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.7.1-1 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.7.0-1 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.6.1-1 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.6.0-1 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.5.1-1 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.4.0-1 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.3.0-1 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                               2.2.0 500
                                  500 https://repos.influxdata.com/debian stable/main arm64 Packages
                          otto@raspberrypi:/opt $
                          
                          
                          simatec 1 Reply Last reply Reply Quote 0
                          • simatec
                            simatec Developer Most Active @Laser last edited by

                            @laser Influxdb2 und influxdb2-cli sind installiert.
                            Zeige mal bitte die Config von Backitup (Influx-Tab) und die Config im Influx Adapter.
                            Hast du bei der Installation und Einrichtung den Admin Token notiert oder wegkopiert?
                            Der muss in Backitup eingetragen werden

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              Laser @simatec last edited by Laser

                              @simatec den Token habe ich mir seinerzeit in einen Texteditor kopiert und gespeichert.
                              1ab80a4f-fb0d-40a8-a34e-6cccfcb76118-image.png

                              Beim Backup kommt auch die Meldung, das influx Backup wurde erstellt. Ich finde es aber nicht auf meinem NAS.

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

                                @laser Die IP muss in der Config raus... Lass das Feld leer.
                                Vollständiger Pfad ist nur für die User, die die influx-cli nicht im Standardpfad /usr/bin liegen haben

                                L 1 Reply Last reply Reply Quote 0
                                • L
                                  Laser @simatec last edited by

                                  @simatec hier die Meldungen beim Backup:

                                  Started iobroker ...
                                  [DEBUG] [mount] - noserverino option: false
                                  [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=iobroker,password=****,rw,uid=iobroker,gid=iobroker,file_mode=0777,dir_mode=0777,vers=2.0 //192.168.2.57/backup /opt/iobroker/backups"
                                  [DEBUG] [mount] - mount successfully completed
                                  [DEBUG] [mount] - done
                                  [DEBUG] [iobroker] - host.raspberrypi 3145 states saved
                                  
                                  [DEBUG] [iobroker] - host.raspberrypi 3839 objects saved
                                  
                                  [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2023_11_20-10_31_13_backupiobroker.tar.gz
                                  
                                  [DEBUG] [iobroker] - This backup can only be restored with js-controller version up from 4.1
                                  
                                  [DEBUG] [iobroker] - done
                                  [DEBUG] [influxDB] - InfluxDB-Backup started ...
                                  [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                  [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                  [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2023_11_20-10_31_26_backupiobroker"
                                  [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_11_20-10_31_26_backupiobroker" successfully deleted
                                  [DEBUG] [influxDB] - 
                                  [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker -t fPGvK9QsLi2jJWNN_q5ccAyETlJ9plh-1qxfgsxuOEPymu9SCsQVHI3j47j44UbAUfqMpv8_in5zeFDC8D2Q0Q== "/opt/iobroker/backups/influxDB_2023_11_20-10_31_26_backupiobroker"
                                  2023/11/20 10:31:26 INFO: Downloading metadata snapshot
                                  Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
                                  
                                  [DEBUG] [influxDB] - InfluxDB-Backup for is finish
                                  [DEBUG] [influxDB] - done
                                  [DEBUG] [cifs] - used copy path: /backup
                                  [DEBUG] [cifs] - done
                                  [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
                                  [DEBUG] [clean] - done
                                  [DEBUG] [telegram] - 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
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • simatec
                                    simatec Developer Most Active last edited by

                                    @laser sagte in Kein iobroker Backup mehr über BackitUp Adapter:

                                    Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized

                                    Dann ist es doch nicht der Operator-Token oder du hast ihn versehentlich gelöscht.
                                    Du hast mit dem Token keine Berechtigung.

                                    Hier eine Anleitung, wie du ihn wieder herstellen kannst.
                                    https://github.com/simatec/ioBroker.backitup/wiki/Diverse-Anleitungen-für-ioBroker.backitup#token-für-influxdb-2x-backup-richtig-erstellen

                                    L 1 Reply Last reply Reply Quote 1
                                    • L
                                      Laser @simatec last edited by

                                      @simatec OK. Mache ich jetzt.

                                      L 1 Reply Last reply Reply Quote 0
                                      • L
                                        Laser @Laser last edited by Laser

                                        @simantec den neuen Token erstellt. heißt jetzt: w_82OMhVzJnXMTItS43qdbAwWyvrguzgRAiSQqDuqmb9WohKS3dKqrez-tInxG17EE64gBAC7oihtfkeKcfJBw==
                                        aber immer noch:

                                        Started iobroker ...
                                        [DEBUG] [mount] - noserverino option: false
                                        [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=iobroker,password=****,rw,uid=iobroker,gid=iobroker,file_mode=0777,dir_mode=0777,vers=2.0 //192.168.2.57/backup /opt/iobroker/backups"
                                        [DEBUG] [mount] - mount successfully completed
                                        [DEBUG] [mount] - done
                                        [DEBUG] [iobroker] - host.raspberrypi 3145 states saved
                                        
                                        [DEBUG] [iobroker] - host.raspberrypi 3839 objects saved
                                        
                                        [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2023_11_20-10_53_09_backupiobroker.tar.gz
                                        
                                        [DEBUG] [iobroker] - This backup can only be restored with js-controller version up from 4.1
                                        
                                        [DEBUG] [iobroker] - done
                                        [DEBUG] [influxDB] - InfluxDB-Backup started ...
                                        [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                        [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                        [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2023_11_20-10_53_21_backupiobroker"
                                        [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_11_20-10_53_21_backupiobroker" successfully deleted
                                        [DEBUG] [influxDB] - 
                                        [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker -t w_82OMhVzJnXMTItS43qdbAwWyvrguzgRAiSQqDuqmb9WohKS3dKqrez-tInxG17EE64gBAC7oihtfkeKcfJBw== "/opt/iobroker/backups/influxDB_2023_11_20-10_53_21_backupiobroker"
                                        2023/11/20 10:53:21 INFO: Downloading metadata snapshot
                                        Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
                                        
                                        [DEBUG] [influxDB] - InfluxDB-Backup for is finish
                                        [DEBUG] [influxDB] - done
                                        [DEBUG] [cifs] - used copy path: /backup
                                        [DEBUG] [cifs] - done
                                        [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
                                        [DEBUG] [clean] - done
                                        [DEBUG] [telegram] - 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
                                        

                                        Wenn ich den Befehl auf der Konsole ausführe:

                                        
                                        otto@raspberrypi:/opt $ influx backup --bucket iobroker -t w_82OMhVzJnXMTItS43qdbAwWyvrguzgRAiSQqDuqmb9WohKS3dKqrez-tInxG17EE64gBAC7oihtfkeKcfJBw== "/opt/iobroker/backups/influxDB_2023_11_20-10_53_21_backupiobroker"
                                        2023/11/20 10:56:29 INFO: Downloading metadata snapshot
                                        Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
                                        
                                        
                                        simatec 1 Reply Last reply Reply Quote 0
                                        • simatec
                                          simatec Developer Most Active @Laser last edited by

                                          @laser Zeige mal die Config deines Influx Adapters?
                                          Was ist dort für Token hinterlegt?

                                          L 1 Reply Last reply Reply Quote 0
                                          • L
                                            Laser @simatec last edited by Laser

                                            @simatec
                                            05bc85bb-ae15-4259-a962-0ec6d6a9d632-image.png

                                            der eingetragene Token ist der Mit "strg&C" kopierte, neu erstellte Token. Den habe ich auch wieder in einer Textdatei gesichert. Für alle Fälle.
                                            Habe ich mir auch anzeigen lassen. War identisch.

                                            Marc Berg simatec 2 Replies 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

                                            635
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            112
                                            5235
                                            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