I hear people talk about RPi SD card issues, but I've been running for 4+ years without a problem. I should count myself lucky I guess.
Anyway, I have a chron job that momentarily stops weewx, makes a copy of the database, restarts it, and then copies the db to my google drive. Every month or so I go in and clean out the old ones, keeping the most recent and the one from the first of the month, just in case. If I ever lose the db, I'll have a backup. The chron job runs a script based on montionuploader here: http://jeremyblythe.blogspot.com/2015/06/motion-google-drive-uploader-for-oauth.html It's not what you're asking for, but it's another way to accomplish the same thing. On Thu, Oct 31, 2019 at 6:09 AM Dave, G1OGY <[email protected]> wrote: > I have suffered database corruption (on a RPi - Yes...) > I am by no means a `climate researcher` - I just like to know what the > weather > is doing/has been doing... > > So. Two questions: > > 1) Given I upload all data to my website (where this morning's web pages > remain > - with all data accessible) will the NOAA files be overwritten if I were > to: > a) reinstall the Pi with `buster` > b) install the new version of weewx > c) copy the NOAA .txt files to the appropriate place... > and carry on? > > 2) I have my weewx logs on a nfs mount (to reduce SD card writes, > primarily; though > I log only errors). > Given the history of broad RPi database corruption; has anyone has success > with > hosting the database (or even the whole weewx installation) on an nfs > mount? > > This is a Pi3 with Gigabit (OK : =< 150Mb/sec) Ethernet connectivity. > > TIA for any feedback. > > -D > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/a74e3bc2-7346-445f-b0f5-eee9e7ecdc2d%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/a74e3bc2-7346-445f-b0f5-eee9e7ecdc2d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Peter Quinn (415)794-2264 -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAA1SM23sjDyqwbpAz1npzjxzCT-%3DBaaNb7AF8S8f3y0OTcuVLQ%40mail.gmail.com.
