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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Sichern einer influxDB Datenbank

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @Marc Berg last edited by

      @marc-berg sagte in Sichern einer influxDB Datenbank:

      Also: bitte mittesten

      bin da leider raus, hab kein docker

      1 Reply Last reply Reply Quote 1
      • ?
        A Former User last edited by

        @marc-berg sagte in Sichern einer influxDB Datenbank:

        Also: bitte mittesten!

        Moin,

        werde mir das die Tage, wenn Frauchen arbeiten ist, anschauen und testen.

        Danke für die Info.

        VG
        Bernd

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

          @djmarc75 sagte in Sichern einer influxDB Datenbank:
          ok, er hat Dich quasi auf "blockieren" gestellt... ist leider auch nachvollziehbar.

          Das habe ich nicht , nur leider wiederholt sich alles zum Thema Influxdb und Grafana hier im Forum ...
          schon xxx Thread´s dazu .

          @marc-berg sagte in Sichern einer influxDB Datenbank:
          Das wiederholt sich ja mittlerweile wöchentlich.

          Dito ....
          Richtig und andauert werden auch die Thread dazu verlinkt , was ich und auch @DJMarc75 + @crunchip machen .

          ... und täglich grüßt das Murmeltier .

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

            Moin zusammen

            ich habe nun beide Variablen eingetragen.

            IOB_BACKITUP_EXTDB = true
            PACKAGES=influxdb2-cli

            Aber das hatte nichts gebracht.

            @thomas-braun sagte in Sichern einer influxDB Datenbank:

            @dr-pie sagte in Sichern einer influxDB Datenbank:

            /bin/sh: 1: influx: not found

            Da fehlt der influxdb2-client. Da ist nämlich das Kommando 'influx' drin.

            Keine Ahnung was ich machen soll ...
            Wo muss man denn den Client eintragen ?

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

              @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!                          -----
              --------------------------------------------------------------------------------
              
              1 Reply Last reply Reply Quote 0
              • T
                TT-Tom @Dr.Pie last edited by

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

                Dr.Pie 1 Reply Last reply Reply Quote 0
                • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

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