cancel
Showing results for 
Search instead for 
Did you mean: 

SLP scheduling

liuyang
Level 6
Partner Accredited

Hi, I have a question regarding SLP:

Can I set schedule for duplication in SLP?

I think in NBU version 7 it cannot be done. I would like to know if it can be done in NBU 7.1 or 7.5.

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

mph999
Level 6
Employee Accredited

Parameters can be entered into the LIFECYCLE_PARAMETES file , for example to make it run 'small' duplication jobs every xx minutes, however, I suspect you are talking about stopping the SLP until for example, the evening.

There is a parameter file that controls when the SLP will run a duplication, but this is not designed to be editted and  it is not documented to do so.

The general way people control when SLPs run, is to deactivate them using the nbstlutil command, and then reactivate them when you want them to run.  This can be done using either the unix cron command or windows scheduler.

 

usage: nbstlutil operation_name [options]
 
   -- activate lifecycle operations on selected image copies
   active [-wait | -force]
          [[-lifecycle <name> [-destination <name>] [-version number]] | -backupid <id_value>]
 
   -- inactivate future lifecycle operations on selected image copies
   inactive [-wait | -force]
            [[-lifecycle <name> [-destination <name>] [-version number]] | -backupid <id_value>]
 

Martin

View solution in original post

4 REPLIES 4

mph999
Level 6
Employee Accredited

Parameters can be entered into the LIFECYCLE_PARAMETES file , for example to make it run 'small' duplication jobs every xx minutes, however, I suspect you are talking about stopping the SLP until for example, the evening.

There is a parameter file that controls when the SLP will run a duplication, but this is not designed to be editted and  it is not documented to do so.

The general way people control when SLPs run, is to deactivate them using the nbstlutil command, and then reactivate them when you want them to run.  This can be done using either the unix cron command or windows scheduler.

 

usage: nbstlutil operation_name [options]
 
   -- activate lifecycle operations on selected image copies
   active [-wait | -force]
          [[-lifecycle <name> [-destination <name>] [-version number]] | -backupid <id_value>]
 
   -- inactivate future lifecycle operations on selected image copies
   inactive [-wait | -force]
            [[-lifecycle <name> [-destination <name>] [-version number]] | -backupid <id_value>]
 

Martin

Marianne
Level 6
Partner    VIP    Accredited Certified

Duplication happens automatically and will kick in soon after backup has completed.

You can see default parameters (that can be customized) in Best practice for SLP and AIR : http://www.symantec.com/docs/TECH153154.

NBU 7.5 manuals are already available: http://www.symantec.com/docs/DOC5138

You may want to add your vote to this Idea: https://www-secure.symantec.com/connect/idea/ability-schedule-netbackup-lifecycle-policy-duplications

Marianne
Level 6
Partner    VIP    Accredited Certified

You may want to add your comments to this idea posted by Symantec employee:

https://www-secure.symantec.com/connect/ideas/storage-lifecycle-policies-slp-scheduling-windows-are-coming-help-us-finish-them

Storage Lifecycle Policies (SLP) Scheduling Windows Are Coming!- Help Us Finish Them

Mouse
Moderator
Moderator
Partner    VIP    Accredited Certified

IIRC this feature is scheduled for the NBU 7.6 release, but it still can be controlled. You can use either cron or Windows Task Scheduler to enable and disable secondary operations on SLPs when it is not desired:

1.       List SLPs:

 

a.       nbstl -l

b.      note down the name of the SLP you'd like to disable

2.       Inactivate the SLP in question:

a.       nbstlutil -wait inactive -lifecycle <SLP>

3.       Activate the SLP in question:

a.       nbstlutil -wait active -lifecycle <SLP>