Trying to exclude OneDrive, Temp and Downloads from backup

I am getting the Error:

Error getting complete file “oLqkEZbDhQS3JGx3s0tZ|C/Users/./OneDrive - /XXXX.xlsx” from DEV-2001. Errorcode: CANNOT_OPEN_FILE (3)

I am trying to exclude OneDrive, Temp, Downloads.

On the Windows server I have: *\Temp*;\Downloads*;*\OneDrive\*

It does not seem to be working what am I missing?

I did discover that the files that are giving the error seem to be files that are deleted on the local machine, but are still on the OnDrive.

This seems to have a slash? Maybe the pattern is wrong?

I’d add it has full path. E.g. C:\Users\:\OneDrive;C:\Users\:\OneDrive - *

so then would it look like this ?

C:\Users\:\OneDrive;C:\Temp;C:\Users\:\downloads

Yeah if you don’t have OneDrive folders with slash in it

It did not work so I’m going to try tonight :

C:\Users:\OneDrive;C:\Users:\OneDrive - *;C:\Temp;C:\Users:\downloads