if i do any of the above. it creates a folder in root called “file” with a sub-folder “:” and continues on from ther creating sub-folders as it wants.
I can see that it is a bit unclear, but CIFS/SMB support is not really in Duplicati, it just uses the OS features, which on Windows allows the two first examples to work. The Linux (POSIX) file system does not work that way, so you have to mount it.
A better solution would be to include a CIFS client in Duplicati, so you could avoid having it mounted all the time (which would also be great for Windows users).
Indeed, the documentation regarding this has room for improvement in the clarity department… I’ve been pulling my hair out trying to get UNC path destinations to work from a duplicati docker container…
I agree with commenters above in that including an official SMB destination implementation would be highly desireable!
In macOS (Monterey) it is possible to click on “network” in Finder, log-in with credentials for network share(drive) and you are done. Nothing complicated with mounting remote network file systems etc.
One has all accessible right in Finder.
Use it like this smb share is working with this you may need to change your ip and the filepath/folder do not include the <> at the beginning and the end. You may also need to provide your username and password for the smb share!