Command Line Manual : cbsrv
DESCRIPTION
The cbsrv command is used to manage the CubeBackup service. You can use this command to start/stop/restart the backup service, as well as check the status of the service.
The cbsrv command must be run on the backup server.
The cbsrv file is located in the <cubebackup installation directory>/bin folder.
On Windows, cbsrv.exe is located in C:\Program Files\CubeBackup4\bin by default. So you can run the C:\Program Files\CubeBackup4\bin\cbsrv.exe … command in Windows Command Prompt or Windows PowerShell.
On Linux, cbackup is located in /opt/cubebackup/bin by default. Run the /opt/cubebackup/bin/cbackup … command in a bash shell.
For Windows Users
Although the cbsrv command can be used on Windows, we recommend that Windows users employ the Windows Services Manager to start, stop, and restart the CubeBackup service.
You can also open the Command Prompt or Windows PowerShell and run this command as Administrator:
EXAMPLES
Check the status of the backup service
"C:\Program Files\CubeBackup4\bin\cbsrv.exe" status # in Command Prompt
& "C:\Program Files\CubeBackup4\bin\cbsrv.exe" status # in Windows Powershell
Start the backup service.
"C:\Program Files\CubeBackup4\bin\cbsrv.exe" start # in Command Prompt
& "C:\Program Files\CubeBackup4\bin\cbsrv.exe" start # in Windows Powershell
Stop the backup service.
"C:\Program Files\CubeBackup4\bin\cbsrv.exe" stop # in Command Prompt
& "C:\Program Files\CubeBackup4\bin\cbsrv.exe" stop # in Windows Powershell
Restart the backup service.
"C:\Program Files\CubeBackup4\bin\cbsrv.exe" status # in Command Prompt
& "C:\Program Files\CubeBackup4\bin\cbsrv.exe" status # in Windows Powershell
For Linux Users
The cbsrv command requires root privilege, so please run it using the root account or use "sudo cbsrv …"
EXAMPLES
Check the status of the backup service.
sudo /opt/cubebackup/bin/cbsrv status
Stop the backup service.
sudo /opt/cubebackup/bin/cbsrv stop
Start the backup service.
sudo /opt/cubebackup/bin/cbsrv start
Restart the backup service.
sudo /opt/cubebackup/bin/cbsrv restart