SD-Card Meteohub partitions are gone (help)

Moderator: Mattk

Post Reply
User avatar
ON1DQD
Expert Boarder
Expert Boarder
Posts: 93
Joined: Fri Dec 05, 2008 8:46 pm
Location: Belgium (Genk)
Contact:

SD-Card Meteohub partitions are gone (help)

Post by ON1DQD » Mon Oct 05, 2015 10:08 pm

Hi,

I accedentally removed the SD-Card when meteohub was powered on, I directly put it back mabe two seconds in between and now meteohub is not booting anymore!

So I quickly discovered that the sd-card partitions where damaged and none where there anymore.
I use R-Linux to recover most of the sd-card and I have quite much recovered.

Then I created a new sd-card and install a fresh meteohub image and let it update online to the the latest available v5.0j as this was that previous was installed too.

I regulary make backups of my weather data but not my settings, is there a way to set these settings back from my recovered data?

WinSCP could not write in folder HOME as there are some meteohub info stored, although I have logged as root and no read-only settings are used.

Any help on this is most appriciated.
Regards / Grüß,
Geert - ON1DQD

User avatar
YJB
Platinum Boarder
Platinum Boarder
Posts: 387
Joined: Thu Feb 19, 2009 5:53 pm
Location: Venhuizen, Netherlands
Contact:

Re: SD-Card Meteohub partitions are gone (help)

Post by YJB » Mon Oct 05, 2015 10:42 pm

Most of the settings are in /home/meteohub:

Code: Select all

clientraw.conf
clientrawdaily.conf
clientrawextra.conf
clientrawhour.conf
logger.conf
meteohub.conf
mwlive-us.conf
mwlive.conf
wd.conf
wmr928eval.conf
wswin.conf
xml.conf
(I might have missed one or 2)

And the obviously your crontabs in:

Code: Select all

/var/spool/cron/crontabs/root

User avatar
ON1DQD
Expert Boarder
Expert Boarder
Posts: 93
Joined: Fri Dec 05, 2008 8:46 pm
Location: Belgium (Genk)
Contact:

Re: SD-Card Meteohub partitions are gone (help)

Post by ON1DQD » Mon Oct 05, 2015 11:18 pm

Thanks for your fast response!

I wil try to transfer these files the the new sd-card if WinSCP does not complaint.
Regards / Grüß,
Geert - ON1DQD

User avatar
ON1DQD
Expert Boarder
Expert Boarder
Posts: 93
Joined: Fri Dec 05, 2008 8:46 pm
Location: Belgium (Genk)
Contact:

Re: SD-Card Meteohub partitions are gone (help)

Post by ON1DQD » Fri Oct 09, 2015 9:36 pm

Thanks admin for your help !!!!

This is exactly what I was looking for.

viewtopic.php?f=60&t=10319#p18407

Code: Select all

Core files to transfer are:
/data/weather/YYYYMM/* for raw weather data
/data/graphs/* for graph definition
/home/meteohub/meteohub.conf for most of config data
/var/cron/tabs/root for the upload/send schedules
Regards / Grüß,
Geert - ON1DQD

Post Reply