Duplicity: How to list versions of a file?
Solution 1:
Since version 0.7.03 of Duplicity it is possible to list the revisions that a file has changed in:
duplicity collection-status --file-changed 'filename' 'remote-url'
Solution 2:
There was an answer on the mailing list by Edgar Soldin:
no, you can currently list all backed up versions. duplicity will not tell you when they were changed. this could however be implemented as duplicity internally keeps track of that.
ede/duply.net
So in essence: It is not possible with vanilla duplicity now, but the data is in duplicity metadata.
Solution 3:
YES, it is possible to do this by getting a list of all of the files in each of the snapshots that duplicity takes (i.e. the first full backup and every incremental) and then compare the file lists and look for the specific file you are concerned with.
While it will not show every change to the file unless the file changes less frequently than you make duplicity copies, it will show each state of the file at each backup point.
I wrote a shell script to do this.
Solution 4:
You might try dumping the full list of files, then searching that list for the file in question:
duplicity list-current-files url > /path/to/file-list.txt
grep filename /path/to/file-list.txt
This command is poorly documented, but each line in the file has a date that appears to be last modified time.