1) As some new file systems on linux had problems with automatic deduplication
due to collision in checksums, I would like to know how far wimlib was tested?
Did you or someone you know used it to create incremental backups of huge server
file-systems? Or is there some theoretical proof that the sha-1 checksum is
"safe enough"?
Currently, SHA-1 is good enough in practice. It's designed to be a cryptographic checksum and has 2^160 (1461501637330902918203684832716283019655932542976) possible values, which makes random collisions infeasible. And as of this writing, no one has publicly reported *any* two inputs that produce the same SHA-1 message digest. Eventually there will be attacks... but for collisions costing thousands of dollars in computing resources, the worry is about forging SSL certificates, not tricking random file archiving programs.
You should also be aware that WIM archives only support whole-file deduplication. There isn't any deduplication done within files.
2) If I understood it right, wimlib can do incremental backups, that keep older versions of a tree, including files that were deleted. How can I restore the directory tree as it was on dd-mm-yyyy? Is there something like zpaq extract e:\backup.zpaq c:\Users\Bob -to tmp -until 2015-10-30?
For incremental backups, you would simply be adding each version of your directory tree to a WIM archive as an image. So to restore a particular version of the directory tree, you would need to extract it from the corresponding image. You have to specify the image by name or index (timestamp isn't supported), so naming your images by date is probably a good idea.
3) Is there an efficient way to clean older images by creating a new "full backup" later in time as the first one and removing the older one? After a year, files that have been deleted are safe to remove. Your lib really solves the problem zpaq has like missing hardlink/symlin/junction support, I just would like to be sure it also is ( or becomes ) as easy to use and as reliable as zpaq before switching
You could delete old images from the WIM archive and optimize (rebuild) it. Then you'd end up with a minimally-sized archive that contains just the image(s) you want to retain.