oetiker / znapzend

zfs backup with remote capabilities and mbuffer integration.
www.znapzend.org
GNU General Public License v3.0
603 stars 136 forks source link

--MailErrorSummaryTo=rcpt not working #540

Closed AlexanderSch90 closed 3 years ago

AlexanderSch90 commented 3 years ago

Hey, znapsend should send me an email in case of errors. What do I need to create a mail ?! I already have = root; = admin; = myexternalMailAdress@gmx.de tried. Unfortunately there is an error everywhere when calling the program with this Option:

--MailErrorSummaryTo = rcpt

Syslog says "Unknown option": Feb 10 16:20:48 pve2 systemd[1]: Started ZnapZend - ZFS Backup System. Feb 10 16:20:48 pve2 znapzend[32143]: Unknown option: mailErrorSummaryTo Feb 10 16:20:48 pve2 systemd[1]: znapzend.service: Main process exited, code=exited, status=1/FAILURE Feb 10 16:20:48 pve2 systemd[1]: znapzend.service: Failed with result 'exit-code'. Feb 10 16:20:48 pve2 systemd[1]: znapzend.service: Service RestartSec=100ms expired, scheduling restart. Feb 10 16:20:48 pve2 systemd[1]: znapzend.service: Scheduled restart job, restart counter is at 5. Feb 10 16:20:48 pve2 systemd[1]: Stopped ZnapZend - ZFS Backup System. Feb 10 16:20:48 pve2 systemd[1]: znapzend.service: Start request repeated too quickly. Feb 10 16:20:48 pve2 systemd[1]: znapzend.service: Failed with result 'exit-code'. Feb 10 16:20:48 pve2 systemd[1]: Failed to start ZnapZend - ZFS Backup System.

Maybe it is because i use this version? https://github.com/Gregy/znapzend-debian Should i make an Issue there?

oetiker commented 3 years ago

note that this feature was only added in 0.21.0 https://github.com/oetiker/znapzend/releases/tag/v0.21.0