On a particular Machine running Windows 10 22H2 where I backup the user home (only specific folders) the backup always ends with
Failed to remove the incomplete snapshot: remove C:\Users\…/.duplicacy/cache/default/incomplete_files: The process cannot access the file because it is being used by another process.
The incomplete_files file also seems to grow with each backup.
On the same machine I also have another repository on a different drive where this issue does not occur. I also have the same repository setup (i.e. backup of the user home) on a different PC (but running Windows 11) and there no such issue occurs either.
Are there any known issues with Windows keeping a file lock on incomplete_files for whatever reason under Windows 10 within the user home?
The command I am running is
duplicacy backup -vss -threads 8
with admin privileges of course. To debug I also ran the command with -d - but there wasn’t more info. I also tried running without -threads & -vss (and without admin privileges in that case) to see if that changes anything, but no luck.
During a backup process the “File Locksmith” of PowerToys only shows the duplicacy.exe process having a lock on the file.