Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Influxdb2 Backitup

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Influxdb2 Backitup

    This topic has been deleted. Only users with topic management privileges can see it.
    • Damrak2022
      Damrak2022 @mickym last edited by

      @mickym sagte in Influxdb2 Backitup:

      sudo rm -R /etc/influxdb

      und wieder installieren? Verzeichnisse habe ich gelöscht

      1 Reply Last reply Reply Quote 0
      • mickym
        mickym Most Active @Damrak2022 last edited by

        @damrak2022

        Na wir schauen nochmal ob der Service läuft.

        machmal

        systemctl status influxdb
        
        Damrak2022 mickym 3 Replies Last reply Reply Quote 0
        • Damrak2022
          Damrak2022 @mickym last edited by

          @mickym sagte in Influxdb2 Backitup:

          systemctl status influxdb

          Uff

          Andy@homebridge:~ $ systemctl status influxdb
          ● influxdb.service - InfluxDB is an open-source, distributed, time series database
               Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
               Active: active (running) since Mon 2023-04-17 13:41:27 CEST; 2 days ago
                 Docs: https://docs.influxdata.com/influxdb/
             Main PID: 717 (influxd)
                Tasks: 19 (limit: 3932)
                  CPU: 8min 17.766s
               CGroup: /system.slice/influxdb.service
                       └─717 /usr/bin/influxd
          
          Apr 20 00:42:36 homebridge influxd-systemd-start.sh[717]: ts=2023-04-19T22:42:36.631449Z lvl=info msg="Retention policy deletion check (end)" log_id=0hFl9puG000 service=retention op_name=retention_de>
          Apr 20 01:12:36 homebridge influxd-systemd-start.sh[717]: ts=2023-04-19T23:12:36.631913Z lvl=info msg="Retention policy deletion check (start)" log_id=0hFl9puG000 service=retention op_name=retention_>
          Apr 20 01:12:36 homebridge influxd-systemd-start.sh[717]: ts=2023-04-19T23:12:36.632045Z lvl=info msg="Retention policy deletion check (end)" log_id=0hFl9puG000 service=retention op_name=retention_de>
          Apr 20 01:22:24 homebridge influxd-systemd-start.sh[717]: ts=2023-04-19T23:22:24.632000Z lvl=info msg="Cache snapshot (start)" log_id=0hFl9puG000 service=storage-engine engine=tsm1 op_name=tsm1_cache>
          Apr 20 01:22:24 homebridge influxd-systemd-start.sh[717]: ts=2023-04-19T23:22:24.643437Z lvl=info msg="Snapshot for path written" log_id=0hFl9puG000 service=storage-engine engine=tsm1 op_name=tsm1_ca>
          Apr 20 01:22:24 homebridge influxd-systemd-start.sh[717]: ts=2023-04-19T23:22:24.643518Z lvl=info msg="Cache snapshot (end)" log_id=0hFl9puG000 service=storage-engine engine=tsm1 op_name=tsm1_cache_s>
          Apr 20 01:31:32 homebridge influxd-systemd-start.sh[717]: ts=2023-04-19T23:31:32.352244Z lvl=info msg=Unauthorized log_id=0hFl9puG000 error="token required"
          Apr 20 01:39:07 homebridge influxd-systemd-start.sh[717]: ts=2023-04-19T23:39:07.541303Z lvl=info msg=Unauthorized log_id=0hFl9puG000 error="session not found"
          Apr 20 01:42:36 homebridge influxd-systemd-start.sh[717]: ts=2023-04-19T23:42:36.631495Z lvl=info msg="Retention policy deletion check (start)" log_id=0hFl9puG000 service=retention op_name=retention_>
          Apr 20 01:42:36 homebridge influxd-systemd-start.sh[717]: ts=2023-04-19T23:42:36.631747Z lvl=info msg="Retention policy deletion check (end)" log_id=0hFl9puG000 service=retention op_name=retention_de>
          lines 1-20/20 (END)
          
          1 Reply Last reply Reply Quote 0
          • mickym
            mickym Most Active @mickym last edited by mickym

            @mickym Das habe ich befürchtet.

            starte einfach mal deine maschine neu. 😉

            Damrak2022 1 Reply Last reply Reply Quote 0
            • Damrak2022
              Damrak2022 @mickym last edited by

              @mickym Den Rechner oder den Raspi

              mickym 1 Reply Last reply Reply Quote 0
              • mickym
                mickym Most Active @Damrak2022 last edited by mickym

                @damrak2022 Den Raspi - da läuft doch Deine influx db drauf. Achte darauf dass der Influx Adapter gestoppt ist.

                Damrak2022 1 Reply Last reply Reply Quote 0
                • Damrak2022
                  Damrak2022 @mickym last edited by Damrak2022

                  @mickym Okay - Der Adapter ist schon die ganze Zeit gestoppt

                  1 Reply Last reply Reply Quote 0
                  • Damrak2022
                    Damrak2022 @mickym last edited by

                    @mickym Startet gerade wieder

                    mickym 1 Reply Last reply Reply Quote 0
                    • mickym
                      mickym Most Active @Damrak2022 last edited by

                      @damrak2022 Gut dann checkst Du - aber der Service sollte nun nicht mehr laufen oder einen Fehler bringen.

                      Also

                      systemctl status influxdb
                      
                      Damrak2022 1 Reply Last reply Reply Quote 0
                      • Damrak2022
                        Damrak2022 @mickym last edited by

                        @mickym

                        Andy@homebridge:~ $ systemctl status influxdb
                        ● influxdb.service - InfluxDB is an open-source, distributed, time series datab>
                             Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor pres>
                             Active: failed (Result: exit-code) since Thu 2023-04-20 01:50:08 CEST; 3mi>
                               Docs: https://docs.influxdata.com/influxdb/
                            Process: 736 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (>
                                CPU: 4ms
                        
                        Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Scheduled restart job,>
                        Apr 20 01:50:08 homebridge systemd[1]: Stopped InfluxDB is an open-source, dist>
                        Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Start request repeated>
                        Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Failed with result 'ex>
                        Apr 20 01:50:08 homebridge systemd[1]: Failed to start InfluxDB is an open-sour>
                        lines 1-12/12 (END)
                        ● influxdb.service - InfluxDB is an open-source, distributed, time series database
                             Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: >
                             Active: failed (Result: exit-code) since Thu 2023-04-20 01:50:08 CEST; 3min 45>
                               Docs: https://docs.influxdata.com/influxdb/
                            Process: 736 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code>
                                CPU: 4ms
                        
                        Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Scheduled restart job, res>
                        Apr 20 01:50:08 homebridge systemd[1]: Stopped InfluxDB is an open-source, distribu>
                        Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Start request repeated too>
                        Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Failed with result 'exit-c>
                        Apr 20 01:50:08 homebridge systemd[1]: Failed to start InfluxDB is an open-source, >
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        lines 1-12/12 (END)
                        ● influxdb.service - InfluxDB is an open-source, distributed, time series database
                             Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
                             Active: failed (Result: exit-code) since Thu 2023-04-20 01:50:08 CEST; 3min 45s ago
                               Docs: https://docs.influxdata.com/influxdb/
                            Process: 736 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=203/EXEC)
                                CPU: 4ms
                        
                        Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5.
                        Apr 20 01:50:08 homebridge systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database.
                        Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Start request repeated too quickly.
                        Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Failed with result 'exit-code'.
                        Apr 20 01:50:08 homebridge systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database.
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        lines 1-12/12 (END)
                        ● influxdb.service - InfluxDB is an open-source, distributed, time series database
                             Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
                             Active: failed (Result: exit-code) since Thu 2023-04-20 01:50:08 CEST; 3min 45s ago
                               Docs: https://docs.influxdata.com/influxdb/
                            Process: 736 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=203/EXEC)
                                CPU: 4ms
                        
                        Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5.
                        Apr 20 01:50:08 homebridge systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database.
                        Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Start request repeated too quickly.
                        Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Failed with result 'exit-code'.
                        Apr 20 01:50:08 homebridge systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database.
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        lines 1-12/12 (END)
                        ● influxdb.service - InfluxDB is an open-source, distributed, time series database
                             Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
                             Active: failed (Result: exit-code) since Thu 2023-04-20 01:50:08 CEST; 3min 45s ago
                               Docs: https://docs.influxdata.com/influxdb/
                            Process: 736 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=203/EXEC)
                                CPU: 4ms
                        
                        Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5.
                        Apr 20 01:50:08 homebridge systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database.
                        Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Start request repeated too quickly.
                        Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Failed with result 'exit-code'.
                        Apr 20 01:50:08 homebridge systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database.
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        lines 1-12/12 (END)
                        ● influxdb.service - InfluxDB is an open-source, distributed, time series database
                             Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
                             Active: failed (Result: exit-code) since Thu 2023-04-20 01:50:08 CEST; 3min 45s ago
                               Docs: https://docs.influxdata.com/influxdb/
                            Process: 736 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=203/EXEC)
                                CPU: 4ms
                        
                        Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5.
                        Apr 20 01:50:08 homebridge systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database.
                        Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Start request repeated too quickly.
                        Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Failed with result 'exit-code'.
                        Apr 20 01:50:08 homebridge systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database.
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        ~
                        lines 1-12/12 (END)
                        
                        mickym 1 Reply Last reply Reply Quote 0
                        • mickym
                          mickym Most Active @Damrak2022 last edited by mickym

                          @damrak2022 OK - also active ist es nicht mehr.

                          Gut wir schauen aber nun noch dieses Verzeichnis an - auch wenn der Service nicht mehr aktiv ist.

                          schau mal

                          sudo ls -la /usr/lib/influxdb
                          
                          Damrak2022 1 Reply Last reply Reply Quote 0
                          • Damrak2022
                            Damrak2022 @mickym last edited by

                            @mickym

                            Andy@homebridge:~ $ sudo ls -la /usr/lib/influxdb
                            ls: Zugriff auf '/usr/lib/influxdb' nicht möglich: Datei oder Verzeichnis nicht gefunden
                            Andy@homebridge:~ $
                            
                            
                            mickym 1 Reply Last reply Reply Quote 0
                            • mickym
                              mickym Most Active @Damrak2022 last edited by

                              @damrak2022 Gut ist nicht mehr da - also wieder neu installieren und dann GUI

                              sudo apt install influxdb2
                              
                              Damrak2022 1 Reply Last reply Reply Quote 0
                              • Damrak2022
                                Damrak2022 @mickym last edited by

                                @mickym sagte in Influxdb2 Backitup:

                                sudo apt install influxdb2

                                Momentan nur drehendes Symbol. Ich sollte meiner Rechner mal kurz Neustarten, denn ich denke das ist der Grund

                                mickym 1 Reply Last reply Reply Quote 0
                                • mickym
                                  mickym Most Active @Damrak2022 last edited by

                                  @damrak2022 Wie nur drehendes Symbol - hat denn die Installation geklappt?

                                  Damrak2022 2 Replies Last reply Reply Quote 0
                                  • Damrak2022
                                    Damrak2022 @mickym last edited by

                                    @mickym Ja

                                    mickym 1 Reply Last reply Reply Quote 0
                                    • Damrak2022
                                      Damrak2022 @mickym last edited by

                                      @mickym Ich starte mal neu

                                      1 Reply Last reply Reply Quote 0
                                      • mickym
                                        mickym Most Active @Damrak2022 last edited by

                                        @damrak2022

                                        Dann erst mal schauen, ob der Service läuft:

                                        systemctl status influxdb
                                        
                                        Damrak2022 1 Reply Last reply Reply Quote 0
                                        • Damrak2022
                                          Damrak2022 @mickym last edited by

                                          @mickym sagte in Influxdb2 Backitup:

                                          systemctl status influxdb

                                          Nein noch nicht

                                          Andy@homebridge:~ $ systemctl status influxdb
                                          ● influxdb.service - InfluxDB is an open-source, distributed, time series datab>
                                               Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor pres>
                                               Active: failed (Result: exit-code) since Thu 2023-04-20 01:50:08 CEST; 18m>
                                                 Docs: https://docs.influxdata.com/influxdb/
                                                  CPU: 4ms
                                          
                                          Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Scheduled restart job,>
                                          Apr 20 01:50:08 homebridge systemd[1]: Stopped InfluxDB is an open-source, dist>
                                          Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Start request repeated>
                                          Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Failed with result 'ex>
                                          Apr 20 01:50:08 homebridge systemd[1]: Failed to start InfluxDB is an open-sour>
                                          lines 1-11/11 (END)
                                          ● influxdb.service - InfluxDB is an open-source, distributed, time series database
                                               Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: e>
                                               Active: failed (Result: exit-code) since Thu 2023-04-20 01:50:08 CEST; 18min ago
                                                 Docs: https://docs.influxdata.com/influxdb/
                                                  CPU: 4ms
                                          
                                          Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Scheduled restart job, rest>
                                          Apr 20 01:50:08 homebridge systemd[1]: Stopped InfluxDB is an open-source, distribut>
                                          Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Start request repeated too >
                                          Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Failed with result 'exit-co>
                                          Apr 20 01:50:08 homebridge systemd[1]: Failed to start InfluxDB is an open-source, d>
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          lines 1-11/11 (END)
                                          ● influxdb.service - InfluxDB is an open-source, distributed, time series database
                                               Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
                                               Active: failed (Result: exit-code) since Thu 2023-04-20 01:50:08 CEST; 18min ago
                                                 Docs: https://docs.influxdata.com/influxdb/
                                                  CPU: 4ms
                                          
                                          Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5.
                                          Apr 20 01:50:08 homebridge systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database.
                                          Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Start request repeated too quickly.
                                          Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Failed with result 'exit-code'.
                                          Apr 20 01:50:08 homebridge systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database.
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          lines 1-11/11 (END)
                                          ● influxdb.service - InfluxDB is an open-source, distributed, time series database
                                               Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
                                               Active: failed (Result: exit-code) since Thu 2023-04-20 01:50:08 CEST; 18min ago
                                                 Docs: https://docs.influxdata.com/influxdb/
                                                  CPU: 4ms
                                          
                                          Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5.
                                          Apr 20 01:50:08 homebridge systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database.
                                          Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Start request repeated too quickly.
                                          Apr 20 01:50:08 homebridge systemd[1]: influxdb.service: Failed with result 'exit-code'.
                                          Apr 20 01:50:08 homebridge systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database.
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          ~
                                          lines 1-11/11 (END)
                                          
                                          mickym 1 Reply Last reply Reply Quote 0
                                          • mickym
                                            mickym Most Active @Damrak2022 last edited by mickym

                                            @damrak2022 Ok - dann lass es uns nochmal machen . aber den Service vorher stoppenn.

                                            Also nochmal das Ganze.

                                            sudo systemctl stop influxdb
                                            

                                            dann

                                            sudo systemctl disable influxdb
                                            

                                            dann

                                            Maschine neu starten

                                            sudo apt purge influxdb
                                            

                                            dann wieder die beiden Verzeichnisse löschen.

                                            Andy@homebridge:~ $ sudo rm -R /var/lib/influxdb
                                            Andy@homebridge:~ $ sudo rm -R /etc/influxdb
                                            

                                            Nochmal kontrollieren, dass der Service nicht mehr existiert:

                                            systemctl status influxdb
                                            

                                            Dann Maschine nochmal neu starten.

                                            Dann wieder installieren und erst mal zeigen was bei

                                            apt install influxdb
                                            

                                            rauskommt.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            730
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            214
                                            15967
                                            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