Description
Use this QScript to modify the 'Exclude From SLA' property for the clients and subclients from an input file.
QScript QS_ListSLAExclusionForSubclients can be used to get the list of subclients in a file. Remove column headers and other information at the top and the bottom of the file. All the lines that do not include client information must be deleted from the text file.
The file should contain below details so as to use it as input to QS_SetSLAExclusionForSubclients.
Format: AppId ClientName AppTypeName InstanceName BackupsetName SubclientName ClientExcluded SubclientExcluded
Example: 2 WinClient Windows File System DefaultInstanceName defaultBackupSet default 0 0
Usage
Modify the 'Exclude From SLA' property for the clients and subclients from an input file. The input file can be created using QS_ListSLAExclusionForSubclients.
script_name: QS_SetSLAExclusionForSubclients
usage: qoperation execscript -sn QS_SetSLAExclusionForSubclients -si FullFilePath -si [Exclude/Include]
Command to set 'Exclude From SLA' property: qoperation execscript -sn QS_SetSLAExclusionForSubclients -si "c:\temp\sla.txt" -si Exclude
Command to remove 'Exclude From SLA' property: qoperation execscript -sn QS_SetSLAExclusionForSubclients -si "c:\temp\sla.txt" -si Include
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.