How to use MS onedrive for business to sync folder between H.O. and remote server

Hello all.

I have a need to keep a subset of shared folders synced between our H.O. file server (server 2012) and a remote "server" (actually a win 7 PC) located at our factory in China.

How would I set up onedrive for business to do this?

For various reasons we don't want to sync directly to the users laptops but to the little server located in the office up there?

Do I need to buy office365 for each server and if so what version?

These files are stored in normal AD folders, not sharepoint

tracyprierNetwork AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mai Ali (MVP)Senior Infrastructure ConsultantCommented:
To Setup One Drive for Business, You can check below link
To don't sync directly on laptop, you will need to deploy one drive on Server only.
Yes, you will need to buy one Drive for each server, if you want different\separate account of one drive per server. you will need  OneDrive for Business which exist on OfficeProPlus or office 365 plans. For more info. about Office plans, you can contact customer services of office 365.
Vasil Michev (MVP)Commented:
You cant. The OneDrive sync client only works with SharePoint. I guess you can upload those files to SPO and then sync them down to the other server, but you need to have some things in mind. First of all, there are number of limitations on the file size, number of files, names, etc that you will have to respect. Next, the sync client itself is not really reliable and Microsoft has well acknowledged that. Also, you can easily end up overwritting those files.

Why dont you use BranchCache or similar solution instead?
Richard DanekeTrainerCommented:
If you have an Office365 account, this can be done.  The earlier comment is correct in part when it mentions SharePoint.  Install OneDrive for business on the server and on the other PC.  Log in to the same Office365 account and set the synch for the shared folder(s).  

This will synch all three locations - server, OneDrive Office365 (cloud), and PC.  Work local - which means - open and save the files from the local folders to each device.  As a bonus, the user logged on to the Office365 account can work with the files in the internet browser connection.

This can also be done with OneDrive for accounts.  The app is simply OneDrive and not OneDrive for Business.
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

tracyprierNetwork AdministratorAuthor Commented:
Thanks Richard :)

Next question. Having done this I cannot get it to upload whole folders from the server to either onedrive OR sharepoint for that matter.

There is no way I can do this manually as there are literally hundreds of subfolders within the folders I need to sync

Richard DanekeTrainerCommented:
tracyprier, please remember that when this is established, you work locally and store globally.
Where are the files to be synched?  They should be on the local server or a local laptop.
Then, drag and drop the folders locally to the OneDrive local folders.  OneDrive will synch the files to 'the cloud' and, then, to the other local OneDrive folders.  
Sounds like you have the installation.  You need to learn the operation.
tracyprierNetwork AdministratorAuthor Commented:
Ok, I have been reading up on this but I am a bit stuck.

Most instructions on the net deal with using files directly from the local folder that onedrive bus places them in on the local disk.

My situation is that this is a replacement scheme for something that is already in place.

I already have a folder structure on the remote china PC and am syncing between them and the root shared folders on our server here.

I need to be able to set up 1drive/sharepoint so that it is syncing directly between the local folders on our file server and the "mirrored" subset of folders on the China PC.

How do I do this??

Richard DanekeTrainerCommented:
The setup discussed in this thread assumes you are using the Office 365 and OneDrive for business.  Therefore, a full copy of files are uploaded to the Office365 OneDrive accounts that are stored in the Internet.
A copy is then synched to both locations.  The Internet folders manage the synching, but also store a copy of the files.
Working with the files can, then, be done locally on either computer OR via a browser logged into the OneDrive files on the Internet.
tracyprierNetwork AdministratorAuthor Commented:
Hi Richard.

Yes I understand that. Sorry I probably didn't phrase my question right.

"but also store a copy of the files."

Its this bit. Is it possible to have these point directly to the existing folder on the PC/server rather than being a separate folder on the pc?

Basically I am wanting to get onedrive to be syncing to/from the server shared folders directly.

Richard DanekeTrainerCommented:
The OneDrive folders are stored locally on the PC like all other files.  They are located into a specific folder.  BUT, the user can work in this folder structure just like before.
In other words, to implement this operation, you move (cut not copy) the files into the OneDrive folder.   This can be done locally with folders as well as files.

The challenge with you suggestion would be to answer this question:
If the PC could identify any file or folder to synch, what would the internet file structure have to look like?  and If this happened on one device, what impact would it force on others synched devices?

By mirroring a folder structure on any device, you are able to synch across multiple devices.

If you must have files located around the device, could you use stored shortcuts in place of file copies?  That would permit random files located on the device to still be stored in the OneDrive folders.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Office 365

From novice to tech pro — start learning today.