The weewx database is only written to once for each archive period (typically 5 minutes). There is no need to stop weewx to back it up. Simply take a sha1sum of weewx.sdb before you copy it and then take a sha1sum of the copy. If the sha1s differ, the database changed and you’ll need to sleep and try again. You can make sure you never get unlucky with the backup by being thoughtful when you run the backup. For example, if your archive period is 5 minutes, don’t run the backup on a 5 minute boundary. For example, run it at 2 minutes pat the hour. On Feb 17, 2025, at 9:34 AM, Keimpe Bleeker <bleek...@gmail.com> wrote: -- 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/58C7E582-A85B-409C-A457-A0757EEDEC1F%40johnkline.com. |
- [weewx-user] Database during backup Keimpe Bleeker
- Re: [weewx-user] Database during backup 'John Kline' via weewx-user
- Re: [weewx-user] Database during backup p q
- Re: [weewx-user] Database during back... vince
- Re: [weewx-user] Database during ... Keimpe Bleeker