Page 1 of 1

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

Posted: Thu Jan 14, 2021 12:09 am
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

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

Posted: Thu Jan 14, 2021 5:07 pm
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.

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

Posted: Mon Jan 18, 2021 10:00 pm
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