Hello
Recently switched from MB TP-Link to MB /Rpi/. Used TP-Link during the last 3 years, and now I would like to transfer my Weewx DB to my new MB. I also have weewx running in order to save my history data as backup.
My weewx DB is stored in MySQL , and I exported the data using phpmyadmin , as CSV . MySQL have about 220 MB of data collected during the years.
Unfortunately I am not able to import that file file to MB. I did lot of tests , but both failed, without error message:
ex:
import (25.04.2024 07:32:26): import of file "test.csv" (35209 kb) started: type 5, mode 1
import (25.04.2024 07:32:26): completed 241025 lines, performing 0 database updates.
---
My CSV file contain many rows, with sensors I don't actually have, and they appear as NULL in the file.
I did another tests removing all of these rows, using external CSV editor , but it does not help me so much :
ex:
import (25.04.2024 09:35:49): import of file "weewx.csv" (48007 kb) started: type 5, mode 1
import (25.04.2024 09:35:59): completed 339477 lines, performing 292 database updates.
---
Seems there is something wrong with that DB file, and I would have your opinion how to sort it out.
Many thanks in advance !
Regards,
Victor
Recently switched from MB TP-Link to MB /Rpi/. Used TP-Link during the last 3 years, and now I would like to transfer my Weewx DB to my new MB. I also have weewx running in order to save my history data as backup.
My weewx DB is stored in MySQL , and I exported the data using phpmyadmin , as CSV . MySQL have about 220 MB of data collected during the years.
Unfortunately I am not able to import that file file to MB. I did lot of tests , but both failed, without error message:
ex:
import (25.04.2024 07:32:26): import of file "test.csv" (35209 kb) started: type 5, mode 1
import (25.04.2024 07:32:26): completed 241025 lines, performing 0 database updates.
---
My CSV file contain many rows, with sensors I don't actually have, and they appear as NULL in the file.
I did another tests removing all of these rows, using external CSV editor , but it does not help me so much :
ex:
import (25.04.2024 09:35:49): import of file "weewx.csv" (48007 kb) started: type 5, mode 1
import (25.04.2024 09:35:59): completed 339477 lines, performing 292 database updates.
---
Seems there is something wrong with that DB file, and I would have your opinion how to sort it out.
Many thanks in advance !
Regards,
Victor
Statistics: Posted by HighWay — Thu Apr 25, 2024 11:43 am