Question

Task status verification via Postprocess scripts/CommandLine

  • 12 December 2022
  • 2 replies
  • 89 views

Userlevel 4

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


2 replies

Userlevel 6
Badge +12

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?   

Userlevel 5
Badge +13

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