Sign in to follow this  
timecott01

BTSync (Windows Server 2003) - Running as a 'service' - This Way It Works

Recommended Posts

After a few false starts at getting BTSync to run as a Windows Service - here is what works for me.

Trying various options (srvany, nssm etc) to get the BTSync executable to run as a service did not work for me. Although everything looked right (service running, task manager shows BTSync.exe running under administrator), synchronisation of folders between servers did not work. It worked fine when BTSync was run from a user desktop on each server.

So, we tried another approach - configuring a scheduled job on each server to run when the server starts - this job to run BTSync under user administrator. (suggested in another post here).

This works. With no-one logged in to the servers, folder synchronisation between them works fine.

Downsides?

If it is necessary to change anything - which requires use of the BTSync GUI, it is necessary to:

log in to the server

stop the running copy of BTSync.exe

start it again from the desktop icon - to get the GUI

make changes

close the GUI

reboot the server (to get the scheduled job to start BTSync again) << that bit is a bit unfortunate, as we dont want to reboot servers at all if we can avoid it.

All in all though, this seems to be a way forward to use BTSync. Now we have 'automatic' folder synchronisation between unattended servers. This is exactly what we were looking for.

Hope this is of use to others.

p.s. Hopefully the BTSync development WILL produce a proper Windows Service version!

Share this post


Link to post
Share on other sites

reboot the server (to get the scheduled job to start BTSync again) << that bit is a bit unfortunate, as we dont want to reboot servers at all if we can avoid it.

You can just start the scheduled task manually from the MMC - no reboot required.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this