NEWS
BackItUp - Fehler beim InfluxDB Backup
-
@prezl sagte in BackItUp - Fehler beim InfluxDB Backup:
Es wird eine Datei auf dem USB-Stick erstellt
ok, wenn die Datei vorhanden ist, funktioniert ja die generelle Verbindung zum Stick, also ein spezielles Problem mit Influx.
stell mal auf Remote und gib bei Host deine IP an, so steht es auch im offiziellen Thread
@crunchip sagte in BackItUp - Fehler beim InfluxDB Backup:
stell mal auf Remote und gib bei Host deine IP an
So hatte ich es ja ganz am Anfang, siehe den ersten Post. Nur kommt dann eben der Fehler...
Muss ich für ein Backup bei InfluxDB etwas spezielles einstellen?
-
@crunchip sagte in BackItUp - Fehler beim InfluxDB Backup:
stell mal auf Remote und gib bei Host deine IP an
So hatte ich es ja ganz am Anfang, siehe den ersten Post. Nur kommt dann eben der Fehler...
Muss ich für ein Backup bei InfluxDB etwas spezielles einstellen?
@prezl sagte in BackItUp - Fehler beim InfluxDB Backup:
Muss ich für ein Backup bei InfluxDB etwas spezielles einstellen?
nicht das ich wüsste
aber wenn du testweise mal in der influx config die bind Adresse änderst
statt # bind-address = "127.0.0.1:8088"bind-address = "192.168.178.42.1:8088"danach den service neu starten
systemctl restart influxdb.service -
@prezl sagte in BackItUp - Fehler beim InfluxDB Backup:
Muss ich für ein Backup bei InfluxDB etwas spezielles einstellen?
nicht das ich wüsste
aber wenn du testweise mal in der influx config die bind Adresse änderst
statt # bind-address = "127.0.0.1:8088"bind-address = "192.168.178.42.1:8088"danach den service neu starten
systemctl restart influxdb.service -
-
@crunchip
Wenn du Influx auf dem gleichen System wie iobroker hast, stelle in Backitup auf lokal.
Bind adress dann bitte auf dem Standard lassen.
Also 127.0.0.1.Falls der Fehler immernoch erscheint, dann ermittelte den Pfad von influxd und trage diesen ebenfalls in Backitup ein.
-
@crunchip
Wenn du Influx auf dem gleichen System wie iobroker hast, stelle in Backitup auf lokal.
Bind adress dann bitte auf dem Standard lassen.
Also 127.0.0.1.Falls der Fehler immernoch erscheint, dann ermittelte den Pfad von influxd und trage diesen ebenfalls in Backitup ein.
@simatec das hat er ja schon versucht, siehe https://forum.iobroker.net/post/589028
dann bleibt nur noch den Pfad direkt einzutragen, da dieser leer ist -
@crunchip
Wenn du Influx auf dem gleichen System wie iobroker hast, stelle in Backitup auf lokal.
Bind adress dann bitte auf dem Standard lassen.
Also 127.0.0.1.Falls der Fehler immernoch erscheint, dann ermittelte den Pfad von influxd und trage diesen ebenfalls in Backitup ein.
-
@simatec
Bind Adresse auf Standard und Sicherungsquelle auf Lokal funktioniert leider auch nicht.Wie ermittle ich den richtigen Pfad der InfluxDB?
-
@simatec
Leider immer noch nicht.Das ist eingestellt

pi@raspberrypi:~ $ which influxd /usr/bin/influxdbind-address = "127.0.0.1:8088"Und dann kommt dieser Fehler
[DEBUG] [influxDB] - Start InfluxDB Backup ... [DEBUG] [influxDB] - InfluxDB Backup tmp directory created [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted [ERROR] [influxDB] - [IGNORED] Error: Command failed: "/usr/bin/influxd" backup -portable -database Energie "/opt/iobroker/backups/influxDB_2021_02_27-21_45_49_backupiobroker" backup: open /opt/iobroker/backups/influxDB_2021_02_27-21_45_49_backupiobroker/meta.00.pending: stale NFS file handle [DEBUG] [cifs] - done [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors. [DEBUG] [clean] - done -
@simatec
Leider immer noch nicht.Das ist eingestellt

pi@raspberrypi:~ $ which influxd /usr/bin/influxdbind-address = "127.0.0.1:8088"Und dann kommt dieser Fehler
[DEBUG] [influxDB] - Start InfluxDB Backup ... [DEBUG] [influxDB] - InfluxDB Backup tmp directory created [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted [ERROR] [influxDB] - [IGNORED] Error: Command failed: "/usr/bin/influxd" backup -portable -database Energie "/opt/iobroker/backups/influxDB_2021_02_27-21_45_49_backupiobroker" backup: open /opt/iobroker/backups/influxDB_2021_02_27-21_45_49_backupiobroker/meta.00.pending: stale NFS file handle [DEBUG] [cifs] - done [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors. [DEBUG] [clean] - done -
@prezl
Versuche das ganze bitte mal lokal zu sichern.
Ich habe die Vermutung, dass etwas an deinen Schreibrechten auf dem NAS nicht passt.Um das Problem einzugrenzen, schaue mal, ob es als lokale Sicherung läuft
-
@prezl
Versuche das ganze bitte mal lokal zu sichern.
Ich habe die Vermutung, dass etwas an deinen Schreibrechten auf dem NAS nicht passt.Um das Problem einzugrenzen, schaue mal, ob es als lokale Sicherung läuft
@simatec
Eine lokale Sicherung funktioniert auch nicht richtig.Ich habe das Verzeichnis /home/pi/Test erstellt und wollte darin sichern, aber auch das schaff ich nicht...
Die Sicherungsdateien für iobroker und InfluxDB werden aber alle im Ordner /opt/iobroker/backups/ erstellt.

Gestartet... [DEBUG] [mount] - done [DEBUG] [iobroker] - host.raspberrypi 767 states saved [DEBUG] [iobroker] - host.raspberrypi 945 objects saved [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_02_28-15_39_30_backupiobroker.tar.gz [DEBUG] [iobroker] - done [DEBUG] [influxDB] - Start InfluxDB Backup ... [DEBUG] [influxDB] - InfluxDB Backup tmp directory created [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2021_02_28-15_39_36_backupiobroker.tar.gz [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted [DEBUG] [influxDB] - done [DEBUG] [cifs] - Copy iobroker_2021_02_28-15_39_30_backupiobroker.tar.gz... [ERROR] [cifs] - Error: EACCES: permission denied, open '/home/pi/Test/iobroker_2021_02_28-15_39_30_backupiobroker.tar.gz' [DEBUG] [cifs] - Copy influxDB_2021_02_28-15_39_36_backupiobroker.tar.gz... [ERROR] [cifs] - Error: EACCES: permission denied, open '/home/pi/Test/influxDB_2021_02_28-15_39_36_backupiobroker.tar.gz' [DEBUG] [cifs] - done [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors. [DEBUG] [clean] - done [DEBUG] [historyHTML] - new history html values created [DEBUG] [historyHTML] - done [DEBUG] [historyJSON] - new history json values created [DEBUG] [historyJSON] - done [DEBUG] [umount] - done [EXIT] 0 -
@simatec
Eine lokale Sicherung funktioniert auch nicht richtig.Ich habe das Verzeichnis /home/pi/Test erstellt und wollte darin sichern, aber auch das schaff ich nicht...
Die Sicherungsdateien für iobroker und InfluxDB werden aber alle im Ordner /opt/iobroker/backups/ erstellt.

Gestartet... [DEBUG] [mount] - done [DEBUG] [iobroker] - host.raspberrypi 767 states saved [DEBUG] [iobroker] - host.raspberrypi 945 objects saved [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_02_28-15_39_30_backupiobroker.tar.gz [DEBUG] [iobroker] - done [DEBUG] [influxDB] - Start InfluxDB Backup ... [DEBUG] [influxDB] - InfluxDB Backup tmp directory created [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2021_02_28-15_39_36_backupiobroker.tar.gz [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted [DEBUG] [influxDB] - done [DEBUG] [cifs] - Copy iobroker_2021_02_28-15_39_30_backupiobroker.tar.gz... [ERROR] [cifs] - Error: EACCES: permission denied, open '/home/pi/Test/iobroker_2021_02_28-15_39_30_backupiobroker.tar.gz' [DEBUG] [cifs] - Copy influxDB_2021_02_28-15_39_36_backupiobroker.tar.gz... [ERROR] [cifs] - Error: EACCES: permission denied, open '/home/pi/Test/influxDB_2021_02_28-15_39_36_backupiobroker.tar.gz' [DEBUG] [cifs] - done [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors. [DEBUG] [clean] - done [DEBUG] [historyHTML] - new history html values created [DEBUG] [historyHTML] - done [DEBUG] [historyJSON] - new history json values created [DEBUG] [historyJSON] - done [DEBUG] [umount] - done [EXIT] 0 -
@prezl
Nein lokal meine ich ohne copy oder NAS.
Einfach in das iobroker Backup Verzeichnis sichern@simatec
Ohne copy oder NAS funktioniert es. Da läuft die Sicherung ohne Fehler durch.Gestartet... [DEBUG] [iobroker] - host.raspberrypi 767 states saved [DEBUG] [iobroker] - host.raspberrypi 945 objects saved [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_02_28-20_47_32_backupiobroker.tar.gz [DEBUG] [iobroker] - done [DEBUG] [influxDB] - Start InfluxDB Backup ... [DEBUG] [influxDB] - InfluxDB Backup tmp directory created [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2021_02_28-20_47_38_backupiobroker.tar.gz [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted [DEBUG] [influxDB] - done [DEBUG] [clean] - done [DEBUG] [historyHTML] - new history html values created [DEBUG] [historyHTML] - done [DEBUG] [historyJSON] - new history json values created [DEBUG] [historyJSON] - done [EXIT] 0 -
@simatec
Ohne copy oder NAS funktioniert es. Da läuft die Sicherung ohne Fehler durch.Gestartet... [DEBUG] [iobroker] - host.raspberrypi 767 states saved [DEBUG] [iobroker] - host.raspberrypi 945 objects saved [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_02_28-20_47_32_backupiobroker.tar.gz [DEBUG] [iobroker] - done [DEBUG] [influxDB] - Start InfluxDB Backup ... [DEBUG] [influxDB] - InfluxDB Backup tmp directory created [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2021_02_28-20_47_38_backupiobroker.tar.gz [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted [DEBUG] [influxDB] - done [DEBUG] [clean] - done [DEBUG] [historyHTML] - new history html values created [DEBUG] [historyHTML] - done [DEBUG] [historyJSON] - new history json values created [DEBUG] [historyJSON] - done [EXIT] 0
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