I know how to stop syncing manually, but I need to do it automatically before the backup start automatically in the night. Any idea how to start / stop syncing by a command in the .bat file?
Community Moderator @ Dropbox
Did this post help you? If so please give it a Like below.
Did this post fix your issue/answer your question? If so please press the 'Accept as Best Answer' button to help others find it.
Still stuck? Ask me a question! (Questions asked in the community will likely receive an answer within 4 hours!)
No, I simply need to stop syncing without fiddling manually with icon in tray. It may be just stopping syncing or (worse) stopping Dropbox (application), so after issuing such a command I should be sure, that Dropbox would not change the files until I start it again i.e. during the backup process.
Most applications can be started and stopped from command line, probably Dropbox too.
For almost full control over the application, if that's very important for you, switch to Linux (only few actions are still restricted to GUI interface - move the Dropbox dir in fact). Many companies do that! You can use independent data server machine, running Linux or just virtual one, depending on what you really need.
Using taskkill could be dangerous! Even very unlikely, active sync process could be stopped while in action, which could lead to troubles - disturbed data.
Thank you, but I'm afraid it is too complicated for me. After all I need just stop the sync for a short time once a day to be shure that the backup image (inluding Dropbox folder) is consistent. I use Windows 10 and thugh I'm not happy with this there is many reason to keep it like this.
As to risk with killing the process I think it is about same as closing the system, isn't it? I can close system at any time and Dropbox must be prepared for such a situation, right? So I think I can give it a try and see what's going on.
On the other hand maybe I don't need to stop anythig?
Actually it's not like a system close! System close is process and system message is send to every one application which gives the opportunity the applications closing properly. 'taskkill' stops (pause or kill) particular process. If at that moment there are incomplete operation (for example buffered, but not saved still content), data could be left in inconsistent state and accordingly inconsistent backup.
What You really need? That's only on your opinion. Generally, if at the backup creation moment there is not any chance something to be in sync progress (ensured somehow), no stop is really need.
About 'too complicated': It's not so complicated really. The installation could be virtual, as noted above, and You don't have to change your current installation (except virtual machine install of your choice - QEMU, VirtualBox, VMware, ...).
The choice is yours!
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.Sound good? Let's get started.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!