[weewx-user] Re: One instance to two databases

2018-12-12 Thread gjr80
Was thinking about this myself this morning. With weeWX-WD we implemented a 
separate (local) database by creating our own WdArchive service which uses 
a different binding and schema. There is probably no reason why a similar 
approach could not be taken and a service implemented based on StdArchive 
that uses a different binding but the same schema. Certainly something 
weeWX cannot do out of the box, it would require knowledge of weeWX 
workings and a bit of python to make it work. 

Can't really think of a reason why you would take this approach though; way 
too complex and I would expect somewhat fragile. SQL replication as 
suggested by Pat would be far easier and more robust I expect.

Gary

On Thursday, 13 December 2018 11:07:32 UTC+10, Pat wrote:
>
> No, weewx doesn't do that. 
>
> You could setup MySQL replication and have the MySQL server handle that 
> though. 
>
> On Wednesday, December 12, 2018 at 5:53:30 PM UTC-5, Rodrigo Scuissiato 
> wrote:
>>
>> Is it possible to have one instance of weewx running and recording to two 
>> databases?
>> One mysql local and one remote?
>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: One instance to two databases

2018-12-12 Thread Pat
No, weewx doesn't do that. 

You could setup MySQL replication and have the MySQL server handle that 
though. 

On Wednesday, December 12, 2018 at 5:53:30 PM UTC-5, Rodrigo Scuissiato 
wrote:
>
> Is it possible to have one instance of weewx running and recording to two 
> databases?
> One mysql local and one remote?

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.