Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter ioBroker.backitup v3.1.x

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter ioBroker.backitup v3.1.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • simatec
      simatec Developer Most Active @Josh last edited by

      @josh Dir fehlt die Installation von influx-cli auf deinem System und die Angabe des Pfads mit "var/lib/influxdb" zur inlux-cli ist falsch.

      Hier der Link, wie du cli installierst
      https://docs.influxdata.com/influxdb/v2.1/tools/influx-cli/?t=Linux

      Zu deinem Slave Backup brauche ich mehr Infos.
      Config Debuglog etc.

      J 1 Reply Last reply Reply Quote 0
      • J
        Josh @simatec last edited by

        @simatec Habe die influx-cli nach Anleitung installiert und die cli in folgenden Pfad kopiert:

        /usr/local/bin/
        

        Diesen habe ich in Backitup eingetragen. Trotzdem noch "permission denied".

        Thomas Braun simatec 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Josh last edited by Thomas Braun

          @josh

          Pakete wenn möglich IMMER über deinen Paketmanager installieren.

          apt policy influxdb2-cli
          

          sollte da was zurückgeben.
          Ist der iobroker auch in der influxdb-Gruppe drin?

          sudo -u iobroker groups
          
          simatec 1 Reply Last reply Reply Quote 0
          • simatec
            simatec Developer Most Active @Josh last edited by

            @josh Normal musst du den Pfad nicht angeben.
            Wenn du den Pfad angibst, dann so

            /usr/local/bin/influx
            
            1 Reply Last reply Reply Quote 0
            • simatec
              simatec Developer Most Active @Thomas Braun last edited by

              @thomas-braun sagte in Test Adapter Backitup v2.3.x:

              Pakete wenn möglich IMMER über deinen Paketmanager installieren.

              Geht für die aktuelle cli nicht
              https://docs.influxdata.com/influxdb/v2.1/tools/influx-cli/?t=Linux

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

                @simatec
                Warum nicht? Gibt doch ein Paket dafür:

                echad@chet:/opt/iobroker $ apt policy influxdb2-cli
                influxdb2-cli:
                  Installed: (none)
                  Candidate: 2.2.1
                  Version table:
                     2.2.1 500
                        500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                
                simatec 1 Reply Last reply Reply Quote 0
                • simatec
                  simatec Developer Most Active @Thomas Braun last edited by

                  @thomas-braun OK gut zu wissen für meine Doku
                  Dann scheint die Doku von Influx nicht up2date.

                  Die geben noch immer den Weg zu Fuß an

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

                    @simatec
                    Ja, warum auch immer. Mir scheint, die mögen ihr eigenes Repo nicht.

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

                      @thomas-braun 😊

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

                        Ab sofort steht die Version 2.3.2 auf Github und in Kürze auch im latest zur Verfügung.

                        Changelog

                        2.3.2 (2022-02-13)

                        • (simatec) Bugfix Restore Interface for http
                        • (simatec) Fix json history
                        crunchip 1 Reply Last reply Reply Quote 2
                        • simatec
                          simatec Developer Most Active @Einstein67 last edited by

                          @einstein67 Restore sollte via http und https in 2.3.2 wieder tun

                          E 1 Reply Last reply Reply Quote 1
                          • E
                            Einstein67 @simatec last edited by Einstein67

                            @simatec said in Test Adapter Backitup v2.3.x:

                            Restore sollte via http und https in 2.3.2 wieder tun

                            Danke! Das werde ich testen 😉

                            EDIT: Test war zu 100% erfolgreich!

                            Gesichtert habe ich: Iobroker, Influx, Grafana, Scripte und Zigbee

                            Wiederhergestellt: Grafana, Influx und Iobroker (mehr brauchst ja nicht)

                            ... und hat alles perfekt funktioniert.

                            1 Reply Last reply Reply Quote 0
                            • crunchip
                              crunchip Forum Testing Most Active @simatec last edited by crunchip

                              @simatec bin gerade zwar erst von 2.3.0 auf 2.3.1, hatte jedoch diese Meldungen beim update
                              ich habe Hosttyp: single
                              Objects type: jsonl
                              States type: jsonl

                              2022-02-13 17:06:27.572 - info: backitup.0 (15941) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                              2022-02-13 17:06:28.086 - error: backitup.0 (15941) Connection is closed.
                              2022-02-13 17:06:28.089 - error: backitup.0 (15941) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                              2022-02-13 17:06:28.090 - error: backitup.0 (15941) unhandled promise rejection: States DB is not allowed to start in the current Multihost environment
                              2022-02-13 17:06:28.092 - error: backitup.0 (15941) Error: States DB is not allowed to start in the current Multihost environment
                              at Redis. (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:579:23)
                              at processTicksAndRejections (internal/process/task_queues.js:95:5)
                              2022-02-13 17:06:28.093 - error: backitup.0 (15941) States DB is not allowed to start in the current Multihost environment
                              2022-02-13 17:06:33.341 - info: backitup.0 (16133) starting. Version 2.3.1 in /opt/iobroker/node_modules/iobroker.backitup, node: v14.19.0, js-controller: 4.0.8
                              2022-02-13 17:06:33.540 - info: backitup.0 (16133) [iobroker] backup was activated at 05:30 every 1 day(s)
                              
                              simatec 1 Reply Last reply Reply Quote 0
                              • simatec
                                simatec Developer Most Active @crunchip last edited by

                                @crunchip Welche js-controller Version läuft?

                                crunchip 1 Reply Last reply Reply Quote 0
                                • crunchip
                                  crunchip Forum Testing Most Active @simatec last edited by

                                  @simatec 4.0.8

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

                                    @crunchip sagte in Test Adapter Backitup v2.3.x:

                                    @simatec 4.0.8

                                    Dann melde den Fehler mal bitte dort im Thread

                                    J 1 Reply Last reply Reply Quote 1
                                    • J
                                      Josh @simatec last edited by Josh

                                      @simatec Also jetzt ist bei mir die Verwirrung komplett.

                                      Was muss wo installiert oder eingetragen sein? Nochmal zur Erinnerung: Die InfluxDB2 läuft bei mir nicht in ioBroker, sondern in einem separaten Container.

                                      Welcher Pfad wäre der richtige? Hier das Ergebnis meiner Versuche:
                                      Pfad leer lassen = not found
                                      Pfad "/usr/local/bin/influx" eintragen = not found
                                      Pfad "/var/lib/influxdb" = permission denied

                                      Auf welchem System muss die Influx-cli installiert sein? ioBroker-Installation oder Influx-Installation?

                                      Auf welchem System muss der User iobroker der Gruppe influxdb zugeordnet werden?

                                      In der Anleitung finde ich folgende Infos:

                                      Um ein InfluxDB Backup ausführen zu können, muss Influxd auf dem iobroker-System installiert sein.
                                      Hierbei ist es egal, ob die Datenbank lokal verwaltet wird oder auf einen anderen Server läuft.
                                      

                                      Auf meinem ioBroker-System finde ich keine Influxd-Datei. Wo soll die denn sein?

                                      simatec 2 Replies Last reply Reply Quote 0
                                      • simatec
                                        simatec Developer Most Active @Josh last edited by

                                        @josh wenn bei /usr/local/bin/influx not found kommt, dann hast du bei der Installation etwas falsch gemacht. Prüfe mal ob dort im Pfad was liegt

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

                                          @josh Die nächsten Tage kommt dazu ne Doku.
                                          Im Moment ist 2.3.x noch Beta

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            Josh @simatec last edited by Josh

                                            @simatec sagte in Test Adapter Backitup v2.3.x:

                                            @josh wenn bei /usr/local/bin/influx not found kommt, dann hast du bei der Installation etwas falsch gemacht. Prüfe mal ob dort im Pfad was liegt

                                            Auf welchem System muss da was im Pfad liegen? ioBroker oder Influx-LXC?

                                            EDIT:
                                            Ich habe die influx-cli im Influx-LXC installiert. Da ist in dem Pfad auch was drin. Aber in der ioBroker-Installation nicht.

                                            Ggf. warte ich auch noch bis zum Release bzw. bis die Doku fertig ist.

                                            simatec Thomas Braun 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            476
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            backitup backitup backup ccu history mysql redis restore restore backup
                                            168
                                            2711
                                            2183095
                                            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