Understanding log error

This one is probably because the file is locked. One solution is to use --snapshot-policy to back up open/locked files. Note that you must run the Duplicati process with elevated rights to use snapshots.

But this particular file is probably of no value to back up. Snapshots can be useful if you have other - important files - that are often open during backups.

Another solution is to just not back up your OneDrive folder since it’s already “backed up” by Microsoft.

I have seen other people get this type of error and it was due to them including the Temp directory in the backups. Default Temp directory is C:\Users<username>\AppData\Local\Temp - do you have that included in your backups?

In my opinion there is usually no data of value in AppData\Local so I would not include it. I do include AppData\Roaming though. Your mileage may vary…