cancel
Showing results for 
Search instead for 
Did you mean: 

Create Status of Backups report using Command line

Hi All,

How do i create Status of Backup Report using command line?

currently im using the GUI to create this report Daily manually. 

darkbishop_0-1625445494912.png

i would like to change it to run from commandline and attach it to task scheduler so that i don't have to do it manually on daily basis.

Thanks in advance for the help. 

 

Tags (2)
1 Solution

Accepted Solutions
Accepted Solution!

Re: Create Status of Backups report using Command line

Hi @darkbishop 

You should be able to determine the command used by the GUI by inspecting the admin log (you may need to create the directory and possibly increase the logging verbosity. 

That said, it uses the bperror command:
# bperror -l -backstat -s info -X -d <start-time> -e <end-time> -M <master>

Refer to the commands reference guide for more details on the option requirements and how to change things to suirt your requirements. The GUI of course does some additional formatting and filtering before displaying the results.

Cheers
David

View solution in original post

1 Reply
Accepted Solution!

Re: Create Status of Backups report using Command line

Hi @darkbishop 

You should be able to determine the command used by the GUI by inspecting the admin log (you may need to create the directory and possibly increase the logging verbosity. 

That said, it uses the bperror command:
# bperror -l -backstat -s info -X -d <start-time> -e <end-time> -M <master>

Refer to the commands reference guide for more details on the option requirements and how to change things to suirt your requirements. The GUI of course does some additional formatting and filtering before displaying the results.

Cheers
David

View solution in original post