If you can dump from the old sqlite file, it's pretty easy to restore into
a new one:

sqlite3 weewx.sdb < dumpfile

-tk

On Sun, Dec 25, 2016 at 1:29 AM, Per Edström <[email protected]>
wrote:

> I was lazy and did not make any backup or image of my installation. (Yes -
> Bad sysadmin!)  Last week my SD-card gave up and very few files are not
> affected (and can be copied). The weewx.sdb-file is only readable by 80%
> and the rest is zeros now.
>
> Is it possible to recover the first 80% and import it to the "new"
> database that my new installation is creating? I can dump the first 80% to
> a file but that is just all the INSERT that weewx have made. How do I
> import it?
>
> --
> 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