Migration of Influx database - Raspbian to HAOS

I have RPi3 with Raspbian GNU/Linux 10 and Influx database 1.8.10 with more than 5 years of collected information from sensors.

Is it possible to migrate data from Influx in Rapsbian to Influx in HAOS?

I have HAOS v. 2025.12.5 with Influx 5.0.2 running in proxmox.

I made portable backup in Raspbian, but did not find way how to import them.

Thank you for help.

Can you export to csv as a format ready to import to HomeAssistant?

I have 1st table in CSV, it has 120 MB. I have 6 tables, but 1st working is way for other.

CSV look like:

name,time,Atm press.,CO2,Device,RH BME.,RH DHT,Temp,Temp BME.,Temp BMP.,Temp DHT,TempB,TempV
data,1586676785982252457,642,513,ESP8266_1,,20.14,15,,,16.26,,
data,1586676809819878209,865,692,ESP8266_1,,27.45,20,,,21.94,,
data,1586676833454630086,944,754,ESP8266_1,,29.85,20,,,23.93,,
data,1586676857625025487,971,775,ESP8266_1,,30.98,11,,,24.63,,
data,1586676881800493891,981,783,ESP8266_1,,31.76,7,,,24.87,,
data,1586676905952142509,981,785,ESP8266_1,,31.99,8,,,24.97,,

I have solution for migration - thank you IOT7712 for first push - convert to CSV.

From CSV via python to line protocol and then manualy write data.

It is not clearest way, but it works.

Have a look here too.

Thank you, I will read it.