I know the answer is probably buried somewhere and apologies but if nobody 
is able to explain exactly the answers to #1 and #2 below, maybe someone 
can point me to a specific spot in the voluminous weewk wiki/help files so 
I don't need to read war and peace before I figure it out (thank you!)?

I have a Raspberry Pi 4b 8gig running on a 1tb ssd (yes overkill) running 
weewx - and since I do a ton of other stuff with it as well, I often back 
up the entire storage (only after disabling weewx and everything else that 
would run on it when it is rebooted, to make the last step of the restore 
process easier - see the below * asterisk). The weewx install on that RPI 
is using the default database that it comes with when installed (no changes 
in that regard). 

Long story short, sometimes I do need to do a restore when I try to do 
something fancy that makes the whole thing blow up (the RPI - unrelated 
things on the same hardware) in my face. In that case, I do a restore and I 
am good to go no issues.

Except one thing.

If the restore is from a one week old backup - I've lost one week of data 
in the weewx default database.

So, from that point of view, if I am able to log into the RPI with VNC 
viewer or telnet/whatever on the screwed up RPI, as a first step before the 
whole restore process - 

Steps to do right at that point - 

1. What files do I copy from the RPI to later copy back onto the RPI 
restored from the backup so no data is lost? Is the DB all just one file or 
is it a bunch of files (e.g., files for each index, etc.)?

2. Once the restored RPI is back up and running, BEFORE* weewx is launched, 
in addition to copying the files from #1 above onto the newly restored RPI 
weewx instance - are there any other config files or anything like that I 
need to adjust prior to firing everything back up on the restored RPI weewx 
instance?

Thanks for all your help!

-- 
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/4a6a579e-0b32-4bf0-a6ce-1980765603f3n%40googlegroups.com.

Reply via email to