I copy the db to a different directory then compress the copy. Very safe and reliable.
On Monday, February 17, 2025 at 10:00:26 AM UTC-8 p q wrote: > It's not necessary to shut down weewx for the weekly backup. The database > is the only thing being written to and if you're accessing it won't be > written to. However, I do stop weewx for my daily backup just to be sure, > but it doesn't take very long. I stop weewx just long enough to make a > local copy of the db and then restart it before copying the copy off site. > > I have no idea what happens when you make an image of a running SD card. > > On Mon, Feb 17, 2025 at 9:34 AM Keimpe Bleeker <blee...@gmail.com> wrote: > >> Hi all, once a week a script, executed by CRON, is making a backup of the >> essentials like config files and the weewx.sdb, once a month an image of >> the SD-card. Prior to these backups I'm stopping Weewx, in my point of view >> to protect the database. The 'small backup' takes some minutes, the image >> about half an hour. I'm curious if it is necesarry to shut down Weewx. >> Anobody a suggestion? >> >> -- >> > 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 visit >> https://groups.google.com/d/msgid/weewx-user/c84a0352-0b36-4e93-a78b-5fee18989600n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/c84a0352-0b36-4e93-a78b-5fee18989600n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Peter Quinn > (415)794-2264 <(415)%20794-2264> > -- 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 visit https://groups.google.com/d/msgid/weewx-user/328665b8-4799-4c74-83ce-ea37b01fda19n%40googlegroups.com.