I recently used weectl database transfer to copy the contents of a large 
sqlite weewx database (5 years of data) into a newly created mariadb 
database on a networked server. I had not realized that the template I had 
used to create the mariadb database was for a previous version of the weewx 
database, to which I had subsequently added four new fields. The transfer 
proceeded without errors or problems, and I didn't notice the missing 
fields in the mariadb database until I tried to use a script of my own to 
bring it right up to date. For the weectl utility to handle missing fields 
(on either side) politely is arguably a feature, rather than a bug, but I 
do think that it should issue a warning before starting the transfer if the 
logical structure of the two database tables is not identical.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-development/b0f00473-1c6d-4af0-9e6d-733a613e2690n%40googlegroups.com.

Reply via email to