Thanks for your answer!

Ouch, 3 years of data lost? That would hurt.
>

exactly... that day wasn't so good... :(
 

> > I already read many threads where is explained how create a 
> > backup for the database but I can't understand how create it. 
>
> Do you mean that you can create a backup , but can't restore it?
> Or you can't make that first backup?
>

The second one, I can't make the first bk...
 

> Are you using mysql or sqlite ?
>

I don't know, I have to check this... but I use a standard installation of 
weewx, nothing changed. 
 

> I'm guessing you're using a raspberry pi? I'm also guessing it was a deb 
> install, not via setup.py? (File location will be different for each)
>

Correct, I'm using a raspberry pi with a Jessie distribution. The 
istallation was done via setup.py (I followed an end to end guide made by 
an italian guy that I found on internet).
 

> > if I had to create a scheduled script to do a backup I need a guide
> > end to end to do that... like all the passages..
>
 

> Did you see the recent link I posted 
> https://groups.google.com/forum/#!topic/weewx-user/O2Y4h4xzNEE
> as that will create the sql text backups for you, although you do need to 
> do some manual steps to restore them. 
>

Yes I saw that, but I don't know how I can use that...
 

> https://github.com/glennmckechnie/weewx-sqlbackup 
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fglennmckechnie%2Fweewx-sqlbackup&sa=D&sntz=1&usg=AFQjCNGAVdlgPlhyKk97vQh5JsRWdsVouA>
>
> A lot of questions for you but we need a starting point.
>

Yes, but this will be a big big help for me! Many thanks!


> Cheers
>  Glenn
>
> rorpi - read only raspberry pi + weewx: now with scripts 
> <https://github.com/glennmckechnie/rorpi-raspberrypi>
>
> On 17 July 2017 at 07:54, Stefano Rossi <[email protected] <javascript:>> 
> wrote:
>
>> Hello to everyone and, first of all, sorry for my bad english.
>> I already read many threads where is explained how create a backup for 
>> the database but I can't understand how create it. 
>> It was a challenge (at least for me that I don't know how to program in 
>> linux) the installation of weewx and if I had to create a scheduled script 
>> to do a backup I need a guide end to end to do that... like all the 
>> passages...
>> There is somebody that can help me? Sorry but I really don't know how I 
>> can do that... I already lost 3 years of data (my sd card died.....) 
>> because I haven't done a bk....
>> Many many thanks for the help!
>>
>> -- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to