Skip to main content
Solved

can we do VMware tagging VMs for Nutanix (AHV) backup


Forum|alt.badge.img+13

the customer  uses VMware “tagging” for multiple purposes.  One of those purposes is to inform Commvault as to what VMs to back up and how to back those VMs up.

Best answer by Damian Andre

Allan0105 wrote:
Damian Andre wrote:

Hi @Allan0105,

Unfortunately discovering VMs using tags is not currently possible with AHV.

Right now only VM name and power state are options:

https://documentation.commvault.com/11.24/expert/31626_adding_subclient_content.html

I flagged your post with our product manager for AHV to see if this is something we could consider for the roadmap.

Thanks Damian, is there an way where we can have some script to do this feature for time being ? 

Yes - we have rest API to add VM content to a subclient, where you can just add the VM name(s) to protect. https://api.commvault.com/#6a728d61-6f48-ec3d-398b-bd6f3eb2b157

 

Likewise the Commvault powershell cmdlets has an option to add VM content to a subclient:

https://documentation.commvault.com/11.24/essential/117966_add_cvvirtualmachine.html

 

So using the Nutanix powershell / rest API, you can discover the VMs based on tags, then add those VMs to subclient content using the above methods.

View original
Did this answer your question?

5 replies

Damian Andre
Vaulter
Forum|alt.badge.img+23

Hi @Allan0105,

Unfortunately discovering VMs using tags is not currently possible with AHV.

Right now only VM name and power state are options:

https://documentation.commvault.com/11.24/expert/31626_adding_subclient_content.html

I flagged your post with our product manager for AHV to see if this is something we could consider for the roadmap.


Forum|alt.badge.img+13
  • Author
  • Byte
  • 115 replies
  • June 29, 2022
Damian Andre wrote:

Hi @Allan0105,

Unfortunately discovering VMs using tags is not currently possible with AHV.

Right now only VM name and power state are options:

https://documentation.commvault.com/11.24/expert/31626_adding_subclient_content.html

I flagged your post with our product manager for AHV to see if this is something we could consider for the roadmap.

Thanks Damian, is there an way where we can have some script to do this feature for time being ? 


Damian Andre
Vaulter
Forum|alt.badge.img+23
  • Vaulter
  • 1287 replies
  • Answer
  • June 29, 2022
Allan0105 wrote:
Damian Andre wrote:

Hi @Allan0105,

Unfortunately discovering VMs using tags is not currently possible with AHV.

Right now only VM name and power state are options:

https://documentation.commvault.com/11.24/expert/31626_adding_subclient_content.html

I flagged your post with our product manager for AHV to see if this is something we could consider for the roadmap.

Thanks Damian, is there an way where we can have some script to do this feature for time being ? 

Yes - we have rest API to add VM content to a subclient, where you can just add the VM name(s) to protect. https://api.commvault.com/#6a728d61-6f48-ec3d-398b-bd6f3eb2b157

 

Likewise the Commvault powershell cmdlets has an option to add VM content to a subclient:

https://documentation.commvault.com/11.24/essential/117966_add_cvvirtualmachine.html

 

So using the Nutanix powershell / rest API, you can discover the VMs based on tags, then add those VMs to subclient content using the above methods.


Forum|alt.badge.img+13
  • Author
  • Byte
  • 115 replies
  • June 29, 2022
Damian Andre wrote:
Allan0105 wrote:
Damian Andre wrote:

Hi @Allan0105,

Unfortunately discovering VMs using tags is not currently possible with AHV.

Right now only VM name and power state are options:

https://documentation.commvault.com/11.24/expert/31626_adding_subclient_content.html

I flagged your post with our product manager for AHV to see if this is something we could consider for the roadmap.

Thanks Damian, is there an way where we can have some script to do this feature for time being ? 

Yes - we have rest API to add VM content to a subclient, where you can just add the VM name(s) to protect. https://api.commvault.com/#6a728d61-6f48-ec3d-398b-bd6f3eb2b157

 

Likewise the Commvault powershell cmdlets has an option to add VM content to a subclient:

https://documentation.commvault.com/11.24/essential/117966_add_cvvirtualmachine.html

 

So using the Nutanix powershell / rest API, you can discover the VMs based on tags, then add those VMs to subclient content using the above methods.

Thanks Damian for the help on this 


Forum|alt.badge.img
  • Bit
  • 1 reply
  • January 6, 2025

Hi,

Anyone have a roadmap to the add of this feature (Backup AHV VMs with Tags) ?

For now, we have more option (than 2 years ago), but Tags not yet :
- Browse (Select specific VMs)
- Power state (Select VMs based on a power status)
- Protection domain
- Storage container
- Virtual machine name or pattern

Thanks


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