per minute data get lost during restore from MB Pro on RPi4

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
User avatar
Gyvate
Platinum Boarder
Platinum Boarder
Posts: 453
Joined: Thu May 14, 2020 4:36 pm
Location: Saarbrücken, Germany

per minute data get lost during restore from MB Pro on RPi4

Post by Gyvate »

I did a restore as an initial data load on my RPi4 from a MB Pro backup (having set the per minute data option with persistent data for all sensors before the import/restore) and the per minute data from the MB Pro got lost and are only available from the restore date onward.

I'm not the only one to make this observation.
see also
viewtopic.php?p=37341#p37341
which is an already ** solved ** marked thread.

Same issue posted in the Wxforum MB board
https://www.wxforum.net/index.php?topic=41227.0
WH4000SE 1.6.6/1 x DP1500/4 x GW1000 1.7.7/GW1100 2.3.0/HP1000SE Pro 1.9.3//2 x WH2650 1.7.7/GW2000 3.1.0
2xMeteobridge Pro [B+R] 15161, 2xRPi4B-2GB/16/32 3139,VM128 1704
Weather Landing page: https://meshka.eu
Ecowitt WiKi: https://meshka.eu/Ecowitt/dokuwiki
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: per minute data get lost during restore from MB Pro on RPi4 **solved**

Post by admin »

That is caused by different binary format of the sqlite3 database file on MB PRO and MB RPI. You might not like it being that way, but it is just a fact, no way for me to change this.

You can do a sql dump on sqlite3 level and import that to the new platform. But please do it yourself as it is an edge case I will not spend my time on.
JohnsPro
Junior Boarder
Junior Boarder
Posts: 26
Joined: Sun Jan 13, 2019 9:19 pm
Location: Centeral New York USA

Re: per minute data get lost during restore from MB Pro on RPi4

Post by JohnsPro »

admin,
No problems at least I know that it will not work and it was not something I was doing wrong. I was able to export my data from Weewx and import to the RPi4 looks like its having no problems importing that data. Nice to have more than one way to get the data imported to the system.
Thank You both Gyvate and Boris
Post Reply