Skip to main content
Question

Need SQL Query for Client Backup Metadata in CommServe Database”

  • July 22, 2025
  • 1 reply
  • 30 views

Forum|alt.badge.img

I need to create a custom client report. Could you please provide a SQL query for the Commvault CommServe database that retrieves the following information for all clients:
• Client Name
. Workload
. App Type
. Instance
. Backupset
• Subclient Name
• Plan Name 
• Storage Policy Name
• Backup Start Time
• Backup End Time
• Latest available Backup Date for each subclient
. Job Status
. Retention Until 

1 reply

Forum|alt.badge.img+2

Hello ​@Kiran03 

 

The requirement here is to get details of backup for a specific client with the below details,

  • Client Name
  • Workload
  • App Type
  • Instance
  • Backupset
  • Subclient Name
  • Plan Name
  • Storage Policy Name
  • Backup Start Time
  • Backup End Time
  • Latest available Backup Date for each subclient
  • Job Status
  • Retention Until

 

This can be achieved using Backup summary report, please check the below documentation and test the reports feature to see all the required information is available. This report also has options to customize and export in excel formation.

 

Data Views for the Backup Job Summary Report (Web)

https://documentation.commvault.com/v11/essential/data_views_for_backup_job_summary_report_web.html  

 

Customizable options for job details

https://documentation.commvault.com/v11/essential/data_views_for_backup_job_summary_report_web.html#job-details

 

Kindly review this report and let me know if you have any further questions.