NEWS
BackItUp für InfluxDB
-
@massiveattack
Im js-Adapter spiegeln (am besten außerhalb von /opt/iobroker ; z. B. im /home/iobroker/iobskripte oder sowas) und dieses Spiegelverzeichnis im Backitup eintragen. -
Danke, funktioniert
-
@massiveattack sagte in BackItUp für InfluxDB:
In der Config steht nix besonderes drin, alles default
Zeige bitte trotzdem mal die Config
-
$ docker run -p 8086:8086 \ -v influxdb:/var/lib/influxdb \ influxdb:1.8
-
@massiveattack der Port 8088 ist da aber nicht konfiguriert.
Den Port benötigst du als remote Port -
@simatec
den habe ich auch in der influx config eingestellt:[admin]
enabled = true
bind-address = ":8088"(hab auch schon "0.0.0.0:8088" erfolglos versucht"
-
@massiveattack sagte in BackItUp für InfluxDB:
8088
Ich denke beim docker musst du den Port auch freigeben ...
Eventuell kann da @andre etwas zu sagen. -
Puh ob man den Port nachträglich im Docker ändern kann, wage ich zu bezweifeln, zumindest in der Docker Station von Qnap gibts da Probleme.
Aber wärs nicht einfacher, den Port auf ":8086" zu ändern, sowohl in der config als auch im iobroker backup?
Oder wäre der dann doppelt belegt? Wäre das ein Problem? -
@massiveattack Nein der Port 8086 ist belegt ... Remote benötigt einen anderen Port
-
@simatec
Alles klar. Vielleicht hat jemand eine Idee, wie man einen zusätzlichen Port in der Container Station (Qnap) freigeben kann. -
@simatec Hallo!
ich würde gerne ein Backup der Influx-Daten (BackitUp) im Synology/Docker/Container/influx1.7 einspielen.
bekomme es aber nicht hin, dass er die Daten vom Backup übernimmt?
weder im iobroker - backitup noch mit dem Befehlinfluxd backup -portable -database iobroker "/var/lib/influxdb/backups/influxDB_20_05_21"
-
@simatec sagte in BackItUp für InfluxDB:
Eventuell kann da @andre etwas zu sagen.
Noch aktuell? Worum geht es? War leider ein paar Tage raus...
MfG,
André -
@andre ev. würdest du mir helfen? ich versuche mit Backitup Influx Daten in mein Synology/Docker Influx zu bekommen.
-
-
seit einem Grafana Update auf v8 bekomme ich beim Backup einen Fehler:
[DEBUG] [iobroker] - done [DEBUG] [grafana] - Start Grafana Backup ... [DEBUG] [grafana] - Created grafana_tmp directory: "/opt/iobroker/backups/grafana_tmp" [DEBUG] [grafana] - Created dashboard directory [DEBUG] [grafana] - Created dashboards_manually_restore directory [DEBUG] [grafana] - Created datasource directory [DEBUG] [grafana] - start Grafana request ... [DEBUG] [grafana] - Grafana is available ... Status: 200 [DEBUG] [grafana] - Error on Grafana Dashoard backup: Error: Request failed with status code 404 [DEBUG] [grafana] - start Grafana backup compress ... [DEBUG] [grafana] - Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp" [DEBUG] [grafana] - Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted [DEBUG] [grafana] - cannot found Grafana Backup files [DEBUG] [grafana] - done [DEBUG] [cifs] - done [DEBUG] [cifs] start with {"mountType":"NFS","type":"storage","source":"cifs","mount":"192.168.0.3","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"dir":"/backup","dirMinimal":"sharename/backupDir","user":"","pass":"****","backupDir":"/opt/iobroker/backups","deleteBackupAfter":0} [DEBUG] [clean] - done [DEBUG] [historyHTML] - new history html values created [DEBUG] [historyHTML] - done [DEBUG] [historyJSON] - new history json values created [DEBUG] [historyJSON] - done [DEBUG] [historyHTML] start with {"type":"creator","time":"02:00","debugging":true,"everyXDays":"5","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"NFS","type":"storage","source":"cifs","mount":"192.168.0.3","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"dir":"/backup","dirMinimal":"sharename/backupDir","user":"","pass":"****","context":{"fileNames":["/opt/iobroker/backups/iobroker_2021_06_09-11_42_47_backupiobroker.tar.gz"],"errors":{},"done":["mount","iobroker"],"types":["iobroker"]},"adapter":null},"dir":"/opt/iobroker","grafana":{"enabled":true,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"cifs","host":"","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","user":"","pass":"****","port":"21"},"cifs":{"enabled":true,"mountType":"NFS","type":"storage","source":"cifs","mount":"192.168.0.3","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"dir":"backup","dirMinimal":"sharename/backupDir","user":"","pass":"****"},"dropbox":{"enabled":false,"type":"storage","source":"cifs","debugging":true,"deleteOldBackup":false,"accessToken":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"webdav":{"enabled":false,"type":"storage","source":"cifs","debugging":true,"deleteOldBackup":false,"username":"username","pass":"****","url":"https://example.com/remote.php/dav/files/username/","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"googledrive":{"enabled":false,"type":"storage","source":"cifs","debugging":true,"deleteOldBackup":false,"accessJson":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"host":"192.168.0.10","port":"3000","username":"admin","pass":"****","apiKey":"****"},"historyHTML":{"enabled":true,"type":"message","entriesNumber":"5","systemLang":"de","time":"09. Juni 2021 um 11:42 Uhr"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"5","systemLang":"de"},"backupDir":"/opt/iobroker/backups"} [DEBUG] [historyJSON] start with {"type":"creator","time":"02:00","debugging":true,"everyXDays":"5","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"NFS","type":"storage","source":"cifs","mount":"192.168.0.3","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"dir":"/backup","dirMinimal":"sharename/backupDir","user":"","pass":"****","context":{"fileNames":["/opt/iobroker/backups/iobroker_2021_06_09-11_42_47_backupiobroker.tar.gz"],"errors":{},"done":["mount","iobroker"],"types":["iobroker"]},"adapter":null},"dir":"/opt/iobroker","grafana":{"enabled":true,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"cifs","host":"","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","user":"","pass":"****","port":"21"},"cifs":{"enabled":true,"mountType":"NFS","type":"storage","source":"cifs","mount":"192.168.0.3","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"dir":"backup","dirMinimal":"sharename/backupDir","user":"","pass":"****"},"dropbox":{"enabled":false,"type":"storage","source":"cifs","debugging":true,"deleteOldBackup":false,"accessToken":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"webdav":{"enabled":false,"type":"storage","source":"cifs","debugging":true,"deleteOldBackup":false,"username":"username","pass":"****","url":"https://example.com/remote.php/dav/files/username/","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"googledrive":{"enabled":false,"type":"storage","source":"cifs","debugging":true,"deleteOldBackup":false,"accessJson":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"host":"192.168.0.10","port":"3000","username":"admin","pass":"****","apiKey":"****"},"historyHTML":{"enabled":true,"type":"message","entriesNumber":"5","systemLang":"de"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"5","systemLang":"de","time":"09. Juni 2021 um 11:42 Uhr"},"backupDir":"/opt/iobroker/backups"} [DEBUG] [umount] - mount activ, umount is started ... [DEBUG] [umount] start with {"mountType":"NFS","type":"storage","source":"cifs","mount":"192.168.0.3","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"dir":"/backup","dirMinimal":"sharename/backupDir","user":"","pass":"****","backupDir":"/opt/iobroker/backups"} [DEBUG] [umount] - umount successfully completed [DEBUG] [umount] - done [EXIT] 0
-
@massiveattack hast du deine Grafana Konfig wieder angepasst(api-key)? sonst funktioniert das backup nicht, da du vorhin ja alles gelöscht hast!!
-
@crunchip
ja, hab einen neuen api key erzeugt, und im iobroker hinterlegt.
braucht die aktivierung etwas zeit? bis dato hat es ja funktioniert -
neuer user, neuer key bringt auch nix...
-
@massiveattack keinen Plan was du da für ne Baustelle hast. Siehe deinem anderen Thread.
Hast du dir, wie empfohlen, das Verzeichnis var/lib/grafana weggesichert? -
@crunchip
die andere baustelle ist behoben, meine dashboards und settings sind alle vorhanden.
das dir hab ich gesichert, wurde aber anscheinend eh nicht gelöscht. musste nichts wiederherstellen nach dem install von v8