-
Notifications
You must be signed in to change notification settings - Fork 204
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
Unclear location for user-callback #1100
Comments
Perhaps an additional command-line argument would be possible too... Generally: Errors in the user-callback script should be reported back to the user somehow (I am not sure, if and how good the current implementation is here). |
@emtiu Could you please add "user-callback" label? I will implement this FR the next days with the easiest possible implementation (calling |
We should also check if the documentation is any help with the question of which user-callback script is called. Also note that #827 is related, but probably much more difficult to implement. |
I have found that the complete call of the user-callback script file (incl. actual args) is already covered by a logging output ( The logging output is quite self-explanatory:
So I suggest to not add further logging output but
Edit: I just realize that the arg passing could require quoting (bug?):
Edit 2: All-clear: The arguments are logged without quotes, but the |
Some times ago my user-callback stopped working and I did not get an email send using sendmail. The reason was clear, there was a password change I need to enter in the script. But which one? I found several backintime user-callback files and it is unclear which one is used by BiT.
Locations found:
~/.config/backintime/user-callbak
/etc/backintime/user-callback
/root/backintime/user-callback
Finally I found the root one was used (I am running backintime Qt as root to get privilged files backed up).
Enhancement request: Note the user-callback location in syslog, not only the file name
The text was updated successfully, but these errors were encountered: