Why is deja-dup using gvfsd instead of using duplicity's build in protocol support?

Asked by Moritz Maisel

Why does deja-dup use gvfsd instead of using duplicity's built in protocol support? When doing large Backups (~ 70 GB) gvfsd takes huge amounts of memory slowing down the whole machine. All of my attempts to do backups of data with that size failed with errors about not being able to write data to the target. I assume thats related to the memory issue, since the machine becomes nearly unusable, which also should affect userspace-daemons like gvfsd and therefore may cause the connection timeouts.

I would love to use deja-dup, since the features exactly fit my needs.

Thanks for sharing your work!

Greetings
Moritz

Question information

Language:
English Edit question
Status:
Solved
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Solved by:
Moritz Maisel
Solved:
Last query:
Last reply:
Revision history for this message
Michael Terry (mterry) said :
#1

Curious. I haven't noticed such errors myself. Which protocol are you using?

I use gvfs because it offers a wide range of options that all work the same way and benefit from the same testing. Plus it makes sure that whatever locations a user can setup in GNOME can be used in Deja Dup. DD supports some extra methods (like S3) that gvfs doesn't, but in general, if they both support a protocol, I've found it's easier to use gvfs for it.

Of course, that's because I haven't noticed such issues with gvfs.

Revision history for this message
Moritz Maisel (mail-maisel) said :
#2

I am using webdav. After you stated that you don't have any problems with gvfs, I found a gvfs bug report (#433500) that seems to be related to my problem. I should have take more effort in searching before stealing your time, sorry for that!

Basically I share your thoughts about the benefit of reusing existing solutions and adding layers of abstraction for better modularity, but thinking about performance I am not sure if that's the optimal way for deja-dup. Obviously I am influenced by the negative experience I made. I think I'll get back to that point after the memory-issue in gvfsd was fixed. ;-)

Thanks for your answer and again many thanks for sharing your work on deja-dup with us!