Command Line Options to Stop Client
I am wanting to set up a script to stop the client from running if the laptop is connected to certain wifi connections. Is there any option to do this?
I am wanting to set up a script to stop the client from running if the laptop is connected to certain wifi connections. Is there any option to do this?
Hi Andrew,
Yes, you can stop the Vembu NetworkBackup/Vembu VMBackup running in your/remote machine using your own script.
To stop the Vembu VMBackup,
Those exe are available in Vembu VMBackup installation location by default "C:\Program Files\Vembu\VembuVMBackup\bin". The above two exe are responsible for running Vembu VMBackup. Please create a script to stop those exe in the order mention above.
To stop the Vembu NetworkBackup,
Those exe are available in Vembu NetworkBackup installation location by default "C:\Program Files\Vembu\VembuNetworkBackup\bin". The above two exe are responsible for running Vembu NetworkBackup. Please create a script to stop those exe in the order mention above.
To stop the Vembu NetworkBackup, please create a script to run the script file "stopVembuNetworkBackup.sh", it will stop the Vembu NetworkBackup running in your Linux machine. This script file will be available in Vembu NetworkBackup installation location by default "/home/vembunetworkbackup/Vembu/VembuNetworkBackup/stopVembuNetworkBackup.sh"
In addition to the above, if your client are have static IP, you can bundle that IP in our internal configuration files. So that the data transfer will can only if the client are running with that particular IP. If the client connect wifi with different IP than data transfer will not happen. Please follow the below steps to bundle the IP in our internal configuration files.
Stop the Vembu NetworkBackup/Vembu VMBackup running in your client machine.
Open '<installation location="">\conf\SGConfiguration.conf' file in any text editor, by default "C:\Program Files\Vembu\VembuNetworkBackup\conf\SGConfiguration.conf"
Search for the tag "IPAddress", by default that tag value will be empty. Enter the IP which you want to bind. Example IPAddress="198.168.104.234".
Save the SGConfiguration.conf file.
Start client agent.
Using the above steps you can bind the Vembu NetworkBackup/Vembu VMBackup client with particular IP, if the client assign to any other IP address, Vembu NetworkBackup/Vembu VMBackup client agent won't run.
Hi Jameer, thanks for reply. Just getting to put this together but I was wondering is there a clean way to stop the exe on windows? or do I just kill them. Also to restart the agent do I just run the exe's in the opposite order? thanks
andrewcarrick ( 2016-03-23 10:44:31 -0500 )editCopyright © Vembu Technologies 2023. All Rights Reserved.