NEWS
Influxdb2 Backitup
-
-
@keksn sagte in Influxdb2 Backitup:
@keksn ja iobroker läuft auch in einem eigenen Container, wollte ich so da ich mit Influx(2) immer schon meine Probleme hatt darum wollte ich das separat laufen lassen
na dann weißt du ja jetzt, wie man die cli installiert. Im iobroker Container.
-
@marc-berg ja soweit das mit meinen begrenzten Fähigkeiten möglich ist.Es erklärt natürlich dann warum es im selben Container funktioniert hat
@keksn sagte in Influxdb2 Backitup:
@marc-berg ja soweit das mit meinen begrenzten Fähigkeiten möglich ist.Es erklärt natürlich dann warum es im selben Container funktioniert hat
Ich würde es so machen:
wget -q https://repos.influxdata.com/influxdata-archive_compat.key 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 update sudo apt install influxdb2-cli -
@keksn sagte in Influxdb2 Backitup:
@marc-berg ja soweit das mit meinen begrenzten Fähigkeiten möglich ist.Es erklärt natürlich dann warum es im selben Container funktioniert hat
Ich würde es so machen:
wget -q https://repos.influxdata.com/influxdata-archive_compat.key 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 update sudo apt install influxdb2-cli@marc-berg danke verkürzt die Recherche
-
@keksn sagte in Influxdb2 Backitup:
@marc-berg ja soweit das mit meinen begrenzten Fähigkeiten möglich ist.Es erklärt natürlich dann warum es im selben Container funktioniert hat
Ich würde es so machen:
wget -q https://repos.influxdata.com/influxdata-archive_compat.key 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 update sudo apt install influxdb2-cli@marc-berg sagte in Influxdb2 Backitup:
@keksn sagte in Influxdb2 Backitup:
@marc-berg ja soweit das mit meinen begrenzten Fähigkeiten möglich ist.Es erklärt natürlich dann warum es im selben Container funktioniert hat
Ich würde es so machen:
wget -q https://repos.influxdata.com/influxdata-archive_compat.key 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 update sudo apt install influxdb2-cli[DEBUG] [influxDB] - InfluxDB-Backup started ... [DEBUG] [influxDB] - Start InfluxDB Backup ... [DEBUG] [influxDB] - InfluxDB Backup tmp directory created [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2023_04_16-16_35_19_backupiobroker" [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_04_16-16_35_19_backupiobroker" successfully deleted [DEBUG] [influxDB] - [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobrokerneu --host http://192.168.1.180:8088 -t MnAMLBIYNXn0e3Jmq07UKhQGbbgIOI706dB4oVS5D3GEDufcNVyiqQEEAqmALEvoKyxNaE8lHNfLp0WrsSJpWg== "/opt/iobroker/backups/influxDB_2023_04_16-16_35_19_backupiobroker" Error: API compatibility check failed: Get "http://192.168.1.180:8088/health": dial tcp 192.168.1.180:8088: connect: connection refused -
@marc-berg sagte in Influxdb2 Backitup:
@keksn sagte in Influxdb2 Backitup:
@marc-berg ja soweit das mit meinen begrenzten Fähigkeiten möglich ist.Es erklärt natürlich dann warum es im selben Container funktioniert hat
Ich würde es so machen:
wget -q https://repos.influxdata.com/influxdata-archive_compat.key 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 update sudo apt install influxdb2-cli[DEBUG] [influxDB] - InfluxDB-Backup started ... [DEBUG] [influxDB] - Start InfluxDB Backup ... [DEBUG] [influxDB] - InfluxDB Backup tmp directory created [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2023_04_16-16_35_19_backupiobroker" [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_04_16-16_35_19_backupiobroker" successfully deleted [DEBUG] [influxDB] - [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobrokerneu --host http://192.168.1.180:8088 -t MnAMLBIYNXn0e3Jmq07UKhQGbbgIOI706dB4oVS5D3GEDufcNVyiqQEEAqmALEvoKyxNaE8lHNfLp0WrsSJpWg== "/opt/iobroker/backups/influxDB_2023_04_16-16_35_19_backupiobroker" Error: API compatibility check failed: Get "http://192.168.1.180:8088/health": dial tcp 192.168.1.180:8088: connect: connection refused@keksn sagte in Influxdb2 Backitup:
tcp 192.168.1.180:8088: connect: connection refused
Jo, cli ist jetzt richtig installiert, allerdings hast Du jetzt ein Netzwerk Problem. Bei Proxmox bin ich da aber raus.
tcp 192.168.1.180:8088: connect: connection refused -
@keksn sagte in
es kommt bei mir da immer zu Fehlern.
denke aber nicht Du hast sooo viel Zeit mit mir die Installationsfehler durchzugehen
und ohne grundlegenen Infos wie Logs kann man dir nicht helfen !
@glasfaser sagte in Influxdb2 Backitup:
@keksn sagte in
es kommt bei mir da immer zu Fehlern.
denke aber nicht Du hast sooo viel Zeit mit mir die Installationsfehler durchzugehen
und ohne grundlegenen Infos wie Logs kann man dir nicht helfen !
So geht schon mal los im neuen Container beim Begin der Installation lt. Influxdb
keksn@influxdb3:~$ wget https://dl.influxdata.com/influxdb/releases/influxdb2-2.7.0-xxx.deb sudo dpkg -i influxdb2-2.7.0-amd64.deb --2023-04-16 14:37:17-- https://dl.influxdata.com/influxdb/releases/influxdb2-2.7.0-xxx.deb Resolving dl.influxdata.com (dl.influxdata.com)... 13.32.110.116, 13.32.110.90, 13.32.110.87, ... Connecting to dl.influxdata.com (dl.influxdata.com)|13.32.110.116|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2023-04-16 14:37:18 ERROR 404: Not Found. We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. -
@keksn sagte in Influxdb2 Backitup:
tcp 192.168.1.180:8088: connect: connection refused
Jo, cli ist jetzt richtig installiert, allerdings hast Du jetzt ein Netzwerk Problem. Bei Proxmox bin ich da aber raus.
tcp 192.168.1.180:8088: connect: connection refused@marc-berg sagte in Influxdb2 Backitup:
ei Proxmox bin ich da aber raus.
Hab schon gesehen das ich da in das nächste Problem geschlittert bin. Danke für Deine Hilfe!
-
@glasfaser sagte in Influxdb2 Backitup:
@keksn sagte in
es kommt bei mir da immer zu Fehlern.
denke aber nicht Du hast sooo viel Zeit mit mir die Installationsfehler durchzugehen
und ohne grundlegenen Infos wie Logs kann man dir nicht helfen !
So geht schon mal los im neuen Container beim Begin der Installation lt. Influxdb
keksn@influxdb3:~$ wget https://dl.influxdata.com/influxdb/releases/influxdb2-2.7.0-xxx.deb sudo dpkg -i influxdb2-2.7.0-amd64.deb --2023-04-16 14:37:17-- https://dl.influxdata.com/influxdb/releases/influxdb2-2.7.0-xxx.deb Resolving dl.influxdata.com (dl.influxdata.com)... 13.32.110.116, 13.32.110.90, 13.32.110.87, ... Connecting to dl.influxdata.com (dl.influxdata.com)|13.32.110.116|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2023-04-16 14:37:18 ERROR 404: Not Found. We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility.@keksn sagte in Influxdb2 Backitup:
wget https://dl.influxdata.com/influxdb/releases/influxdb2-2.7.0-xxx.deb
Sorry...
Aber hast du eben nicht gelernt, das man Software so eben NICHT installiert sondern NUR und AUSSCHLIESSLICH über den Paketmanager?Kannste direkt wieder wie oben reparieren. Ich bin da aber jetzt raus...
-
@keksn sagte in Influxdb2 Backitup:
wget https://dl.influxdata.com/influxdb/releases/influxdb2-2.7.0-xxx.deb
Sorry...
Aber hast du eben nicht gelernt, das man Software so eben NICHT installiert sondern NUR und AUSSCHLIESSLICH über den Paketmanager?Kannste direkt wieder wie oben reparieren. Ich bin da aber jetzt raus...
@thomas-braun sagte in Influxdb2 Backitup:
h bin da aber jetzt raus...
Wie installiert man über den Paketmanager ? Ich habe einen CT mit einem Debian Template in Proxmox erstellt und lt. der Beschreibung auf der Influxdb Homepage begonnen zu Installieren... das zum Thema es ist einfach
-
@thomas-braun sagte in Influxdb2 Backitup:
h bin da aber jetzt raus...
Wie installiert man über den Paketmanager ? Ich habe einen CT mit einem Debian Template in Proxmox erstellt und lt. der Beschreibung auf der Influxdb Homepage begonnen zu Installieren... das zum Thema es ist einfach
Siehe oben.
-
Siehe oben.
Der "*" bleibt bei Influx oder ist der durch "2" zu ersetzen?
sudo apt update apt policy influxdb* -
Der "*" bleibt bei Influx oder ist der durch "2" zu ersetzen?
sudo apt update apt policy influxdb*Mit
apt policyschaust du nur, was da jetzt in den Repos liegt.
Dürfte nur die debian-Version des Paketes sein, weil ja das influx-Repo wohl noch nicht angelegt wurde. -
Mit
apt policyschaust du nur, was da jetzt in den Repos liegt.
Dürfte nur die debian-Version des Paketes sein, weil ja das influx-Repo wohl noch nicht angelegt wurde.ich habe jetzt wieder einen neuen Container mit Debian 11.
Ich beginne jetzt mit
rm influxdb2* rm /etc/apt/sources.list.d/influx* sudo apt update?
-
ich habe jetzt wieder einen neuen Container mit Debian 11.
Ich beginne jetzt mit
rm influxdb2* rm /etc/apt/sources.list.d/influx* sudo apt update?
@keksn sagte in Influxdb2 Backitup:
rm /etc/apt/sources.list.d/influx*
Dann gibt es da diese Dateien auch noch nicht. Kannste also weglassen.
Das Repo legt man so an (Übrigens von der influxdb-Webseite kopiert):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 updateDann sollte auch bei
apt policy influxdb*neues im Regal liegen.
-
@keksn sagte in Influxdb2 Backitup:
rm /etc/apt/sources.list.d/influx*
Dann gibt es da diese Dateien auch noch nicht. Kannste also weglassen.
Das Repo legt man so an (Übrigens von der influxdb-Webseite kopiert):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 updateDann sollte auch bei
apt policy influxdb*neues im Regal liegen.
ja das hab ich auch schon gemacht...
keksn@influxdb3:~$ 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 update influxdata-archive_compat.key: OK -bash: gpg: command not found deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main Hit:1 http://security.debian.org bullseye-security InRelease Get:2 https://repos.influxdata.com/debian stable InRelease [6883 B] Hit:3 http://deb.debian.org/debian bullseye InRelease Hit:4 http://deb.debian.org/debian bullseye-updates InRelease Err:2 https://repos.influxdata.com/debian stable InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E Reading package lists... Done W: GPG error: https://repos.influxdata.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E E: The repository 'https://repos.influxdata.com/debian stable InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. keksn@influxdb3:~$ -
@keksn sagte in Influxdb2 Backitup:
rm /etc/apt/sources.list.d/influx*
Dann gibt es da diese Dateien auch noch nicht. Kannste also weglassen.
Das Repo legt man so an (Übrigens von der influxdb-Webseite kopiert):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 updateDann sollte auch bei
apt policy influxdb*neues im Regal liegen.
so wurde es vorher installiert
wget -q https://repos.influxdata.com/influxdata-archive_compat.keyecho '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.listcat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/nullapt update && apt install influxdb2 -
so wurde es vorher installiert
wget -q https://repos.influxdata.com/influxdata-archive_compat.keyecho '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.listcat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/nullapt update && apt install influxdb2Dann mach es danach nochmal.
-
Dann mach es danach nochmal.
dachte es war falsch installiert....
-
@thomas-braun Ich habe gerade bei meinem Backitup alles eingerichtet und ein manuelles Backup angestoßen. Nun bekomme ich da aber folgenden Fehler:
Started iobroker ... [DEBUG] [iobroker] - host.homebridge 18347 states saved [DEBUG] [iobroker] - host.homebridge 24913 objects saved [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2023_04_19-18_33_26_backupiobroker.tar.gz [DEBUG] [iobroker] - done [DEBUG] [influxDB] - InfluxDB-Backup started ... [DEBUG] [influxDB] - Start InfluxDB Backup ... [DEBUG] [influxDB] - InfluxDB Backup tmp directory created [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2023_04_19-18_33_52_backupiobroker" [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_04_19-18_33_52_backupiobroker" successfully deleted [DEBUG] [influxDB] - [ERROR] [influxDB] - Error: Command failed: influxd backup -portable -database iobroker "/opt/iobroker/backups/influxDB_2023_04_19-18_33_52_backupiobroker" Error: unknown shorthand flag: 'p' in -portable See 'influxd -h' for helpHier die Einstellungen des Adapters:

Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden