Restore fails to skip restore of read-only file with option -persist set

Please describe what you are doing to trigger the bug:

Rerun a previously failed restore. Duplicacy stops restoring on a read-only file with the message:
ERROR DOWNLOAD_CREATE Failed to create the file \?\D:\XXX.pdf for in-place writing

Please describe what you expect to happen (but doesn’t):

Restore runs and skips files it cannot restore when using the option -persist

Please describe what actually happens (the wrong behaviour):
Restore doesn’t skip file and ends.

Using the windows x64 restore tool Version 1.5

I don’t think this is a bug. Again, you should remove the read-only attribute before restoring the file.

2 Likes

It’s written in Restore command details that the -persist option “continues even if errors occur”. The message says its an error but it doesn’t skip it. Instead it ends the operation