To mirror / copy / replicate / sync the local OneDrive folder to another location, make sure to enable the following options in the profile settings:
Do Not Copy File / Folder Data Streams
Option is in Profile Settings -> Advanced Settings -> Details
OneDrive adds some additional file streams to files and makes them inaccessible.
If you do not enable this option you might get the error: "Can not copy NTFS Additional File Streams of file "XXXXX". Function 'BackupWrite' returned error 395. Access to the cloud file is denied".
Include Offline Files
Option is in Profile Settings -> Advanced Settings -> More Settings
If there are some files in the OneDrive folder which are stored only in the cloud and not locally (i.e. they are 'offline'), then ViceVersa will exclude these files from copy because they are not present on the local disk. If you want to copy these offline files too, enable this option. The offline files will be downloaded to the local folder by OneDrive.
Exclude System Files
Option is in Profile Settings -> Folders -> File Filters
OneDrive adds a private and unique system file such as ".849C9593-D756-4E56-8D6E-AAA42412F" to the root folder and marks it as system and inaccessible. To avoid an error in ViceVersa, you can exclude this file from replication/synchronization by excluding all system files (or excluding the specific file name).