On Saturday, September 12, 2020 at 9:10:45 AM UTC-7, G Hammer wrote:
>
> I wish to upgrade my existing database from the old wview to the 
> wview_extended as there are scripts looking for fields that do not exist in 
> the old one.
> So, would this be the method for upgrading the database?
>
> Stop weewx
> Backup the existing database
> wee_database --reconfigure
> wee_database --rebuld-daily
> Copy the resulting file to the proper location/name
> Start weewx
>
>
Looks pretty good to me.  Simplest thing to do is a test.  Save your old db 
(you want to do this anyway) and run the steps you mentioned.  Then check 
the schema for the new updated one and verify it's using the big schema. 
 The number of fields is far higher so it's an easy thing to check for.

echo ".schema" | sqlite3 mydbname  | wc -l

Mine using the big schema returns a value of '114' for the above command.
I think the original one was 50 or so (it's been forever so I forget)


-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9d5aa824-4de6-41d9-82be-35cc754195b0o%40googlegroups.com.

Reply via email to