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

> 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?

Are you using mysql or sqlite ?

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)

> 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.

https://github.com/glennmckechnie/weewx-sqlbackup

A lot of questions for you but we need a starting point.





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]> 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].
> 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