[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-talk] Timeout question
From: |
Ken Bass |
Subject: |
[Duplicity-talk] Timeout question |
Date: |
Fri, 06 Jan 2012 14:10:08 -0500 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 |
I've been trying to use the new backend I've been working on for the
past few days and have been having an issue. I had a few questions
(I'm on dupl 0.17 and python is 2.4.3 (Centos 5))
I am getting a RESTART due do an upload timeout (see later question).
What I see is that duplicity appears to download the first
vol1 and then deletes is. Is something done with this? It seems like a
wasted download of 100MB. If it just needs the size, it was already
returned in the listings.
Found primary backup chain with matching signature chain:
-------------------------
Chain start time: Thu Jan 5 21:53:16 2012
Chain end time: Thu Jan 5 21:53:16 2012
Number of contained backup sets: 1
Total number of contained volumes: 57
Type of backup set: Time: Num volumes:
Full Thu Jan 5 21:53:16 2012 57
-------------------------
No orphaned or incomplete backup sets found.
RESTART: Volumes 57 to 58 failed to upload before termination.
Restarting backup at volume 57.
Registering (mktemp) temporary file
/tmp/duplicity-eX02qk-tempdir/mktemp-WrnpF1-2
duplicity.backends.idrivebackend: GET invoked remote
duplicity-full.20120106T025316Z.vol1.difftar.gpg local
/tmp/duplicity-eX02qk-tempdir/mktemp-WrnpF1-2
download: remote duplicity-full.20120106T025316Z.vol1.difftar.gpg local
/tmp/duplicity-eX02qk-tempdir/mktemp-WrnpF1-2
Date: Fri, 06 Jan 2012 17:23:55 GMT
Server: Apache
RESTORE_STATUS: SUCCESS
Content-Disposition: attachment;
filename="duplicity-full.20120106T025316Z.vol1.difftar.gpg"
Content-Length: 104842356
Connection: close
Content-Type: application/octet-stream
Deleting /tmp/duplicity-eX02qk-tempdir/mktemp-WrnpF1-2
Forgetting temporary file /
2) I tried grepping the code for 'RESTART' and 'Restarting' and found
nothing related to the above prints. Is this part of duplicity or
somewhere else? I was trying to figure out why it downloads that vol1
file each time and then throws it away.
3) Every time it resumes and re-uploads the file, the file is different.
Is that because of GPG? Does each invocation of GPG, with the same
passphrase, produce a different output?
4) When uploading a file via my put method, I am *occasionally* getting
a timeout. This is basically an HTTPS POST that I had to add a handler to
support 'multipart/form-data' encoding.
Is this what the --timeout command line option is for? To tune the
default socket timeout?
I log into the file storage service and manually download the file and
it is actually completed and an md5sum compares on the files, so I think
duplicity is not waiting long enough. It appears duplicity sets the
timeout to 30 seconds. I noticed on my last upload, it took 78 seconds
before the server responded with the little XML response telling me OK.
Thanks
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Duplicity-talk] Timeout question,
Ken Bass <=