Updating Selective Copy Options

The following table displays selective copy parameters.

Element

Description

Parent Element

storagePolicyName

Name of the storage policy

StoragePolicyCopy

copyName

Name of the storage policy copy.

StoragePolicyCopy

selectiveRule

Option to specify selective copy rules. Valid values are:

  • SELECTIVE_ALLFULL

  • SELECTIVE_DAY

  • SELECTIVE_WEEK

  • SELECTIVE_MONTH

  • SELECTIVE_QUARTER

  • SELECTIVE_HALFYEAR

  • SELECTIVE_YEAR

  • SELECTIVE_ADVANCED

selectiveCopyRules

weekDayStartsOn

Specify the starting day of the week in which data is eligible to be copied to the selective copy for Weekly Full rule.

Valid values are: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday or Sunday.

selectiveCopyRules

monthStartsOn

Specify the starting day of the month data is to be copied to the selective copy for a monthly full rule.

Valid values are: 1 - 31.

selectiveCopyRules

everyXCycles

Specify that the full backup after the specified number of cycles to be picked to copy.

selectiveCopyRules

everyXHours

Specify that the full backup after the specified number of hours to be picked to copy.

selectiveCopyRules

everyXDays

Specify that the full backup after the specified number of days to be picked to copy.

selectiveCopyRules

everyXWeeks

Specify that the full backup after the specified number of weeks will be picked to copy.

selectiveCopyRules

everyXMonths

Specify that the full backup after the specified number of months will be picked to copy.

selectiveCopyRules

lastFull

Option to specify that the last full backup of the selected time period will be copied from the source copy to this copy.

copyFlags

lastFullWait

Option to specify that the last full backup after the end of the specified time period will be copied from the source copy to this copy.

copyFlags

doNotAutomaticallySelectJobs

Option to disable automatic selection of jobs to copy. When enabled no backups will be copied to the storage policy copy

selectiveCopyRules

moveJobSelectionStartTime

Option to modify the starting time of the selection period.

selectiveCopyRules

Refer to the following table for valid values

Selective Copy Type

Valid Values

First full backup

lastFull = 0, lastFullWait = 0

Last full backup with most recent job if there are no more full backup schedules in current time period

lastFull = 1, lastFullWait =0

Last full backup and wait until the current period is over before selecting a backup for this time period

lastFull = 1, lastFullWait =1

  1. Download the Update_Selective.xml file and save it on the computer from where the command will be executed.

  2. Execute the following commands from the software_installation_directory/Base folder after substituting the parameter values.

    qoperation execute -af download location\Update_Selective.xml -storagePolicyName xxx -copyName xxx

Examples

  • To update the selective copy with the first full backup for the week.

    qoperation execute -af download location\Update_Selective.xml -lastfull 0 -lastFullWait 0 -copyname Copy1 -storagePolicyName SP1 -selectiveRule SELECTIVE_WEEK -weekDayStartsOn XXXXX
  • To update the selective copy with the last full backup with most recent job if there are no more full backup schedules for the month.

    qoperation execute -af download location\Update_Selective.xml -lastfull 1 -lastFullWait 0 -copyname Copy1 -storagePolicyName SP1 -selectiveRule SELECTIVE_MONTH -monthStartsOn XXXX
  • To update the selective copy with the last full backup and wait until the current period is over before selecting a backup for the month.

    qoperation execute -af download location\Update_Selective.xml -lastfull 1 -lastFullWait 1 -copyname Copy1 -storagePolicyName SP1 -selectiveRule SELECTIVE_MONTH -monthStartsOn XXXX
  • Disable automatic selection of jobs to be copied to a selective copy.

    qoperation execute -af download location\Update_Selective.xml -copyName Copy1 -storagePolicyName SP01 -doNotAutomaticallySelectJobs 1
×

Loading...