Default to using .NET built-in Zip code for performance improvements
is my main suspect for an inability to recompress from LZMA. See 2.0.9.107 post for context:
C:\Duplicati\duplicati-2.0.9.108_canary_2024-10-03-win-x64-gui>Duplicati.CommandLine.RecoveryTool.exe recompress zip "C:\tmp\recompress.pre" "C:\tmp\recompress.post"
Listing files on backend: file ...
Found 1 files at remote storage
Found 1 files which belongs to backup with prefix duplicati
1/1: duplicati-b0a69695168d443dfa437b9d44b6de54e.dblock.zip - downloading (773 bytes)... recompressing ... error: System.IO.InvalidDataException: The archive entry was compressed using LZMA and is not supported.
at System.IO.Compression.ZipArchiveEntry.Open()
at Duplicati.Library.Compression.ZipCompression.BuiltinZipArchive.OpenRead(String file)
at Duplicati.Library.Compression.ZipCompression.FileArchiveZip.OpenRead(String file)
at Duplicati.CommandLine.RecoveryTool.Recompress.Run(List`1 args, Dictionary`2 options, IFilter filter)
Download complete, of 1 remote files, 1 were downloaded with 1 errors
There were errors during recompress of remote backend files!