Loading...

setSubclientFilter

Scope

Intended Audience
All X
CommVault Internal  
CE/System Test  
Development  

Platform

  • CommServer (Database: CommServ)

Release

  • 11.0.0

Description

Qscript is used to set the contents, filters and exceptions of file system subclients and subclient policies.


Usage: For FSSubclient


qoperation execscript -sn SetSubclientFilter.sql -si [p=contents | f=filters | e=exceptions] -si [delimiter] -si [o=y | o=n] -si c=clientname -si a=IDA name -si b=backupsetname -si s=subclientname


Usage: For SCPolicy


qoperation execscript -sn SetSubclientFilter.sql -si [p=contents | f=filters | e=exceptions] -si [delimiter] -si [o=y | o=n] -si scp=subclient policy name -si S=Subclientname


Example:


1) Set contents for FSSubclients:


  • qoperation execscript -sn setSubclientFilter -si p=D:\txtfiles;D:\textfiles -si ; -si o=y -si c=Client1 -si a=Q_FILESYSTEM -si b=backup1 -si s=subcli1
     
  • 2) Set filters for FSSubclients:


  • qoperation execscript -sn setSubclientFilter -si f=D:\txtfiles\newtxtfiles -si ; -si o=y -si c=Client1 -si a=Q_FILESYSTEM -si b=backup1 -si s=subcli1
     
  • 3) Set exceptions for FSSubclients:


  • qoperation execscript -sn setSubclientFilter -si e=D:\txtfiles\newtxtfiles\input.txt -si ; -si o=y -si c=Client1 -si a=Q_FILESYSTEM -si b=backup1 -si s=subcli1
     
  • 4) Set contents for subclient policy


  • qoperation execscript -sn setSubclientFilter -si p=D:\txtfiles;D:\textfiles -si ; -si o=n -si scp=test1 -si s=mytest
     
  • 5) Set filters for subclient policy


  • qoperation execscript -sn setSubclientFilter -si f=D:\txtfiles\newtxtfiles -si ; -si o=n -si scp=test1 -si s=mytest
     
  • 6) Set exceptions for SCPOlicy


  • qoperation execscript -sn setSubclientFilter -si e=D:\txtfiles\newtxtfiles\input.txt -si ; -si o=n -si scp=test1 -si s=mytest
     
  • 7) Set contents with wildcard characters


  • qoperation execscript -sn setSubclientFilter -si p=D:\txtfiles;D:\textfiles -si ; -si o=y -si c=Client1 -si a=Q_FILESYSTEM -si b=backup1 -si s=subcli1
     
  • Note:


  • o=y indicates the previous contents to be overwritten.
     
  • o=n indicates the previous contents will not be overwritten. The added contents will be appended to the existing list
     
  • Usage

    For file system subclient, qoperation execscript -sn SetSubclientFilter.sql -si [p=contents | f=filters | e=exceptions] -si [delimiter] -si [o=y | o=n] -si c=clientname -si a=IDA name -si b=backupsetname -si s=subclientname


    For subclient policy, qoperation execscript -sn SetSubclientFilter.sql -si [p=contents | f=filters | e=exceptions] -si [delimiter] -si [o=y | o=n] -si scp=subclient policy name -si s=Subclientname


  • script_name: setSubclientFilter
     
  • Set content / wildcarded content / filters /exception to filter in a file system subclient and subclientpolicy.
     
  • Version


  •  
  • 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.