← Back to team overview

duplicity-team team mailing list archive

Fwd: Re: [Duplicity-talk] Duplicity response status 200 with reason 'OK'

 

i have a small fix for webdav, see below. do we want to fix it in 0.6 as well?

..ede

-------- Original Message --------
Subject: Re: [Duplicity-talk] Duplicity response status 200 with reason 'OK'
Date: Sat, 14 Jun 2014 15:02:27 +0200
From: edgar.soldin@xxxxxx
Reply-To: Discussion of the backup program duplicity <duplicity-talk@xxxxxxxxxx>
To: Andreas Vogler <andreas@xxxxxxxxxxx>,  Discussion of the backup program duplicity <duplicity-talk@xxxxxxxxxx>

On 13.06.2014 18:37, Andreas Vogler wrote:
> 
> Zitat von edgar.soldin@xxxxxx:
>> 1. did it work before?
> 
> No, not on this server
> 

is there probably an enforced webproxy between the machine and the webdav server?

SNIP
> 
> So i changed the correct PY. Im dont know python very well, but i deleted the pyc file. it was generated again
> Still no output
> 
> I have no clue why webdavbackend.py doesnt output somthing
> 

hmm.. let's leave that for now. i registered a free account with opendrive.com and everything works fine. i even checked volsize 50MB and it worked out.

i think i've got it. you have an incomplete, interrupted backup laying on the backend. the backup resume fails as PUT is overwriting a file and not just creating one thus HTTP response code is 200.

try adding 200 to the valid codes in line 404 of webdavbackend.py . works for me.
don't forget to verify your backup afterwards.


..ede/duply.net


_______________________________________________
Duplicity-talk mailing list
Duplicity-talk@xxxxxxxxxx
https://lists.nongnu.org/mailman/listinfo/duplicity-talk




Follow ups