Many ways lead to Rome ...
I'm running two weewx installations on two
separate RPi4Bs in parallel. They are mirrors.
If one has to go down or just goes down, I can later on copy the
database over from the still running installation.
Each installation is backed up to an external HDD every five
minutes after the archiving interval. Thi minimizes the
potential data loss.
Every two days a housekeeping script will only keep the midnight
backups and delete the others to free space on the disk.
This setup/strategy has kept me safe through all incidents so
far.
My weather consoles, the WiFi router and the RPis are protected
by a UPS (uninterrupted power supply).
Like this Blackouts less than one hour do not impact my weather
hardware.
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/182c6babc98.29af.c5c13ad976ec84a62e2892bf98a0657b%40gmail.com.
So my question comes down to how do I backup and restore just the data? Are there specific files or if there are a huge number of foreign keys is it much more complicated...? Is it just the date pure database or is it also related configuration or log files? I am currently using the default database with no changes that comes with weewx...