Move data files from /NOAA to new computer

39 views
Skip to first unread message

Tim

unread,
Nov 21, 2018, 12:00:49 AM11/21/18
to weewx-user
I had a computer running Ubuntu 12.04 and weewx v3.2.1.   It died.  It stored its data in /var/www/weewx/NOAA/   I got a new computer and it has Ubuntu 18.04 and weewx  v3.8.2 and the data is stored in /var/www/html/weewx/NOAA.  If I move the data from the old computer to the new one, how can I get the /var/www/html/weewx/index.html file to show this data?

I searched and did not find anything that addressed this.  Sorry if I missed it.

Thank you,

Tim

Andrew Milner

unread,
Nov 21, 2018, 12:42:27 AM11/21/18
to weewx-user
You can just copy the NOAA files around

do you mean that you have the old data ONLY in NOAA files, or also in the database??

if you had salvaged the old database and copied that to the new machine then weewx should have regenerated the NOAA files for you anyway on startup

can you possibly explain in more detail what you have done, what you have rescued and what exactly the problem is??

Tim Nett

unread,
Nov 21, 2018, 6:47:36 AM11/21/18
to weewx...@googlegroups.com
I only have the .txt files from ...NOAA   But I think I can get the other.

Are you saying if I copy /var/lib/weewx/weewx.sdb to the new computer that the NOAA files will be regenerated?   I can try that.   Thanks.

Tim

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/W53HFwA4rOM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
 Tim

* * If it ain't broke, you got hosed buying the warranty. * *

Tim Nett

unread,
Nov 21, 2018, 7:05:18 AM11/21/18
to weewx...@googlegroups.com
That worked!  (copying weewx.sdb to the new computer)  As you knew it would.    Thanks a zillion.

Tim

Liz

unread,
Nov 21, 2018, 11:01:27 PM11/21/18
to weewx...@googlegroups.com
On Wed, 21 Nov 2018 04:47:22 -0700
Tim Nett <pin2h...@gmail.com> wrote:

> Are you saying if I copy /var/lib/weewx/weewx.sdb to the new computer
> that the NOAA files will be regenerated? I can try that. Thanks.

That sounds like a sqlite database, and the real store of your weather
history.

Yes, your NOAA files will be recreated.

Liz
Reply all
Reply to author
Forward
0 new messages