duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-talk] Access GDrive through gdocs backend failing. Link to pa


From: Boris ARZUR
Subject: [Duplicity-talk] Access GDrive through gdocs backend failing. Link to patch.
Date: Thu, 4 Jul 2013 16:10:26 +0900
User-agent: SquirrelMail/1.4.22

Hello everyone,

First, let me thank you for a wonderful utility. I love duplicity !

I use duplicity 0.6.21. I have been playing with 'big' backups on google
drive. I use the gdocs backend. The full backup works like a charm. And my
troubles began with the incremental.

Downloading the metadata was failing with :

Failed to download file
'duplicity-full-signatures.20130703T020608Z.sigtar'
in remote folder 'New Folder': Failed to find file
'duplicity-full-signatures.20130703T020608Z.sigtar'
in remote folder 'New Folder'
see : http://pastebin.com/JbTNTh0d for more details.

duplicity-full-signatures.20130703T020608Z.sigtar is 188 MB.
This problem does not happen with smaller files (< 20 MB).

I tracked the problem to a check in
duplicity/backends/gdocsbackend.py: GDocsBackend.__fetch_entries
where the entry.get_resource_type() turns out to be 'application/x-tar'
and not 'application/binary' as expected...

I put together a quick fix, you can find it here :
http://pastebin.com/V5anwj1M
[basically test only on the left side of the /, enough to
distinguish folders from files]

It works for me. I hope it can be of use in duplicity.

Have a good day. And thank you for the all the duplicates...
Boris.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]