duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] Recreates and uploads already uploaded volume upon rest


From: Roman Yepishev
Subject: [Duplicity-talk] Recreates and uploads already uploaded volume upon restart?
Date: Sat, 16 May 2015 09:20:26 -0400

Hello,

Using duplicity 0.6.25 on Fedora 21.

I am currently working on MediaFire backend[0] and I found that when
backup fails to upload, duplicity re-creates and re-uploads an already
uploaded volume. For large volumes this increases the backup time. Since
the new archive is not exactly the same as the one already uploaded (I
suspect file order/metadata differs) it does not match the checksum on
the server, so the server can't just tell the client "yeah, I already
have that, no need to reupload".

More logs are available at [1], where I reproduced the same issue with
file backend, but the interesting lines are:

---------------------------------------------------------------------

Writing 
/home/rye/tmp/duplicity/1/duplicity-full.20150516T130024Z.vol1.difftar.gpg
AsyncScheduler: task completed successfully
Processed volume 1
...
AsyncScheduler: running task synchronously (asynchronicity disabled)
Writing 
/home/rye/tmp/duplicity/1/duplicity-full.20150516T130024Z.vol2.difftar.gpg
Processed volume 2
----------------------------------------------------------------------

I press CTRL+C - simulating backend failure to upload, as it sometimes
happens with MediaFire.

----------------------------------------------------------------------
...
^CReleasing lockfile <lockfile.linklockfile.LinkLockFile instance at
0x7f261c9e25f0>
INT intercepted...exiting.

-----------------------------------------------------------------------

So I see vol2 in the temporary folder and I expect subsequent upload to
start from vol3, however:

------------------------------------------------------------------

Found primary backup chain with matching signature chain:
-------------------------
Chain start time: Sat May 16 09:00:24 2015
Chain end time: Sat May 16 09:00:24 2015
Number of contained backup sets: 1
Total number of contained volumes: 2
 Type of backup set:                            Time:      Num volumes:
                Full         Sat May 16 09:00:24 2015                 2
-------------------------
No orphaned or incomplete backup sets found.
RESTART: Volumes 2 to 2 failed to upload before termination.
         Restarting backup at volume 2.
...

Restarting after volume 1, file 2006/01/01/100_3273.JPG, block 7
...
Writing 
/home/rye/tmp/duplicity/1/duplicity-full.20150516T130024Z.vol2.difftar.gpg

------------------------------------------------------------------

I was not able to find a relevant bug report in Launchpad, and the
mailing list, so I'd like to find out whether this is an expected
behavior and why it is so?


[0]: https://github.com/roman-yepishev/duplicity-mediafire/
[1]: http://paste.ubuntu.com/11166057/

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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