for a long time I have been desperately trying to access my data migrated from InfluxDB 1.6.7~rc0 from the Raspberry into a Docker 2.4. I managed to copy and migrate the data from /var/lib/influxdb/ from the Raspberry to the Docker.
Using influx v1 shell I can access my data from 1.6 and list it select * from mqtt.0.esp01.sensor.temperature.state. However, from the shell I cannot access the data saved with 2.4. With the Data Explorer I can access the data saved with 2.4, but not the data from 1.6.
Can anyone help me how to access my old and new data in Docker? Some little thing is missing, but for weeks I can’t figure it out.
Does your 1.6.7 data use InfluxQL, and your 2.4 data use Flux? If yes, have you considered just migrating all of the data into the new (Flux) format? I did that using Node-RED. See here.
Hi @grant1
this could be the reason. Do you have another idea to migrate the data without Node-RED?
Otherwise I will try to export the date with another Docker 1.8 as the current installation does not provide influx_inspect.
FYI, the main reason I used Node-RED to the data transfer was because my old (v1.8) data was horribly misnamed, mistagged, etc. and I educated myself enough about Flux to come up with a more logical schema. So when I moved the data from v1.8 to v2.3, I added/removed/fixed tags, fieldnames, etc. It was actually quite easy.
@grant1
Yes, that is the new view with the data explorer inside.
I use ioBroker and I also thinking about to renaming and restructuring of the data. Perhaps it is the best way to migrate the data reading old fields and values and store them in the new way.
Thanks for the hint. I will add my solution when it is implemented and working.