Hi,
I have a question. Is there opportunity to administer NetVault Backup via Powershell ? For example, can I acheive from powershell list of backup jobs that was end with success or with warning / with errors ?
Can you help me ?
With regards.
Hi,
I have a question. Is there opportunity to administer NetVault Backup via Powershell ? For example, can I acheive from powershell list of backup jobs that was end with success or with warning / with errors ?
Can you help me ?
With regards.
You can use nvreport utility via poweshell. There is a CLI Reference Guide and you can download that pdf and look for the section 4 - Using the nvreport utility to get the report you want to see.
There are some other commands that could be helpful for you in this guide as well.
Ok, I have made a command, that shows me a jobs from last week with end status. But now I would like also to have a command that will count how many in last week all jobs ends with success or with error. I have command to list me my backup jobs:
\nvreport.exe -class "Defined Jobs" -include "%Type = Backup" -format "%ClientName::25 , %Title::40 , %JobDefinitionId::10"
But this only list me a scheduled backup jobs.
Do you now is this possible from nvreport.exe ? I didn`t find this in CLI Ref Guide.
Ok, I have made a command, that shows me a jobs from last week with end status. But now I would like also to have a command that will count how many in last week all jobs ends with success or with error. I have command to list me my backup jobs:
\nvreport.exe -class "Defined Jobs" -include "%Type = Backup" -format "%ClientName::25 , %Title::40 , %JobDefinitionId::10"
But this only list me a scheduled backup jobs.
Do you now is this possible from nvreport.exe ? I didn`t find this in CLI Ref Guide.
you are not using the correct class, maybe Job History class will work better, you can also use this link with video that will help you better understanding
https://support.quest.com/netvault/kb/81566/how-to-use-nvreport-with-class-video