Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. InfluxDB
    5. Sichern einer influxDB Datenbank

    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

    Sichern einer influxDB Datenbank

    This topic has been deleted. Only users with topic management privileges can see it.
    • Dr.Pie
      Dr.Pie @TT-Tom last edited by Dr.Pie

      @tt-tom sagte in Sichern einer influxDB Datenbank:

      @dr-pie wie sieht den deine Backitup-Adapter config für die Infulx aus?

      backup18.png

      @marc-berg sagte in Sichern einer influxDB Datenbank:

      @dr-pie sagte in Sichern einer influxDB Datenbank:

      influxdb2-cli

      dann zeig' doch mal das Container-LOG, das fängt so an:

      --------------------------------------------------------------------------------
      -------------------------     2023-04-24 15:38:13      -------------------------
      --------------------------------------------------------------------------------
      -----                                                                      -----
      ----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----
      ----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----
      ----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----
      ----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----
      ----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----
      ----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----
      -----                                                                      -----
      -----              Welcome to your ioBroker Docker container!              -----
      -----                    Startupscript is now running!                     -----
      -----                          Please be patient!                          -----
      --------------------------------------------------------------------------------
      

      Wie komme ich dort hin ?
      Per PuTTY kommst das hier:

      Jens@Server3:~$ sudo docker logs
      Password:
      "docker logs" requires exactly 1 argument.
      See 'docker logs --help'.
      
      Usage:  docker logs [OPTIONS] CONTAINER
      
      Fetch the logs of a container
      Jens@Server3:~$
      
      
      T 1 Reply Last reply Reply Quote 0
      • T
        TT-Tom @Dr.Pie last edited by

        @dr-pie sagte in Sichern einer influxDB Datenbank:

         docker logs [OPTIONS] CONTAINER
        

        Container ist der Containername

        Dr.Pie 1 Reply Last reply Reply Quote 0
        • Dr.Pie
          Dr.Pie @TT-Tom last edited by

          @tt-tom sagte in Sichern einer influxDB Datenbank:

          docker logs

          Das sind gefühlt Millionen Zeilen ...

          --------------------------------------------------------------------------------
          -------------------------     2023-06-20 13:16:54      -------------------------
          --------------------------------------------------------------------------------
          -----                                                                      -----
          ----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----
          ----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----
          ----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----
          ----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----
          ----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----
          ----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----
          -----                                                                      -----
          -----              Welcome to your ioBroker Docker container!              -----
          -----                    Startupscript is now running!                     -----
          -----                          Please be patient!                          -----
          --------------------------------------------------------------------------------
          
          --------------------------------------------------------------------------------
          -----                          System Information                          -----
          -----                    arch:                x86_64                       -----
          -----                    hostname:            iobroker                     -----
          -----                                                                      -----
          -----                          Version Information                         -----
          -----                    image:               v7.2.0                       -----
          -----                    build:               2023-02-10T23:45:25+00:00    -----
          -----                    node:                v16.19.1                     -----
          -----                    npm:                 8.19.3                       -----
          -----                                                                      -----
          -----                        Environment Variables                         -----
          -----                    IOB_BACKITUP_EXTDB:  true                         -----
          -----                    SETGID:              1000                         -----
          -----                    SETUID:              1000                         -----
          --------------------------------------------------------------------------------
          
          
          Marc Berg 1 Reply Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @Dr.Pie last edited by

            @dr-pie sagte in Sichern einer influxDB Datenbank:

            ich habe nun beide Variablen eingetragen.

            IOB_BACKITUP_EXTDB = true
            PACKAGES=influxdb2-cli

            Aber das hatte nichts gebracht.

            im ioBroker Container eintragen !!

            Dr.Pie 1 Reply Last reply Reply Quote 0
            • Dr.Pie
              Dr.Pie @Glasfaser last edited by

              @glasfaser backup19.png

              Glasfaser Dr.Pie 2 Replies Last reply Reply Quote 0
              • Marc Berg
                Marc Berg Most Active @Dr.Pie last edited by

                @dr-pie

                Ich hatte doch geschrieben, dass die Funktion in der neuesten BETA enthalten ist (hatte ich verlinkt), außerdem ist die Umgebungsvariable nicht gesetzt. Das kann nicht funktionieren.

                ? 1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @Dr.Pie last edited by Glasfaser

                  @dr-pie

                  ...

                  und du hast nicht das Image 8

                  EDIT:

                  
                  Beta Release v8.1.0-beta.2 Pre-release
                  Changelog
                  v8.1.0-beta.2 (26.04.2023)
                  
                      prohibit restore when startup script is still running
                      extend time before restart after restore is done
                      influx data repo will be added automatically when PACKAGES contains influxdb or influxdb2-cli package
                      v8.1.0-beta.1 (14.04.2023)
                          enhance github actions
                          enhance log output of maintenance script on restore (#333)
                          allow iobroker admin to be disabled at startup (#332)
                          allow deletion of objects and states db password with value "none" (#306)
                  
                  
                  
                  

                  https://github.com/buanet/ioBroker.docker/releases

                  1 Reply Last reply Reply Quote 0
                  • Dr.Pie
                    Dr.Pie @Dr.Pie last edited by

                    ????????

                    Was denn für Variablen ??

                    IOB_BACKITUP_EXTDB = true und PACKAGES=influxdb2-cli sind doch drin.
                    Oder falsche geschrieben oder gesetzt oder ... ?????

                    Kein Plan was ich machen muss ... und ich habe kein Image 8 ???? ... hhääääää ???

                    Glasfaser 1 Reply Last reply Reply Quote 0
                    • Glasfaser
                      Glasfaser @Dr.Pie last edited by

                      @dr-pie sagte in Sichern einer influxDB Datenbank:

                      Kein Plan was ich machen muss

                      @marc-berg sagte in Sichern einer influxDB Datenbank:
                      @dr-pie

                      Ich hatte doch geschrieben, dass die Funktion in der neuesten BETA enthalten ist (hatte ich verlinkt), außerdem ist die Umgebungsvariable nicht gesetzt. Das kann nicht funktionieren.

                      Dr.Pie 1 Reply Last reply Reply Quote 0
                      • Dr.Pie
                        Dr.Pie @Glasfaser last edited by

                        Ich hatte doch geschrieben, dass die Funktion in der neuesten BETA enthalten ist (hatte ich verlinkt), außerdem ist die Umgebungsvariable nicht gesetzt. Das kann nicht funktionieren.

                        Also muss:
                        IOB_BACKITUP_EXTDB = true und PACKAGES=influxdb2-cli
                        das wieder raus weil kein Images8 und andere Variablen rein ???

                        Ich verstehe nur Bahnhof

                        Glasfaser 1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @Dr.Pie last edited by Glasfaser

                          @dr-pie sagte in Sichern einer influxDB Datenbank:

                          Also muss:
                          IOB_BACKITUP_EXTDB = true und PACKAGES=influxdb2-cli
                          das wieder raus weil kein Images8 und andere Variablen rein ???

                          Richtig alles raus ... da du noch Image 7 hast

                          ab 8 wurde

                          IOB_BACKITUP_EXTDB = true

                          eingeführt

                          dann in der neusten Beta

                          PACKAGES=influxdb2-cli

                          dann zu

                          und andere Variablen rein ???

                          da gibt es nichts zu !

                          Dr.Pie 1 Reply Last reply Reply Quote 0
                          • Dr.Pie
                            Dr.Pie @Glasfaser last edited by Dr.Pie

                            @glasfaser ok ... diese Variablen hab ich wieder gelöscht.

                            Damit stehe ich wieder am Anfang ... 😟

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

                              Was ich nicht verstehe, das man sich für docker entscheidet, wenn man keinen Plan von linux hat.

                              Mag ja sein das es leicht zu händeln und praktisch ist, aber auch nur wenn man fit darin ist.

                              Dr.Pie 1 Reply Last reply Reply Quote 3
                              • Dr.Pie
                                Dr.Pie @crunchip last edited by

                                @crunchip Vorher war alles auf einem Raspi 4.
                                Der hatte zu wenig RAM, also habe ich alles auf der eh laufenden Synology installiert.
                                Läuft ja auch ... bis auf das Backup.
                                Andere Sachen konnte ich schon beheben.

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  TT-Tom @Dr.Pie last edited by

                                  @dr-pie

                                  läuft dein ioBrocker und die Infulx in zwei verschiedenen Container?

                                  Dr.Pie 1 Reply Last reply Reply Quote 0
                                  • Dr.Pie
                                    Dr.Pie @TT-Tom last edited by

                                    @tt-tom backup20.png

                                    T ? 2 Replies Last reply Reply Quote 0
                                    • T
                                      TT-Tom @Dr.Pie last edited by TT-Tom

                                      @dr-pie wie sieht die einstellungen vom Inful-Adapter aus
                                      Token kannste unkenntlich machen

                                      Dr.Pie Glasfaser 2 Replies Last reply Reply Quote 0
                                      • Dr.Pie
                                        Dr.Pie @TT-Tom last edited by

                                        @tt-tom backup21.png

                                        T 1 Reply Last reply Reply Quote 0
                                        • Glasfaser
                                          Glasfaser @TT-Tom last edited by

                                          @tt-tom sagte in Sichern einer influxDB Datenbank:

                                          @dr-pie wie sieht die einstellungen vom Inful-Adapter aus

                                          Nur mal nebenbei ...
                                          was möchtest du alles abfragen,
                                          denn es bringt nichts mit seinem vorhandenen ioBroker Image !!

                                          T 1 Reply Last reply Reply Quote 0
                                          • T
                                            TT-Tom @Dr.Pie last edited by

                                            @dr-pie ne von Influx-Adapter

                                            Dr.Pie 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            905
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            99
                                            5696
                                            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