Backup of influxdb running in different docker is not working #445
-
Description / BeschreibungThis is my docker compose file
This is my docker startup
Backup is working. Protocol see below. Image versionv9.1.1 Docker logs / Docker Protokollbackitup.0
2024-03-04 06:44:16.670 error [iobroker/clean] Backup files not deleted from /opt/iobroker/backups because some errors.
backitup.0
2024-03-04 06:44:09.609 error [iobroker/googledrive] Google Drive: File "/opt/iobroker/backups/influxDB_2024_03_04-06_39_55_influxDB-1_backupiobroker.tar.gz" not found
backitup.0
2024-03-04 06:44:09.456 error [iobroker/googledrive] Google Drive: File "/opt/iobroker/backups/influxDB_2024_03_04-06_35_59_influxDB-0_backupiobroker.tar.gz" not found
backitup.0
2024-03-04 06:43:53.715 error [iobroker/ftp] File "/opt/iobroker/backups/influxDB_2024_03_04-06_39_55_influxDB-1_backupiobroker.tar.gz" not found
backitup.0
2024-03-04 06:43:53.712 error [iobroker/ftp] File "/opt/iobroker/backups/influxDB_2024_03_04-06_35_59_influxDB-0_backupiobroker.tar.gz" not found
backitup.0
2024-03-04 06:43:50.277 error [iobroker] Error: Command failed: influxd backup -portable -database endless -host :8088 "/opt/iobroker/backups/influxDB_2024_03_04-06_39_55_influxDB-1_backupiobroker"2024/03/04 06:39:55 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (0)...2024/03/04 06:39:57 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (1)...2024/03/04 06:39:59 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (2)...2024/03/04 06:40:01 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (3)...2024/03/04 06:40:03 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (4)...2024/03/04 06:40:05 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (5)...2024/03/04 06:40:07 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 3.01s and retrying (6)...2024/03/04 06:40:10 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 11.441s and retrying (7)...2024/03/04 06:40:21 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 43.477s and retrying (8)...2024/03/04 06:41:05 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2m45.216s and retrying (9)...backup: dial tcp :8088: connect: connection refused
backitup.0
2024-03-04 06:43:50.277 error [iobroker/influxDB] backup: dial tcp :8088: connect: connection refused
backitup.0
2024-03-04 06:43:50.277 error [iobroker/influxDB] 2024/03/04 06:41:05 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2m45.216s and retrying (9)...
backitup.0
2024-03-04 06:43:50.277 error [iobroker/influxDB] 2024/03/04 06:40:21 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 43.477s and retrying (8)...
backitup.0
2024-03-04 06:43:50.277 error [iobroker/influxDB] 2024/03/04 06:40:10 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 11.441s and retrying (7)...
backitup.0
2024-03-04 06:43:50.276 error [iobroker/influxDB] 2024/03/04 06:40:07 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 3.01s and retrying (6)...
backitup.0
2024-03-04 06:43:50.276 error [iobroker/influxDB] 2024/03/04 06:40:05 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (5)...
backitup.0
2024-03-04 06:43:50.276 error [iobroker/influxDB] 2024/03/04 06:40:03 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (4)...
backitup.0
2024-03-04 06:43:50.276 error [iobroker/influxDB] 2024/03/04 06:40:01 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (3)...
backitup.0
2024-03-04 06:43:50.276 error [iobroker/influxDB] 2024/03/04 06:39:59 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (2)...
backitup.0
2024-03-04 06:43:50.275 error [iobroker/influxDB] 2024/03/04 06:39:57 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (1)...
backitup.0
2024-03-04 06:43:50.275 error [iobroker/influxDB] 2024/03/04 06:39:55 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (0)...
backitup.0
2024-03-04 06:43:50.275 error [iobroker/influxDB] Error: Command failed: influxd backup -portable -database endless -host :8088 "/opt/iobroker/backups/influxDB_2024_03_04-06_39_55_influxDB-1_backupiobroker"
backitup.0
2024-03-04 06:39:55.078 error [iobroker/influxDB] backup: dial tcp :8088: connect: connection refused2024/03/04 06:35:59 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (0)...2024/03/04 06:36:01 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (1)...2024/03/04 06:36:03 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (2)...2024/03/04 06:36:05 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (3)...2024/03/04 06:36:07 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (4)...2024/03/04 06:36:09 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (5)...2024/03/04 06:36:11 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 3.01s and retrying (6)...2024/03/04 06:36:14 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 11.441s and retrying (7)...2024/03/04 06:36:26 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 43.477s and retrying (8)...2024/03/04 06:37:09 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2m45.216s and retrying (9)...backup: dial tcp :8088: connect: connection refused
backitup.0
2024-03-04 06:39:55.077 error [iobroker/influxDB] 2024/03/04 06:37:09 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2m45.216s and retrying (9)...
backitup.0
2024-03-04 06:39:55.077 error [iobroker/influxDB] 2024/03/04 06:36:14 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 11.441s and retrying (7)...
backitup.0
2024-03-04 06:39:55.078 error [iobroker] Error: Command failed: influxd backup -portable -database iobroker -host :8088 "/opt/iobroker/backups/influxDB_2024_03_04-06_35_59_influxDB-0_backupiobroker"
backitup.0
2024-03-04 06:39:55.076 error [iobroker/influxDB] 2024/03/04 06:36:11 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 3.01s and retrying (6)...
backitup.0
2024-03-04 06:39:55.077 error [iobroker/influxDB] 2024/03/04 06:36:26 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 43.477s and retrying (8)...
backitup.0
2024-03-04 06:39:55.076 error [iobroker/influxDB] 2024/03/04 06:36:09 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (5)...
backitup.0
2024-03-04 06:39:55.075 error [iobroker/influxDB] 2024/03/04 06:36:05 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (3)...
backitup.0
2024-03-04 06:39:55.075 error [iobroker/influxDB] 2024/03/04 06:36:01 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (1)...
backitup.0
2024-03-04 06:39:55.074 error [iobroker/influxDB] 2024/03/04 06:35:59 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (0)...
backitup.0
2024-03-04 06:39:55.075 error [iobroker/influxDB] 2024/03/04 06:36:03 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (2)...
backitup.0
2024-03-04 06:39:55.075 error [iobroker/influxDB] 2024/03/04 06:36:07 Download shard 0 failed dial tcp :8088: connect: connection refused. Waiting 2s and retrying (4)...
backitup.0
2024-03-04 06:39:55.074 error [iobroker/influxDB] Error: Command failed: influxd backup -portable -database iobroker -host :8088 "/opt/iobroker/backups/influxDB_2024_03_04-06_35_59_influxDB-0_backupiobroker"
|
Beta Was this translation helpful? Give feedback.
Replies: 12 comments 1 reply
-
Obviously you have not set the hostname in the backitup configuration. influxd backup -portable -database iobroker -host :8088 |
Beta Was this translation helpful? Give feedback.
-
Thanks for the help.
Maybe it is related to the docker instance of influxdb.
|
Beta Was this translation helpful? Give feedback.
-
Have you set |
Beta Was this translation helpful? Give feedback.
-
Sorry for my stupidy. Where do I set the influxdb.conf? |
Beta Was this translation helpful? Give feedback.
-
In the InfluxDB container (path: /etc/influxdb/influxdb.conf) |
Beta Was this translation helpful? Give feedback.
-
No, I did not. I will figure out the syntax and give it another go. |
Beta Was this translation helpful? Give feedback.
-
This influxdb.conf is not working
I have also tried bind-address = "127.0.0.1:8088" and |
Beta Was this translation helpful? Give feedback.
-
I see no issue with the ioBroker docker image. Looks like a configuration issue. I'll convert this to an discussion. BTW: Your ioBroker uses Host network, your influx uses bridge. Not sure if the communication there is possible. Regards, |
Beta Was this translation helpful? Give feedback.
-
I have tried various things.
I am clueless. Any further ideas? |
Beta Was this translation helpful? Give feedback.
-
Ok. Ich musste diese "bind-address = ":8088" aus dem influxdb.conf herausnehmen, anderenfalls hätte der influxdb überhaupt nicht mehr funktioniert. d.h. in ioBroker konnte ich mich mit diesem Parameter gar nicht mehr verbinden. |
Beta Was this translation helpful? Give feedback.
-
Ok. Ich versuch das jetzt auch nochmal.
Damit funktioniert die normale FUnktion, aber nicht das Backup. |
Beta Was this translation helpful? Give feedback.
-
Hurrah. Danke Marc-Berg!! Jetzt muss ich mich noch um Grafana Backup kümmern. Das funktioniert auch nicht. |
Beta Was this translation helpful? Give feedback.
Have you set
bind-address = ":8088"
in influxdb.conf?