On Wednesday, September 25, 2019 at 4:41:54 AM UTC-7, Greg Troxel wrote:
>
> Dana Roode <[email protected] <javascript:>> writes: 
>
> > Is there a way to extract archive records from one weewx.sdb file and 
> > import then into another?  I see there is a utility that allows 
> importing 
> > of CSV data files. 
> > 
> >
>

Yes - there are many ways.

Simplest is probably to do a sqlite3 dump of all the database archive 
tables, then restore from 'each' of them into your aggregate database.   
It'll whine when it inevitably finds duplicate records, but nothing bad 
will happen.  The result should be the union of all the databases.   Weewx 
should handle the summary tables, but you could always rebuild them 
manually too if you wanted.

-- 
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/a09def5d-d242-49fb-8531-966a0267fc8a%40googlegroups.com.

Reply via email to