Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana

    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

    Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana

    This topic has been deleted. Only users with topic management privileges can see it.
    • Friedhofsblond
      Friedhofsblond @Marc Berg last edited by

      @marc-berg

      superuser@ioserver:/$ influx auth list -t <TOKEN> --json
      bash: TOKEN: Datei oder Verzeichnis nicht gefunden
      
      Marc Berg 1 Reply Last reply Reply Quote 0
      • Marc Berg
        Marc Berg Most Active @Friedhofsblond last edited by Marc Berg

        @friedhofsblond sagte in Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana:

        influx auth list -t <TOKEN> --json

        Du musst natürlich <TOKEN> durch einen deiner AllAccess Tokens ersetzen.

        Friedhofsblond 1 Reply Last reply Reply Quote 0
        • Friedhofsblond
          Friedhofsblond @Marc Berg last edited by

          @marc-berg

          superuser@ioserver:/$ influx auth list -t <admin's Token> --json
          > 
          
          Thomas Braun Marc Berg 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Friedhofsblond last edited by

            @friedhofsblond sagte in Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana:

            superuser@ioserver:/$

            Nebenfrage: Hat der superuser kein /home und wenn er eins hat, warum steht der da nicht drin sondern in / ?

            Friedhofsblond 1 Reply Last reply Reply Quote 0
            • Marc Berg
              Marc Berg Most Active @Friedhofsblond last edited by

              @friedhofsblond sagte in Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana:

              influx auth list -t <admin's Token> --json

              ein Token sieht so aus:

              a0dJHRmhp4CoAZ0ZFRKq5vHc7Nzk1fuf6tI_1_l_rd_sLEmaOM2zP-w2KlzZvbSDuZIYAFCNvN763riYBg2KuQ==
              
              Friedhofsblond 1 Reply Last reply Reply Quote 0
              • Friedhofsblond
                Friedhofsblond @Marc Berg last edited by Friedhofsblond

                @marc-berg
                Ja davon habe ich einen ganzen Sack voll - das ist mir schon klar - nur nicht mehr den von der Erstinstallation.
                Ich geh nochmal einen Schritt zurück und installiere mal InfluxDB neu.

                Ist das die richtige Vorgehensweise?:

                # influxdata-archive_compat.key GPG fingerprint:
                #     9D53 9D90 D332 8DC7 D6C8 D3B9 D8FF 8E1F 7DF8 B07E
                wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
                echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
                
                sudo apt-get update && sudo apt-get install influxdb2
                
                sudo systemctl start influxdb
                sudo systemctl enable influxdb
                sudo systemctl status influxdb
                

                Ich nutze meist das Terminalfenster vom Cockpit - muß man nicht extra WinSCP aufmachen oder Putty

                Marc Berg 1 Reply Last reply Reply Quote 0
                • Marc Berg
                  Marc Berg Most Active @Friedhofsblond last edited by

                  @friedhofsblond sagte in Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana:

                  das ist mir schon klar.

                  Wenn dir das so sonnenklar ist, warum gibst du dann nicht den Token in den Befehl ein, sondern machst das:

                  influx auth list -t <admin's Token> --json
                  

                  Das muss so aussehen:

                  influx auth list -t a0dJHRmhp4CoAZ0ZFRKq5vHc7Nzk1fuf6tI_1_l_rd_sLEmaOM2zP-w2KlzZvbSDuZIYAFCNvN763riYBg2KuQ== --json
                  

                  Ich geh nochmal einen Schritt zurück und installiere mal InfluxDB neu.
                  Ist das die richtige Vorgehensweise?

                  Keine Ahnung.

                  Friedhofsblond 1 Reply Last reply Reply Quote 0
                  • Friedhofsblond
                    Friedhofsblond @Marc Berg last edited by

                    @marc-berg
                    du wir reden aneinander vorbei.
                    Ich habe den Token nicht mehr - und wollte den irgendwie auslesen.
                    Aber ich hole schon das Backup zurück -
                    Sorry nicht böse sein - geht für mich alten Blödi schneller ... 😊

                    Marc Berg 1 Reply Last reply Reply Quote 0
                    • Marc Berg
                      Marc Berg Most Active @Friedhofsblond last edited by Marc Berg

                      @friedhofsblond sagte in Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana:

                      Ich habe den Token nicht mehr - und wollte den irgendwie auslesen.

                      Jaaaa, das geht mit diesem Befehl. Und für DIESEN Befehl reicht ein Token, den du dir auf der Oberfläche erstellst. (Als AllAccess Token, ich rede hier nicht vom Operator Token)

                      Friedhofsblond 1 Reply Last reply Reply Quote 0
                      • Friedhofsblond
                        Friedhofsblond @Marc Berg last edited by

                        @marc-berg
                        nach dem Befehl bleibt der Cursor aber stehen - passiert nix.

                        Marc Berg 1 Reply Last reply Reply Quote 0
                        • Marc Berg
                          Marc Berg Most Active @Friedhofsblond last edited by

                          @friedhofsblond sagte in Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana:

                          nach dem Befehl bleibt der Cursor aber stehen - passiert nix.

                          zeigen

                          Friedhofsblond 1 Reply Last reply Reply Quote 0
                          • Friedhofsblond
                            Friedhofsblond @Marc Berg last edited by

                            @marc-berg
                            ... schon beim Image-restore 😑

                            Marc Berg 1 Reply Last reply Reply Quote 0
                            • Marc Berg
                              Marc Berg Most Active @Friedhofsblond last edited by

                              @friedhofsblond sagte in Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana:

                              ... schon beim Image-restore

                              und dann kümmere dich mal dringend um das Thema, was @Thomas-Braun geschrieben hat, sonst bekommst du noch weitere Probleme!

                              Friedhofsblond 1 Reply Last reply Reply Quote 0
                              • Friedhofsblond
                                Friedhofsblond @Marc Berg last edited by

                                @marc-berg

                                welches von den vielen??

                                Wegen dem Desktop? 😬
                                Habe doch den Dell komplett neu installiert - ohne x-server !!

                                Marc Berg 1 Reply Last reply Reply Quote 0
                                • Marc Berg
                                  Marc Berg Most Active @Friedhofsblond last edited by

                                  @friedhofsblond sagte in Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana:

                                  welches von den vielen??

                                  Keine Ahnung, welche Themen es sonst noch gibt, ich meinte das Thema mit dem Superuser aus diesem Thread hier.

                                  https://forum.iobroker.net/post/1074540

                                  Friedhofsblond 1 Reply Last reply Reply Quote 0
                                  • Friedhofsblond
                                    Friedhofsblond @Marc Berg last edited by

                                    @marc-berg
                                    So, fertsch

                                    Alles OK jetzt - Server läuft mit alter DB und Grafana-Dashboards.
                                    Der letzte Fallstrick war, das ich im Grafana den admin auf Viewer hatte.
                                    Mußte den User admin noch auf Admin stellen, dann funktionierte der Restore auch.
                                    Werde für Grafana wohl noch einen user als Viewer erstellen.
                                    (nach dem Image 😉 )
                                    So also Danke nochmal für die Hilfe 👍
                                    Schönen Restsonntag noch

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

                                      @thomas-braun
                                      so richtig weiß ich nicht was du meinst. 😕
                                      Habe im /home/ die user iobroker und superuser

                                      home.PNG

                                      home2.PNG

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

                                        @friedhofsblond

                                        Jetzt stehst du richtig.
                                        Oben standst du, warum auch immer, im Wurzelverzeichnis /.
                                        Da hast du aber nix zu suchen (und kannst da auch nix einstellen).

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

                                          @thomas-braun
                                          das war im Terminalfenster vom Cockpit - keine Ahnung was ich da wieder gemacht habe 😊

                                          home222.PNG

                                          Jetzt muß ich ins Bett .... 🙄

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          482
                                          Online

                                          31.7k
                                          Users

                                          79.9k
                                          Topics

                                          1.3m
                                          Posts

                                          backup zurückspielen
                                          3
                                          37
                                          1687
                                          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