i also do not like to generate weewx reports to RPi’s SD card so i mount
weewx/public_html on tmpfs - reads and writes to RAM only. being tmpfs (RAM)
the content is lost on reboot, but it is all generated again anyway, just adds
some milliseconds to the first reports after a reboot
phillip could generate files and FTP as much as he likes, all the files would
be in RAM, not the SD card
requires an entry like the following added to /etc/fstab (all one line)
tmpfs /opt/weewx/public_html tmpfs rw,nodev,nosuid,noatime,noexec,size=10M 0 0
where put your own weewx/public_html location instead of the one above.
it will only take effect next reboot so to make it happen now, after changing
/etc/fstab, run
$ sudo mount -a
it might complain about files already existing in your weewx/public_html
directory (on SD). it is harmless to mount over them; they will be hidden
underneath. but it would be cleaner to stop weewx, remove the files in
weewx/public_html on SD, mount tmpfs on weewx/public_html, start weewx again
and don’t worry about the ‘size=10M’ option - that is the *maximum* memory it
can use. it only uses as much as it needs
> On 23 Aug 2020, at 1:42 am, p q <[email protected]> wrote:
>
> I don't have an answer for you, but I've been running Weewx on raspi for 4
> years without a problem with an SD card. I know there are others who have
> been running much longer.
>
> On Sat, Aug 22, 2020 at 8:16 AM Philipp <[email protected]
> <mailto:[email protected]>> wrote:
> Hi everyone,
>
> I've successfully set up weewx on my Raspberry Pi and the reports generated
> by I are exactly what I have been looking for.
> I am however a bit afraid that the SD card in my Pi won't last very long as
> weewx is generating and writing a new weather report every 5 minutes. This is
> why I prefer to transfer my report to another server with a regular HDD.
> The problem is this: I simply want to transfer my report via FTP only and no
> longer have the report on the Pi. Disabling [[SeasonsReport]] did however
> stop generating all reports together, including the FTP one. Is there a way
> to have my [[SeasonsReport]] transferred to my FTP server but not written
> locally on the Pi?
>
> Thanks in advance
> Philipp
>
> --
> 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]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/4be84e6d-3f9e-4451-9aee-1911d2d5b285n%40googlegroups.com
>
> <https://groups.google.com/d/msgid/weewx-user/4be84e6d-3f9e-4451-9aee-1911d2d5b285n%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]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/CAA1SM23_AUweMY1aF19LaVrkWFoqcto1%2Bx_uqBNorvkVrT0EHQ%40mail.gmail.com
>
> <https://groups.google.com/d/msgid/weewx-user/CAA1SM23_AUweMY1aF19LaVrkWFoqcto1%2Bx_uqBNorvkVrT0EHQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
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/A1462E62-3447-4D06-8CF5-DA0457A247F7%40gmail.com.