-
Notifications
You must be signed in to change notification settings - Fork 116
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
E-mail notification after backups #4
Comments
I forked your project to fit it to my personal needs. I implemendet a simple mail notification via mailx: see mrclschstr/restic-backup-docker@3068433 (not fully tested yet). Maybe you can gain a little inspiration from that 😃 EDIT: Well, there is still a bug in my code. It seems like you cannot pass parameters to mailx using an environment variable. Executing the command directly with the given parameters seems to work. I'm still investigating... EDIT 2: I think I found a fix (mrclschstr/restic-backup-docker@2e8faf3#diff-185accf3472a7ada6207586b6f31a4c0R46). Not sure if using a seperate shell execution has some downsides. Any help appreciated. |
Cool I will have a look into it. If you are satisfied with your solution I would also happily accept a pull request. |
Creating a PR is not that easy, because I already forked your project. I'll try to find a way around that... |
How can I setup the email notification? I see this is merged so it should work right? |
The readme contains an example configuration |
I can't find it :/ |
You have to look into the alpine branch |
OK but the alpine branch can't rclone? |
Woops, I just noticed the two branches. We should probably merge them. I will have a look. |
I merged the alpine branch, since we are on alpine anyways. The integration of mailx is not as clean as it could be but should work. I do not have time to test is yet. But if you do, I will provide a release on docker hub. |
I will test it the next days. Can you make a docker build so that I can pull it? |
@wuast94 it should be testable in "latest" tag. A new versioned tag will follow as well. Edit: I added a new tag |
While testing the mail feature i always receive "send-mail: applet not found" Solved! |
If you can provide a PR that's very welcome. |
No description provided.
The text was updated successfully, but these errors were encountered: