Transfer data from an older Versionto 4.1.1

80 views
Skip to first unread message

rolz...@gmail.com

unread,
Oct 15, 2020, 10:46:59 AM10/15/20
to weewx-user
Hi all,

can someone please explain me how to get the records from the database of version 3.9.2 to the database of version 4.1.1. 

The current installation (4.1.1) is on a new computer.

Thanks in advance
Best regards, Rolf 

vince

unread,
Oct 15, 2020, 10:55:40 AM10/15/20
to weewx-user
On Thursday, October 15, 2020 at 7:46:59 AM UTC-7, rolz...@gmail.com wrote:
can someone please explain me how to get the records from the database of version 3.9.2 to the database of version 4.1.1. 

The current installation (4.1.1) is on a new computer.


If you have a station with a data logger (such as a Davis), you can simply stop weewx, copy the old database to the new computer, and restart weewx.  Weewx will catch up the database with whatever records are in the datalogger.

Or you can dump the old database to a file and restore it to the new database, then rebuild_daily to build the summary tables.

Andrew Milner

unread,
Oct 15, 2020, 12:28:22 PM10/15/20
to weewx-user
you do not have to use the new xtended schema with 4.1.1 unless you NEED the extra fields.  My first question therefor is @do you need the extra fields@??

rolz...@gmail.com

unread,
Oct 15, 2020, 12:45:19 PM10/15/20
to weewx-user
Yes, i need the extra fields.

vince

unread,
Oct 15, 2020, 1:44:14 PM10/15/20
to weewx-user
On Thursday, October 15, 2020 at 9:45:19 AM UTC-7, rolz...@gmail.com wrote:
Yes, i need the extra fields.



Then follow the procedure Tom posted within the last couple weeks.  Check out the group archives.

rolz...@gmail.com

unread,
Oct 16, 2020, 8:17:48 AM10/16/20
to weewx-user
Thanks. i did it according to tom's instructions. works perfectly
Reply all
Reply to author
Forward
0 new messages