Loading...

CreateOperationWindowRule

Scope

Intended Audience
All X
CommVault Internal  
CE/System Test  
Development  

Platform

  • CommServer (Database: CommServ)

Release

  • 11.0.0

Description

Script to create Operation window rule


qoperation execscript -sn createoperationwindowrule -si ClientName/ClientGroupName/commserve -si OperationType -si DayofWeek -si Startdate -si Enddate -si StartTime -si EndTime -si Enable -si ApplicationName -si Description


Where (ClientName/ClientGroupName/commserve) would be 'c=testclient' for client name OR 'cg=testGroup' for client group name OR 'commserve'


OperationType Operation types are 'all / backup / restore / admin'


DayOfWeek Day of the week are comma separated[Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday]


StartDate Format is MM-DD-YYYY


EndDate Format is MM-DD-YYYY


StartTime Format is 24 hrs HH:MM


EndTime Format is 24 hrs HH:MM


Enable true/false


ApplicationName Optional parameter, Application name


Description Optional parameter, Description of Operation Window


Example:


Create operation window at commserve level with restore operation


qoperation execscript -sn createoperationwindowrule -si 'commserve' -si 'restore' -si 'Tuesday, Thursday, Saturday' -si '04-20-2012' -si '04-21-2013' -si '09:00' -si '18:00' -si true -si '' -si 'Test Description, commserve restore'



Create operation window at client level with backup operation


qoperation execscript -sn createoperationwindowrule -si 'c=clientname' -si 'backup' -si 'Monday, Wednesday, Friday' -si '04-20-2012' -si '04-21-2013' -si '09:00' -si '18:00' -si true -si '' -si 'Test Description, client backup'



Create operation window for a client group with all operations


qoperation execscript -sn createoperationwindowrule -si 'cg=clientgroupname' -si 'all' -si 'Monday' -si '04-20-2012' -si '04-20-2013' -si '09:00' -si '18:00' -si true -si '' -si 'Test Description, client group all operation'



Create operation window at client level with restore operation for File system


qoperation execscript -sn createoperationwindowrule -si 'c=clientname' -si 'restore' -si 'Tuesday, Thursday, Saturday' -si '04-20-2012' -si '04-21-2013' -si '09:00' -si '18:00' -si true -si 'File system' -si 'Test Description, client restore'



  • GUI will show operation window on successful creation from commandline.
     
  • Usage

    qoperation execscript -sn createoperationwindowrule -si ClientName/ClientGroupName/commserve -si OperationType -si DayofWeek -si Startdate -si Enddate -si StartTime -si EndTime -si Enable -si ApplicationName -si Description


    Where (ClientName/ClientGroupName/commserve) would be 'c=testclient' for client name OR 'cg=testGroup' for client group name OR 'commserve'


    OperationType Operation types are 'all / backup / restore / admin'


    DayOfWeek Day of the week are comma separated[Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday]


    StartDate Format is MM-DD-YYYY


    EndDate Format is MM-DD-YYYY


    StartTime Format is 24 hrs HH:MM


    EndTime Format is 24 hrs HH:MM


    Enable true/false


    ApplicationName Optional parameter, Application name


    Description Optional parameter, Description of Operation Window


    Example:


    qoperation execscript -sn createoperationwindowrule -si 'c=clientname' -si 'backup' -si 'Monday, Wednesday, Friday' -si '04-20-2012' -si '04-21-2013' -si '09:00' -si '18:00' -si true -si '' -si 'Test Description, client backup'


    qoperation execscript -sn createoperationwindowrule -si 'c=clientname' -si 'restore' -si 'Tuesday, Thursday, Saturday' -si '04-20-2012' -si '04-21-2013' -si '09:00' -si '18:00' -si true -si 'File system' -si 'Test Description, client restore'


    qoperation execscript -sn createoperationwindowrule -si 'commserve' -si 'restore' -si 'Tuesday, Thursday, Saturday' -si '04-20-2012' -si '04-21-2013' -si '09:00' -si '18:00' -si true -si '' -si 'Test Description, commserve restore'


    qoperation execscript -sn createoperationwindowrule -si 'cg=clientgroupname' -si 'all' -si Saturday -si '04-20-2012' -si '04-20-2013' -si '09:00' -si '18:00' -si true -si '' -si 'Test Description, client group all operation'


  • script_name: createoperationwindowrule
     
  • Create operation window rule
     
  • 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.