I am trying to use an existing database with a new weeWX install. I copied the existing database into /var/lib/weewx and restarted weeWX. I then ran wee_debug --info and I see:
Archive info
Database name: weewx.sdb
Table name: archive
Version 4.0
Unit system: 1 (US)
First good timestamp: 2023-06-07 13:00:00 PDT (1686168000)
Last good timestamp: 2023-06-08 15:15:00 PDT (1686262500)
Number of records: 311
weewx (weewx.conf) is set to use an archive interval of 300 seconds.
The station hardware was not interrogated in determining archive interval.
On the original weeWX install I see this when I run wee_debug:
Archive info
Database name: weewx.sdb
Table name: archive
Version 2.0
Unit system: 1 (US)
First good timestamp: 1969-12-31 16:01:00 PST (60)
Last good timestamp: 2023-06-08 15:37:00 PDT (1686263820)
Number of records: 2160656
weewx (weewx.conf) is set to use an archive interval of 60 seconds.
The station hardware was not interrogated in determining archive interval.
Is there a way I can convert the old database and have all the old history visible in the new weeWX install?