Giter Site home page Giter Site logo

Comments (7)

HandyGuySoftware avatar HandyGuySoftware commented on July 20, 2024

@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.

jdeluyck avatar jdeluyck commented on July 20, 2024

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.

HandyGuySoftware avatar HandyGuySoftware commented on July 20, 2024

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.

jdeluyck avatar jdeluyck commented on July 20, 2024

I can confirm it no longer crashes. Thanks!

from dupreport.

HandyGuySoftware avatar HandyGuySoftware commented on July 20, 2024

Added to 3.0.8 release.

from dupreport.

HitLuca avatar HitLuca commented on July 20, 2024

@jdeluyck did you ever end up containerizing this service?

from dupreport.

jdeluyck avatar jdeluyck commented on July 20, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.