Maybe I’m crazy, but I just use cron, shut down weewx every night, and do a gzip of the db to a fileshare then start weewx back up. Super lazy, but when like 15y of data is only 80mb or something gzipped, not a huge deal. I think I keep 30 days worth of backups.
> On Aug 7, 2022, at 17:33, Vince Skahan <[email protected]> wrote: > > Then do a full 'occasionally' and incrementals more often in between. > That's pretty typical backup strategy. How many incrementals dictates how > painful a restore would be. > > Some example data: > my 15+ years of data is 68 MB gzipped if I dump just the archive table and > gzip it > a 'day' of incremental additions to the archive table is 25 KB gzipped - so a > month of those is under 1 MB more > So you could easily do a weekly full (4 * 68) and incrementals the other days > (0.025 * 26) and be far under 300 MB total backup size. > > While you 'could' do so in weewx, I would still strongly suggest an external > utility 'and' cron. That way you could leave weewx completely alone and tune > how often you do full and incrementals to your liking. > > -- > You received this message because you are subscribed to the Google Groups > "weewx-development" 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-development/9c97fb7e-89bc-48db-8069-2f4a773e2c20n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "weewx-development" 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-development/36E7C556-7114-4770-8087-27BD7CD5CD55%40gmail.com.
