Skip to main content
Solved

starting backup copy via powershell or REST

  • 12 February 2024
  • 6 replies
  • 72 views

Forum|alt.badge.img+5

Hi,

unfortunately, CV has a bug in relation to schedules and CV Support has not yet been able to provide a solution. As there is no end in sight I am currently building a workaround. I am desperately looking for a way to trigger a backup copy via PowerShell (if necessary via REST) or to start the corresponding schedule (is deactivated due to the error). Is there an idea for this?

 

Best regards

Best answer by Gseibak

@dcvadmin - there is an API to run a backup copy - https://api.commvault.com/docs/SP32/api/cv/OpenAPI3/run-backup-copy

View original
Did this answer your question?

6 replies

Forum|alt.badge.img+11
  • Vaulter
  • 115 replies
  • Answer
  • February 12, 2024

Onno van den Berg
Commvault Certified Expert
Forum|alt.badge.img+19
  • Commvault Certified Expert
  • 1200 replies
  • February 13, 2024

@dcvadmin did you ran into the issue after an upgrade / update? Would it be possible to move away from a schedule and migrate to a plan, even though the schedule should work of course. Did you try to create a separate standalone backup copy schedule? 


Forum|alt.badge.img+5
  • Author
  • Byte
  • 14 replies
  • February 13, 2024

@Onno van den Berg yes the issue starts after upgrading from 11.28 to 11.32. The schedule policy was created is part of a plan. The problem is that there seems to be a problem in 11.32 (case is also already with the developers) if a limit is set in the schedule so that max. 1 backup copy job of this storage policy may run simultaneously. This is simply ignored in 11.32. It does not only affect one schedule! The limitation is required because otherwise there will be resource bottlenecks.


Forum|alt.badge.img+5
  • Author
  • Byte
  • 14 replies
  • February 13, 2024

@Gseibak Thanks!  Is this new in SP32? I had used my old link (REST API for SP28) Ind there was no similar option


Onno van den Berg
Commvault Certified Expert
Forum|alt.badge.img+19
  • Commvault Certified Expert
  • 1200 replies
  • February 13, 2024

No, the functionality was already there to kick off a backup copy in Command Center and everything in Command Center is kicked of through API calls. 

I assume you changed the amount of streams from the CommCell console as there is no option currently to limit the amount of concurrent backup copies within Command Center, right?


Forum|alt.badge.img+5
  • Author
  • Byte
  • 14 replies
  • February 13, 2024

@Onno van den Berg no, nothing was changed! There is an option in the schedule policy (console) to limit the amount of concurrent backup / backup copies. And in 11.28 it worked without problems … only 1 backup copy at a time from this plan … And this oportunity is mandatory 


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