Gladys Plus: Receive an alert when a backup has failed

The feature is simple: When a backup fails, receive an alert to be notified that Gladys Plus is unable to back up the local instance.

This helps avoid any disaster if backups are broken for several weeks due to various reasons (disk space issue, etc.).

I vote for it
 let’s hope Pierre-Gilles thinks the idea is good and integrates it quickly! :rofl: :rofl: :rofl:

It could be a notification in Telegram :innocent:

Okay, I know only 9 of us voted for it, but it seems to me this feature is pretty important from a user peace-of-mind point of view.
Here’s what I just discovered



Rather unfortunate!
Gladys is running smoothly and I trust it. As a result, there was no reason to go and check that the backups had run.
Now I’m in trouble. It’s a disk space issue that’s preventing the backup (11 GB database + copy + compression; it no longer fits on a 32 GB partition).
I have to modify the partitions so I need to make a backup, and I won’t be able to use the system I’m paying for without losing two months of data.
A simple notification (a banner, an email, a Telegram message, a chat
) would have allowed me to take the bull by the horns earlier!
In short, I’m disappointed.

I would even say that the alert (or another) should appear before this kind of issue. In your case @GBoulvin (and I believe this has already happened to others before you) there should be an alert with a calculation of the space required for the backup leaving 1 or 2 GB free to warn that the backup will soon no longer be possible


For my part I also voted, even though it shouldn’t happen to me for a while; the failed backup alert remains useful for other cases.

I agree with the request, however I don’t understand why you say you are losing 2 months of data :thinking:

If he uses Gladys Plus to retrieve

Yes OK I understand then.

But for me this mainly raises what should be done upstream: warn the user who installs Gladys that a minimum amount of disk space is recommended (something like 64 or 128 GB).

Because in this specific case, someone with too small a partition will set about resizing it. Needless to say, this kind of operation will require skills that will also allow them to recover their production DB and back it up / restore it manually (that’s what I had to do a few months ago).

So the goal isn’t really to be warned in my opinion, even if that can be useful, the goal is to never have this problem, so to have allocated space in advance! :wink:

Hi @GBoulvin ! I understand your frustration and it’s true that it’s hard to trust the backup system if it doesn’t alert in case of backup errors.

I’ll see if I can do something in the next few days, Gladys :slight_smile:

However, as @Terdious said, in your case you need more than 2 times the size of your DB (database) in disk space, so ideally there should also be an alert when you approach 50% of available disk space (another topic in my opinion)

I really recommend mini-PCs, you get a beast at a low price, with a 512 GB NVMe SSD, you never have to ask yourself the question

So yes AND no :wink:

In my case, I’ve always made a habit of installing my Linux distributions with separate partitions for / and for /home, as well as other storage partitions.
And I had a system partition that was too small
 even though my SSD is 512GB 
 the irony! That’s why I think it should be noted somewhere in the docs.

Hi @GBoulvin, as promised I looked into the issue :slight_smile:

I added a Telegram alert if a backup fails.

For example, if the error is:

The user will receive:

The PR:

What do you think?

It does the job for me! :+1:

Perfect :+1:

Great, thanks for that

THANKS !!!
Sorry for my rant and for pushing too hard
 At the time, it got to me :wink:

Don’t worry, it’s normal and you should complain about points of frustration, otherwise it’s impossible to improve the software :wink:

I’ll integrate that into the next version of Gladys then!

If I may, â€č the backup (
) has failed â€ș would be more in keeping with grammatical rules :innocent:.

Thanks @GBoulvin, it’s fixed :slight_smile:

It will be included in the next Gladys release!

The feature is available in Gladys Assistant 4.44:

I’m closing this thread to free up the votes.

Feel free to create another thread if you have any feedback :slight_smile: