Forum Discussion
Sync local files to Sharepoint
- Sep 27, 2018
Hi Sandro Clz,
What can I tell you about this solution?!
It works for me and with it we can make an automatic backup of our local CAD files to OneDrive4B.
But you have to make sure a user is logged on and the OneDrive Sync Client is started. -> I think this was the biggest Problem on a Server.
But when you log on after a reboot and start the OneDrive Sync Client, then it works.
We had only problems with very long file names / path or special files they can’t sync with OneDrive (like .exe)
We use this command to make the symbolic link:
mklink /j c:\RedirectedFolder "%userprofile%\OneDrive - xyz\FolderToRedirect"
But I don’t know how it work when you share this folder.
Good luck
We have the same problem at a CAD Workstation.
There we are using the new OneDrive Sync Client to Sync OneDrive.
Normally the Sync Client is syncing to a folder in the User profile.
We use mklink to create a symbolic link to the folder in the User profile.
This works fine with the user who is logged on to the work station.
On a Server normally there isn’t a user logged on – you have to make sure a user is logged on and the OneDrive Sync Client is started.
This is not very nice – but It can work.
Hi Heiko Watz,
Thanks for the answer, that's where I was trying to get. For the moment I can work with that.
Can you tell me a bit more about it? Is it reliable? Have you had any trouble/errors?
Best regards,
Sandro
- Heiko WatzSep 27, 2018Iron Contributor
Hi Sandro Clz,
What can I tell you about this solution?!
It works for me and with it we can make an automatic backup of our local CAD files to OneDrive4B.
But you have to make sure a user is logged on and the OneDrive Sync Client is started. -> I think this was the biggest Problem on a Server.
But when you log on after a reboot and start the OneDrive Sync Client, then it works.
We had only problems with very long file names / path or special files they can’t sync with OneDrive (like .exe)
We use this command to make the symbolic link:
mklink /j c:\RedirectedFolder "%userprofile%\OneDrive - xyz\FolderToRedirect"
But I don’t know how it work when you share this folder.
Good luck