I have often noticed that at midnight commands and scene triggers stop working. The situation returns to normal several minutes later. It’s not very serious for now because I haven’t set up the alarm yet. I use Gladys Plus, and it’s certainly due to database synchronization.
Do you experience this issue?
Indeed there is an automatic backup that runs randomly between midnight and 2:00 AM (so that everyone doesn’t hit the Gladys Plus server at the same time), and this backup can cause a slight database lock while it is being copied.
You can normally see at what time your backup ran in the « Tâche en arrière plan » tab and even see the backup progress in real time
Is the timing an issue for you?
The speed of the backup also depends on your hardware — the faster your disk, the faster it will be.
On my side, on a mini-PC with an NVMe SSD and a 650Mb database, the DB « lock » lasts less than a second and is therefore invisible:
Hi @pierre-gilles,
Thank you for your reply.
I’m waiting until I can buy a mini PC and in the meantime I’m still running on a Raspberry Pi 3B (PI3B) and a 240 GB SSD.
If there’s a way to shift the backup time
It’s clear that the mini PC really changes your life. Before, I had a Raspberry Pi 4 with an SSD, and almost every evening when I wanted to turn off a light I ran into a backup that lasted a few minutes.