Solved

Command Line to get subclient content

  • 29 June 2021
  • 6 replies
  • 479 views

Badge +2

Hello

 

Is there a command line that i can use to get the content of a subclient?

Have try using this but it returns a lot more information than i need

https://documentation.commvault.com/commvault/v11/article?p=31566.htm

icon

Best answer by DR92 29 June 2021, 19:17

View original

6 replies

Userlevel 7
Badge +23

Hey, @LLL !  Good question.  Are you pulling this for Hyper V VSA clients or is that just the link you found?

We have similar for Windows FS if that’s what you’re after:

https://documentation.commvault.com/commvault/v11/article?p=18668.htm

VSA clients will have far more detail than a plain Windows FS.

Badge +2

have try both. no matter what i just can’t seem to get just the content path back from those xml file.

 

i have try editing the xml file to include <content /> still didn’t work.

Badge +2

when i run this command

qoperation execute -af get_subclient_prop_template.xml -ClientName production -subclientName testbackup

 

i would like it to return just the content path. Not sure if its even possible.

 

    <content path="XXXXXXXXX"/>

Userlevel 7
Badge +23

I’m looking to get someone to join us on this thread to help :nerd:

If you can share here, what DO you get back?

Userlevel 3
Badge +4

Hi @LLL 

 

Although this would basically fetch all of the subclient’s properties, it will filter and display the content paths alone.

 

 

Let me know if this would work for you.

Thanks

Dhiwakar

Badge +2

That is exactly what i wanted, thank you very much!

Reply