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.
Am 22.08.2022 um 20:05 schrieb Kruse Ludington:
From time to time when I back up my weewx setup I then have to later
restore it when things go south. (This has happened from time to time
as all this is running on a Raspberry pi which also has a lot of other
things running in containers such as home assistant etc.)
When this happens of course I lose the weewx data between the date of
the backup and the date of the restore.
Therefore I'd like to backup the data on a daily basis such that when
I restore the entire system from an old backup, I can as a last step,
then overlay that with the database backup made within the last 24
hours, to minimize the data lost.
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...
Thank you for your help!
Best Regards,
-R. Kruse Ludington
📱(M): +1.201.925.4410
📞(O): +1.862.308.7040
📞(H): +1.201.857.8307
📠(F): +1.201.857.7188
Weather & Forecast
<https://www.windy.com/40.980/-74.109?40.690,-74.108,9,i:pressure>
--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/182c6babc98.29af.c5c13ad976ec84a62e2892bf98a0657b%40gmail.com
<https://groups.google.com/d/msgid/weewx-user/182c6babc98.29af.c5c13ad976ec84a62e2892bf98a0657b%40gmail.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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/dad91d81-ba94-4f02-7be1-3d3877371119%40gmail.com.