

"Partial OK" is returned when a command is applied to 2 or more jobs at once and it succeeds for some, but not all of them.īackup jobs can be controlled using "start", "stop", "enable", "disable", "pause", "resume" and "simulate" commands that do what you'd expect them to do.Īs of R77.3 it's possible to "delete" and "unload" backup jobs, whereby "delete" is equivalent to deleting a job via the UI and "unload" is a non-destructive variation of "delete" that merely removes the job from the app's run-time list for the duration of current run.Īs of R79.15 it's also possible to "load" new and "reload" existing jobs.Įach command also takes a job description as parameter:īvckup2.exe -command start "Daily to NAS" Non-negative return codes come from the main bvckup2.exe process, meaning that it got to see the command and responded to it:ġ00 through 106 => backup job status (see below)Ģ00 and 201 => licensing status (see below) 150 => timeout waiting for reply (30 sec) 110 through -130 => can't connect to the process 80 through -100 => can't find the process Negative return codes come from the "bvckup2.exe -command" process: Otherwise it will print a non-zero number, indicating a failure. Meaning "OK" if a job called "test backup" was in fact enabled. For example, if the following script is saved as command.bat:


#BVCKUP 2 2019 WINDOWS#
If you are using a custom configuration folder, then you will need to pass its location using the -c argument:Ĭompletion status of a command is returned as a process exit code, which Windows puts in the %errorlevel% variable. This feature was introduced in Release 70 and several new commands were later added in R74.20 and R76. It is also possible to disable this feature completely. It is possible to lock down the access so that only privileged accounts could access the app through this interface. The app can be controlled from the command line while it's running in both desktop or service mode. For example, it's possible to start a backup job, to check its status or to query whether the app has a valid license. When Bvckup 2 is running, it is possible to control and query the app from command line.
