Skip to main content
Question

How to delete month and year backups

  • November 5, 2024
  • 3 replies
  • 42 views

Forum|alt.badge.img+5

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

3 replies

Forum|alt.badge.img+5

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


Forum|alt.badge.img+5
  • Author
  • Byte
  • 22 replies
  • November 14, 2024

Thank you Keshika,

 

I managed step 1, but unfortunatly the link for “Delete Job” is dead, and I can’t find in the documentation nor by using Google.

Can you please share how the rest call should look like?

 

Thanks a lot, Maurice


Rajiv
Vaulter
Forum|alt.badge.img+12
  • Vaulter
  • 323 replies
  • November 14, 2024

Hello ​@DUO-CSR I think it has been removed due to caution and safety concerns. Can you please try to remove the jobs using qoperation script instead if that helps?

Deleting a Job on a Storage Policy Copy

Best,

Rajiv Singal


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