On Monday, August 22, 2022 at 11:05:13 AM UTC-7 rklud...@gmail.com wrote:

> 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... 
>
>
There are 'many' threads here about how to do this, along with pointers to 
scripts and best practices folks have used on their setups.  Do a little 
google searching of the group archives....

Short answer:

   - you need your db
   - you need your weewx.conf
   - ideally you keep a record of which extensions/skins you installed (run 
   'wee_extension --list')
   - you can restore everything given the above


What I do here:

   - back up my databases (plural) nightly via cron
   - weekly copy the latest to Dropbox to have a copy offsite
   - I also have a full copy of /home/weewx in Dropbox for safekeeping
   - I rsync my public_html to my AWS Lightsail VM so that has my latest 
   public_html tree offsite there

-- 
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/9b5fb52e-71c9-4940-9b8b-6da76ccf84fbn%40googlegroups.com.

Reply via email to