you should see something like this in weewx.conf:

[DataBindings]                                                                  
    
    [[wx_binding]]                        
        # The database must match one of the sections in [Databases].
        # This is likely to be the only option you would want to change.
        database = archive_sqlite         
        # The name of the table within the database
        table_name = archive              
        # The manager handles aggregation of data for historical summaries
        manager = weewx.manager.DaySummaryManager
        # The schema defines the structure of the database.
        # It is *only* used when the database is created.
        schema = schemas.wview_extended.schema
⊣GE⊢

> On 18 Aug 2025, at 4:27 pm, [email protected] <[email protected]> wrote:
> 
> "make sure you are using the same/consistent schema and database manager"
> 
> Please expand on this.
> 
> On Sunday, August 17, 2025 at 10:09:16 PM UTC-7 Graham Eddy wrote:
>> if all you wish to do is move forward from whatever is in the ‘old’ 
>> weewx.sdb, just copy it into the archive/ directory and start weewx (making 
>> sure permissions are correct). there will be a gap between the last 
>> timestamp in the old .sdb and the current time.
>> it does not matter if archive interval is different.
>> if the last timestamp is newer than current time (e.g. if clock was or is 
>> screwed) then this has to be resolved as a semantics problem - it must be 
>> monotonic
>> 
>> also, since you mention ’fresh’ install, make sure you are using the 
>> same/consistent schema and database manager
>> ⊣GE⊢
>> 
>>> On 18 Aug 2025, at 2:57 pm, [email protected] <> <[email protected] <>> 
>>> wrote:
>>> 
>>> what is the correct procedure for using an archival .sdb in a fresh install 
>>> of weewx?
>> 
> 
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion visit 
> https://groups.google.com/d/msgid/weewx-user/34bc423d-b60d-4453-8067-dadf89537f25n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/34bc423d-b60d-4453-8067-dadf89537f25n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/65C875AE-643A-40EF-ADF5-2A63F468BC28%40geddy.au.

Reply via email to