Skip to main content

Friends,

 

We have a change of retention for the backup data of a set of VM backups: we don’t need the month and year backups anymore.

The retention was never changed within our Plans, but we only stopped to make the monthly and yearly backups, so it’s not changing the aging process, because the existing month and yearly backups will stay with their current duration.

 

Now we want to delete these monthly and yearly backups, but I can’t find a how...

We prefer to do this via Rest-API calls if possible, as we speak about a lot of VM….

 

Can anyone help us with this?

 

Thanks in advance, Maurice

Hi @DUO-CSR 

To delete specific VM backups using the REST API in Commvault, you can follow these steps:

1. Identify the backup jobs you want to delete by retrieving their job IDs. Use the Get Job API to list the jobs and filter them based on your criteria (e.g., monthly and yearly backups).
2. Once you have the job IDs, use the Delete Job API to delete each job. This API requires the job ID as a parameter.

Here are the relevant API documentation links for these operations:
-Get Job
-Delete Job

Let me know if you have any questions.

 

Thanks,

Keshika


Reply