Comments (7)
@jdeluyck , thanks for submitting this.
dupReport needs a Duplicati backup name to be in the form <source><delimeter><destination>
without any spaces in between. For example, MediaServer-NAS
. The delimeter should be a single character that does not appear elsewhere in your backup names. In the example, this would be '-'.
Your backup name is shown as Backup to B2
. but your .rc file specifies the delimiter as '-' (the default). Since the program can't find a '-' anywhere in the subject line it is unable to properly parse the subject line and won't see this as a valid email.
To fix this problem, simply use a '-' between the source and destination in your backup name, like Backup-B2
. You can use any delimiter you like instead of '-', just make sure to change the srcdestdelimiter=
field in the .rc file to whatever you choose.
That being said, however, the program should detect the error and simply skip the email rather than crashing, as you experienced. The subject parsing routine was recently modified and this appears to have introduced this error into the code. I will work on getting that updated in the next release.
One last note; there are ways to include spaces in your backup names and delimiter (though it's not recommended). If that's something you're interested in, please see the recent discussion for Issue #174 to see how it can be done.
Let me know if that suggestion fixes your issue.
HG
from dupreport.
Ah, yeah, this makes sense. I read through the documentation at first but the source-destination thing didn't really click in how it was used, and now it does.
I've changed the name of the job, let's see what happens now. Thanks.
from dupreport.
I have made updates to the code and uploaded it to the Issue_177 branch on GitHub. This should fix the crash you experienced. I've also updated the documentation on specifying source and destination within the system to hopefully explain it better. if you can download this branch and try it out it should work fine (or at least better).
from dupreport.
I can confirm it no longer crashes. Thanks!
from dupreport.
Added to 3.0.8 release.
from dupreport.
@jdeluyck did you ever end up containerizing this service?
from dupreport.
@jdeluyck did you ever end up containerizing this service?
If memory serves me right yes, but I stopped using Duplicati, and trashed the containers + config. So I can't readily help you.
from dupreport.
Related Issues (20)
- Add OS Name & Version to Log File HOT 1
- dupReport.py installer changes folder name HOT 2
- Error crash when target destination is unavailable HOT 1
- smtplib.SMTPDataError: (501, b'Syntax error - line too long') HOT 18
- Typo in [report] section HOT 1
- Change description of -verbose command line option HOT 1
- Program crashes when can't connect to SMTP server HOT 1
- Fix Typos in docs/WhatIsDupreport.md HOT 1
- Indicate Warning or Error in subject line of the mail report HOT 16
- Only send on failure HOT 1
- Parsing failures HOT 4
- Enabling "Less secure apps" is required for Gmail access HOT 2
- Add an Ignore option to the Source-Destination Section of the .RC file HOT 1
- Need more flexibility in defining Subject Line and S-D regex in .rc file (Was: RegEx suddenly does not match anymore) HOT 16
- dupReport is ignoring Backup Warning Threshold HOT 1
- Typo in the docs for the-b option HOT 1
- Syslog output crashes ELK Logstash 8.1.2 HOT 1
- Ignored S/D Pairs still show up in LastSeen Report
- Error in SafeConfigParser HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dupreport.