Skip to main content

Hi Team

Possible to have one line command or script which can be ran on computer to check if backup is successful or not. This command will help me( probably others too!!) before the installation of windows update. Planning to run as pre-deployment task where patch management software checks if last backup is older then 4 days and its success, then patch installation will proceed or else patch deployment will wait until it see status as success. I think it will work better with exit code. Like Exit code=1;success and Exit Code=0 failure?

In recent time we have see some laptop getting crashed, due to incorrect windows updates applied (restart of laptop by user) and we found that system cannot be restored using restore point since boot files corrupted. 

hello @Govinda ,

you can start backup jobs via the command line and determine the result with exit codes.
https://helpcenter.veeam.com/docs/agentforwindows/userguide/backup_cmd.html?ver=60

The Veeam Agent for Linux has a full command line interface. With this CLI you can list backup sessions and get their result…
https://helpcenter.veeam.com/docs/agentforlinux/userguide/ui_overview_cmd.html?ver=60

 

To be honest, I have never tried if the Agent for Windows has some more command line functions as described in the first linked page. Probably there are….


hello @Govinda ,

you can start backup jobs via the command line and determine the result with exit codes.
https://helpcenter.veeam.com/docs/agentforwindows/userguide/backup_cmd.html?ver=60

I have tried relevant commands and did not work as expected. Even tried chatgpt and it did not help.

i think its mostly for VBR side even though in last section it says VAW but only about exit code. Last option will be to check in logs and get the status code. Event ID 190 is success in event viewer 

The Veeam Agent for Linux has a full command line interface. With this CLI you can list backup sessions and get their result…
https://helpcenter.veeam.com/docs/agentforlinux/userguide/ui_overview_cmd.html?ver=60

 

To be honest, I have never tried if the Agent for Windows has some more command line functions as described in the first linked page. Probably there are….

 


Comment