duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Access GDrive through gdocs backend failing. Link t


From: edgar . soldin
Subject: Re: [Duplicity-talk] Access GDrive through gdocs backend failing. Link to patch.
Date: Thu, 04 Jul 2013 11:55:53 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

On 04.07.2013 09:10, Boris ARZUR wrote:
> 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.
> 
> 

not familiar with the backend code. 
but if you could explain a bit more why it failed and why it works now, what 
the code did before vs. now, i could setup a launchpad branch for the 
maintainer to merge.

..ede/duply.net



reply via email to

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