Re: [weewx-user] New Database weewx 4.0

2020-05-26 Thread Greg from Oz
Edited the backup from Make a backup just in case mysqldump -uroot -p weewx_new > weewx.sql to Make a backup just in case mysqldump -uroot -p weewx > weewx.sql On Tuesday, 26 May 2020 20:10:50 UTC+10, Greg from Oz wrote: > > Hi I thought I would upgrade the schema and I know that I don't have >

Re: [weewx-user] New Database weewx 4.0

2020-05-26 Thread Greg from Oz
Hi I thought I would upgrade the schema and I know that I don't have but. I couldn't find any documentation on how to do this for *mysql*. I did it this way and it seems to work. I am using weewx 4.1 stop weewx Make a backup just in case mysqldump -uroot -p weewx_new > weewx.sql Because --rec

Re: [weewx-user] New Database weewx 4.0

2020-05-22 Thread Tom Keffer
WeeWX Version 4 introduces a new, more flexible, way of specifying schemas. The old way is still supported. If I understand you correctly, you're trying to use the new way on an old copy of WeeWX. Try upgrading WeeWX, then try again. -tk On Thu, May 21, 2020 at 9:26 PM Echo 7 Foxtrot < michael.f

Re: [weewx-user] New Database weewx 4.0

2020-05-21 Thread Echo 7 Foxtrot
I'm very new...been running my weewx 3.9.2 (rpi4) install for about a month, using the standard wview.schema. I've been working on adding some sensors and wanting to extend the schema, then I saw the wview_extended schema rolling out with 4.0. It's got everything I wanted to add in the near f

Re: [weewx-user] New Database weewx 4.0

2020-05-10 Thread Tom Keffer
Unfortunately, there's no list. You'll have to do a mental diff of the two files schemas/wview.py and schemas/wview_extended.py. On Sun, May 10, 2020 at 5:57 AM Tom Mitchell wrote: > Apologies.. I think I looked in the docs and couldn't find a list of new > types to potentially take advantage of

Re: [weewx-user] New Database weewx 4.0

2020-05-10 Thread Tom Mitchell
Apologies.. I think I looked in the docs and couldn't find a list of new types to potentially take advantage of. Any pointers appreciated. On Saturday, May 9, 2020 at 8:28:50 AM UTC-4, Tom Keffer wrote: > > Only if you can take advantage of some of the new types. > > >> >> -- You received this

Re: [weewx-user] New Database weewx 4.0

2020-05-09 Thread Andrea
Thanks Tom Andrea Il giorno sabato 9 maggio 2020 13:58:45 UTC+2, Tom Mitchell ha scritto: > > Is there any reason to convert databases created and populated under 3.x > to the 4.0 schema? > > On Saturday, May 9, 2020 at 7:57:09 AM UTC-4, Tom Keffer wrote: >> >> Updating to WeeWX V4 and changing

Re: [weewx-user] New Database weewx 4.0

2020-05-09 Thread Tom Keffer
Only if you can take advantage of some of the new types. On Sat, May 9, 2020 at 4:58 AM Tom Mitchell wrote: > Is there any reason to convert databases created and populated under 3.x > to the 4.0 schema? > > On Saturday, May 9, 2020 at 7:57:09 AM UTC-4, Tom Keffer wrote: >> >> Updating to WeeWX

Re: [weewx-user] New Database weewx 4.0

2020-05-09 Thread Tom Mitchell
Is there any reason to convert databases created and populated under 3.x to the 4.0 schema? On Saturday, May 9, 2020 at 7:57:09 AM UTC-4, Tom Keffer wrote: > > Updating to WeeWX V4 and changing your schema are two different things. > They have nothing to do with each other. Version 4 offers a ne

Re: [weewx-user] New Database weewx 4.0

2020-05-09 Thread Tom Keffer
Updating to WeeWX V4 and changing your schema are two different things. They have nothing to do with each other. Version 4 offers a new schema, but it is used only for new databases. If for some reason you wish to change schemas and use the new schema, you can do so using either WeeWX V3 or V4. Fo

[weewx-user] New Database weewx 4.0

2020-05-09 Thread Andrea
Hi all, To install new weewx 4.0 with the new DB schema, I need to modify my old DB schema with my old data? I've sqllite db. Thanks Andrea -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails