Skip to main content
Solved

Task status verification via Postprocess scripts/CommandLine

  • December 12, 2022
  • 2 replies
  • 99 views

Hello Commvault Community,

 

There was a need to verify the completed backup tasks, and precisely to check from the CommandLine level or Postbackup scripts what status the last backup job ended with.

 

Here the question arises, will Postbackup scripts work only for backup jobs that end with the Completed status, or for all statuses equally? If for all, will we be able to use CommandLine or Postbackup scripts to check the status of the backup task and maybe some other detailed information?

 

We need it when protecting databases using FileSystem (database files sent to a VM in the form of a file, and protected there using File System Agent).

 

Thanks&Regards,
Kamil

Best answer by Sunil

Hi @Kamil 

Post backup operation runs for all job statuses. But you can run the script conditionally by checking the job status. More information can be found in the below community thread.

 

Thanks,

Sunil-

View original
Did this answer your question?

2 replies

MFasulo
Vaulter
Forum|alt.badge.img+12
  • Vaulter
  • 175 replies
  • December 12, 2022

Kamil, can you define the use case and the end result of what we are trying to achieve?  From there we can make suggestions.    Is there a reason we are using dump and sweep vs appaware or DB agent based protection?   


Sunil
Vaulter
Forum|alt.badge.img+13
  • Vaulter
  • 300 replies
  • Answer
  • December 12, 2022

Hi @Kamil 

Post backup operation runs for all job statuses. But you can run the script conditionally by checking the job status. More information can be found in the below community thread.

 

Thanks,

Sunil-


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings