Service Stopping/Restarting and Sync


bsdll

Recommended Posts

I have sync running accross a server that restarts at 4am every morning. If there is something syncing during the restart, what is the impact on the process?

And secondary to that, if the service is stopped using the Services manager what happens to syncs in progress at the time?

Thanks.

Link to comment
Share on other sites

@bsdll Sync breaks all files into smaller pieces when syncing. If something is not finished when Sync was stopped, it will continue from the piece it stopped last time. The only peculiarity here is how you shut down Sync itself. If this is a graceful shutdown (like SIGTERM on POSIX systems) - all is fine and Sync will have a chance to save all the data. Ungraceful shutdown may lead to redundant re-syncing and DB corruption.

Link to comment
Share on other sites

17 minutes ago, RomanZ said:

The only peculiarity here is how you shut down Sync itself.

Would stopping the service be considered a graceful shutdown? And to clarify, does stopping the service in fact stop the syncing? This is all on a Windows system.

Link to comment
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.