Also Vince, your approach looks lot more simpler than Glenn's approach. But is there any downside to it?
On Saturday, 13 January 2018 21:38:21 UTC+5:30, Praveen Chandrasekaran wrote: > > Again the same question as to Glenn. Where are the SQL databases stored? > Are they still on the SD card? > > On Saturday, 4 February 2017 05:26:34 UTC+5:30, vince wrote: >> >> On Friday, February 3, 2017 at 2:42:09 PM UTC-8, Glenn McKechnie wrote: >>> >>> The read-only pi that vince refers to is a HowTo at >>> https://github.com/glennmckechnie/rorpi-raspberrypi/wiki/Rorpi-Home >>> >>> >> I do it a little differently, rather than modifying Raspbian at all, I >> just mount everything as tmpfs by adding the following to my /etc/fstab: >> >> # order matters here, note I use nginx, for apache your content would be >> slightly different >> >> tmpfs /tmp tmpfs >> defaults,nosuid,mode=0755,nodev,noatime 0 0 >> tmpfs /var/log tmpfs >> defaults,nosuid,mode=0755,nodev,noatime 0 0 >> tmpfs /var/log/nginx tmpfs >> defaults,nosuid,mode=0755,nodev,noatime 0 0 >> tmpfs /var/tmp tmpfs >> defaults,nosuid,mode=0755,nodev,noatime 0 0 >> tmpfs /var/www/html tmpfs >> defaults,nosuid,mode=0755,nodev,noatime 0 0 >> >> >> In any event, if you go read-only, you'll need to know what weewx files >> to copy out periodically to persistent media. Generally this is your >> weewx.sdb file and possibly your NOAA files, which aren't written often. >> The rsync handler is nice if you have another computer with spinning disk >> to just copy your web docroot to, but you'll definitely want to save your >> weewx database file periodically. If you have a Davis station with >> datalogger, you only 'technically' have to do this weekly or so probably, >> but nightly at minimum is probably a good idea. >> >> >> -- 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 weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.