Description
The ManageContentGrouping script is used to edit the content grouping monikers which are helpful while specifying the content of subclient. Monikers may be added/edited/removed. The contents of moniker may be added/deleted/overwritten.
After you create a content grouping moniker, it is available under Content Library when you click Browse in the subclient properties Content tab.
Usage
--For creating content group:
qoperation execscript -sn ManageContentGrouping -si @groupOpType='addContentGroup' -si @groupName='content_group_name'
qoperation execscript -sn ManageContentGrouping -si 'addContentGroup' -si 'content_group_name'
--For editing content group (insert/remove contents to the content group):
qoperation execscript -sn ManageContentGrouping -si @groupOpType='editContentGroup' -si @groupName='content_group_name' -si @contentList='content1,content2,content3' -si @contentListOpType='ADD/DEL/OVERWRITE'
qoperation execscript -sn ManageContentGrouping -si 'editContentGroup' -si 'content_group_name' -si 'content1,content2,content3' -si 'ADD/DEL/OVERWRITE'
--For removing content group:
qoperation execscript -sn ManageContentGrouping -si @groupOpType='delContentGroup' -si @groupName='content_group_name'
qoperation execscript -sn ManageContentGrouping -si 'delContentGroup' -si 'content_group_name'
--For displaying the contents of a content group:
qoperation execscript -sn ManageContentGrouping -si @groupOpType='displayContentGroup' -si @groupName='content_group_name'
qoperation execscript -sn ManageContentGrouping -si 'displayContentGroup' -si 'content_group_name'
--For displaying all the content groups:
qoperation execscript -sn ManageContentGrouping -si @groupOpType='displayAllContentGroups'
qoperation execscript -sn ManageContentGrouping -si 'displayAllContentGroups'
[groupOpType] specifies the operation to be performed on the content group
[groupName] specifies the name of the content group to be added/edited/removed
[contentList] specifies the list of contents to be added/deleted/edited in the group.
[contentListOpType] specifies the operation to be performed on the list of contents. It may be ADD/DEL/OVERWRITE.
When executed, the qscript returns one of the following output:
1 - successful execution
2 - for failed execution.
0 - for all status
Details
- Scope: All
- Platform: CommServe (Database: CommServ)
- Release: 11.0.0
Disclaimer of Warranties
CommVault provides software tools and utilities on an "as is" basis, as a courtesy and convenience to its users, and they may be changed from time to time without notice. These tools and utilities are provided without express, implied, or statutory warranties of any kind. You assume full risk and responsibility for the selection, possession, performance and proper installation and use of the software tools and utilities, and for verifying the results obtained there from. Your use of CommVault software tools and utilities indicates your unconditional acceptance of the above disclaimer.