is it possible for duplicity to detect file rename?

Asked by Jose Riha

i wonder if anyone could tell whether the current design of duplicity allows for detecting file renames/moves so that the file is not stored twice in next incremental backup. this basically means whether duplicity is able to do some sort of deduplication. thanks, jose

Question information

Language:
English Edit question
Status:
Solved
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Solved by:
Jose Riha
Solved:
Last query:
Last reply:
Revision history for this message
Kenneth Loafman (kenneth-loafman) said :
#1

Currently, no, and no real plans to add this feature.

The data is there, but not in a format suitable for easy search.

...Ken

On Tue, Sep 11, 2012 at 3:35 PM, Jose Riha <
<email address hidden>> wrote:

> New question #208308 on Duplicity:
> https://answers.launchpad.net/duplicity/+question/208308
>
> i wonder if anyone could tell whether the current design of duplicity
> allows for detecting file renames/moves so that the file is not stored
> twice in next incremental backup. this basically means whether duplicity is
> able to do some sort of deduplication. thanks, jose
>
> --
> You received this question notification because you are a member of
> duplicity-team, which is an answer contact for Duplicity.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~duplicity-team
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~duplicity-team
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Jose Riha (jose1711) said :
#2

thank you

Revision history for this message
Pablo Iranzo Gómez (iranzo) said :
#3

Is there any chance to get an RFE for this?

This will help a lot to keep optimized versions of backups when several users are moving files, etc and even have duplicates.

Revision history for this message
Timandahaf (timandahaf) said :
#4

I would highly appreciate this feature as well.

Would it have to be solved in rdiffdir? Is the issue related to how rdiffdir does a diff?

Revision history for this message
edso (ed.so) said :
#5

yes, and no.

yes, because rdiffdir shares sources with duplicity.

no, because the code that decides what to pump through librsync resides in duplicity. generally it's not complicated, but nobody has stepped up so far to implement it.
same goes for hardlink support.

..ede/duply.net

Revision history for this message
Timandahaf (timandahaf) said :
#6

cool, thanks for the info. I'll put this on my backburner and look into it in a while and see if I can submit a patch.