Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. InfluxDB
    5. InfluxDB Restore über Backitup nicht möglich

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    InfluxDB Restore über Backitup nicht möglich

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

      @opöl sagte in InfluxDB Restore über Backitup nicht möglich:

      influxdb-client

      sudo apt remove influxdb-client
      

      Zuvor aber das influx-Repo neuanlegen:

      https://forum.iobroker.net/topic/59231/phantastische-repositories-und-wo-sie-zu-finden-sind

      1 Reply Last reply Reply Quote 0
      • O
        opöl last edited by

        @Thomas-Braun ,

        bis dahin kein Fehler, aber dann:

        @futro:/usr/share/keyrings$ echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null
        sha256sum: influxdata-archive_compat.key: No such file or directory
        influxdata-archive_compat.key: FAILED open or read
        sha256sum: WARNING: 1 listed file could not be read
        
        

        Der Inhalt des Ordners:

        l@futro:/usr/share/keyrings$ ls
        influxdata-archive_compat.gpg       ubuntu-pro-cis.gpg
        ubuntu-archive-keyring.gpg          ubuntu-pro-esm-apps.gpg
        ubuntu-archive-removed-keys.gpg     ubuntu-pro-esm-infra.gpg
        ubuntu-cloudimage-keyring.gpg       ubuntu-pro-fips.gpg
        ubuntu-cloudimage-removed-keys.gpg  ubuntu-pro-fips-preview.gpg
        ubuntu-master-keyring.gpg           ubuntu-pro-realtime-kernel.gpg
        ubuntu-pro-anbox-cloud.gpg          ubuntu-pro-ros.gpg
        ubuntu-pro-cc-eal.gpg
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @opöl last edited by

          @opöl
          Stell dich in dein Home.

          O N 2 Replies Last reply Reply Quote 0
          • O
            opöl @Thomas Braun last edited by

            @thomas-braun ,

            danke. Das war es.
            Meine Schritte, um die influx 1.8 DB auf ein neues System zu übertragen habe ich hier dokumentiert:
            https://forum.iobroker.net/topic/77362/keine-grafana-dashboards-nach-systemwechsel?_=1729892070152

            Gruß

            1 Reply Last reply Reply Quote 0
            • N
              nobbiman @Thomas Braun last edited by

              @thomas-braun Ich habe Probleme meine Influxdb-Konfiguration und -Datenbanken (3 Instanzen) mittels Backitup auf einen neuen RasPi zu übertragen.

              Wie bin ich vorgegangen:

              • Stopp der Influxdb-Instanzen auf meinem Alt-RasPi
              • Ausführen von Backitup auf Alt-RasPi
              • Kopieren der Sicherungsdatei in den Pfad /opt/iobroker/backups des Neu-RasPi
              • Installation des Adapters Influxdb auf dem Neu-RasPi mit 3 Instanzen
              • Restore auf dem Neu-RasPi

              Nach komplettem Restoredurchlauf verweist die Instanz des Neu-RasPi auf die IP-Adresse des Alt-RasPi!
              Wie bekomme ich es hin, dass die Instanzen des Neu-RasPi auf die übertragenen Daten des Neu-RasPi zugreift?

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

                @nobbiman

                iob host this
                

                mal versuchen.

                N 1 Reply Last reply Reply Quote 0
                • N
                  nobbiman @Thomas Braun last edited by

                  @thomas-braun

                  pi@raspberrypi:~ $ iobroker stop
                  pi@raspberrypi:~ $ iob host this
                  A host with the name "raspberrypi" already exists!
                  pi@raspberrypi:~ $
                  

                  Heißt das ich muss meinen Neu-RasPi umbenennen?

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

                    @nobbiman

                    Joh...
                    Es darf in einem Netzwerk nicht zwei gleiche hostnames geben. Wohhin soll denn der arme Router die Pakete senden?
                    Davon abgesehen ändert man den User wie auch den hostname während der Installation auf eigene Namen ab.
                    Also nicht pi@raspberrypi.

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      nobbiman @Thomas Braun last edited by

                      @thomas-braun Wenn ich den Hostnamen ändere, muss ich dann den RasPi komplett neu aufsetzen oder reicht diese Änderung und Neuinstallation des ioBroker und danach das Restore?

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

                        @nobbiman

                        Den hostname am besten in

                        raspi-config
                        

                        ändern.

                        N 1 Reply Last reply Reply Quote 0
                        • N
                          nobbiman @Thomas Braun last edited by

                          @thomas-braun ... und jetzt ein neues Restore ?

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

                            @nobbiman

                            Nein. Jetzt den neuen hostname im iobroker bekannt machen.

                            iob host this
                            
                            N 1 Reply Last reply Reply Quote 0
                            • N
                              nobbiman @Thomas Braun last edited by

                              @thomas-braun

                              pi@ioBraspi:~ $ iobroker stop
                              pi@ioBraspi:~ $ iob host this
                              A host with the name "ioBraspi" already exists!
                              

                              Das verstehe ich nicht, der Alt-RasPi trägt den Hostnamen 'RasPi-ioBroker'

                              Homoran 1 Reply Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @nobbiman last edited by

                                @nobbiman sagte in InfluxDB Restore über Backitup nicht möglich:

                                Das verstehe ich nicht, der Alt-RasPi trägt den Hostnamen 'RasPi-ioBroker'

                                und der neue?

                                N 1 Reply Last reply Reply Quote 0
                                • N
                                  nobbiman @Homoran last edited by

                                  @homoran s.o. 'ioBraspi'

                                  Homoran 1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @nobbiman last edited by

                                    @nobbiman sagte in InfluxDB Restore über Backitup nicht möglich:

                                    @homoran s.o. 'ioBraspi'

                                    dann ist doch alles gut!
                                    Dann hat iob nach dem Reboot nach der Namensänderung das bereits selbst gefixt

                                    zeig mal im Expertenmodus die system.hosts in den Objekten

                                    N 1 Reply Last reply Reply Quote 0
                                    • N
                                      nobbiman @Homoran last edited by nobbiman

                                      @homoran
                                      1714fa94-4266-40d3-9b59-3e75c33442fc-grafik.png

                                      Ist es das, was du sehen willst, gerne auch mehr?

                                      Homoran 1 Reply Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @nobbiman last edited by

                                        @nobbiman sagte in InfluxDB Restore über Backitup nicht möglich:

                                        Ist es das, was du sehen willst,

                                        nöö, was ist das?

                                        ich hätte gerne diese Ansicht
                                        Screenshot_20250105-114618_Firefox.jpg

                                        N 1 Reply Last reply Reply Quote 0
                                        • N
                                          nobbiman @Homoran last edited by nobbiman

                                          @homoran ... und in welcher Form und Ordnertiefe, das wird unübersichtlich?
                                          bd17f267-be3e-4a95-b797-f319fb258128-grafik.png Merkwürdigerweise sind noch beide Hostnamen auf dem Neu-RasPi vertreten!? Nachtrag: sehe gerade, dass der Status des 2. Hostnamens nicht auf 'alive' steht

                                          63025030-c4eb-4f91-afcc-364621fd84c4-grafik.png

                                          Homoran 1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @nobbiman last edited by

                                            @nobbiman sagte in InfluxDB Restore über Backitup nicht möglich:

                                            und in welcher Form und Ordnertiefe

                                            so wie bei mir

                                            müsste das hier sein
                                            Screenshot_20250105-115544_Firefox.jpg

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            963
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            56
                                            2113
                                            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