Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail on error #1053

Open
kocjs opened this issue Dec 19, 2019 · 4 comments
Open

Mail on error #1053

kocjs opened this issue Dec 19, 2019 · 4 comments
Labels
Feature requests a new feature Notifications desktop, email, GUI/tray status messages User-Callback

Comments

@kocjs
Copy link

kocjs commented Dec 19, 2019

Using the user callback to get mails on error works well. However, I noticed, that in the case of denied permissions and wrong file encoding no error mail gets send. Although a desktop notification arrives.

How can i set up backintime to get mails on these errors too?

Debian Buster
Backintime 1.1.24

@buhtz
Copy link
Member

buhtz commented Sep 25, 2022

@kocjs There is a new forming maintaining team and we do review all issues. Is this problem still relevant for you or did you find a solution?

Tag: Feature/Bug, Medium/High, Documentation, user-callback

@emtiu emtiu added Feature requests a new feature User-Callback Notifications desktop, email, GUI/tray status messages labels Oct 22, 2022
@buhtz
Copy link
Member

buhtz commented Jan 20, 2023

Related bug report on Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985260

@aryoda
Copy link
Contributor

aryoda commented Jan 21, 2023

Related to #827 (which is the master issue for correct error handling in user-callback scripts IMHO).

See also: https://mail.python.org/archives/list/bit-dev@python.org/message/KJIYOVEVFH52PKPUDVHY7LZ2VKOX3SNK/

Edit: Perhaps this issue is different (here: error triggered from outside of the user-callback script - there: error thrown in the user-callback script)

@aryoda
Copy link
Contributor

aryoda commented Aug 17, 2023

I noticed, that in the case of denied permissions and wrong file encoding no error mail gets send

I may have fixed this problem now via PR #1502 but to be sure I need to understand exactly where the error happens:

  • Which of the errors ("denied permissions" + "wrong file encoding") are rsync errors during taking a snapshot (and therefor contained in the snapshot log)
  • Are there errors caused by the user callback script (syntax, during execution of command...)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature requests a new feature Notifications desktop, email, GUI/tray status messages User-Callback
Projects
None yet
Development

No branches or pull requests

4 participants