bit-team / backintime

Back In Time - An easy-to-use backup tool for GNU Linux using rsync in the back
https://backintime.readthedocs.io
GNU General Public License v2.0
1.99k stars 194 forks source link

Ratelimit error notifications? #1125

Open EternityForest opened 3 years ago

EternityForest commented 3 years ago

Currently, if a folder contains files with any permission problems, it can spew out hundreds of notifications, really bogging down the desktop.

Perhaps individual file errors could be limited to one per ten minutes per type of error, plus one final notification at the end like "Could not copy 5346 files, see logs for details"?

artnaseef commented 2 years ago

I recently had a similar problem that was painful to track back to backintime. My target disk quota was reached, and backintime sends notifications for every file it fails to copy, and it does not stop. It was making gnome-shell usage hit 99% and the desktop almost unusable.

Since the "do not disturb" option was set, notification popups were not showing.

Switching to XFCE briefly and seeing backintime notifications popup repeatedly made me realize that was the problem.

Unchecking the "Enable notifications" in backintime did not help at all. Running a new backup after changing that setting, the notifications continue to hammer the system.

Of course, I since solved the storage quota problem, but I really need a way to prevent backintime from slowing the entire desktop to a crawl when problems occur.