Warning for locked file - sometimes yes, sometimes not

running 2.4.0.1 - 2.4.0.1_stable_2026-10-07 on Win10:

On the same machine I sometimes get a warning due to a locked file (“Excluding path due to file locked: D:\<path>\ClipCache\ClipCache.db” - a clipboard extender, in autostart), sometimes I don’t. I understand that a locked file is excluded, what I don’t understand is, that the same file sometimes gets backed up, sometimes excluded (as seen in the restore history).

Any ideas?

When Duplicati scans the data to find the files, it has to give up if the file is locked, and this triggers a warning. Internally, this is then mapped as if the file was missing.

It sounds like each differs in having the file locked or not, so sometimes it can be read, sometimes not. Given the filename, I would assume this file is safe to exclude, but please check if it is important to the operations.

If you want to be able to read the file everytime, you need to run Duplicati with Administrator privileges, and then either enable snapshots or the BackupRead feature.

Hmm… whenever I checked this *.db file with FileLocksmith it was locked. This clipboard extender is running in the background - permanently, I would suppose. So the idea of Duplicati hitting a second where it should be unlocked is not quite plausible to me.

Anyway, I have no problem excluding this file from the job, as it is not really important.