cancel
Showing results for 
Search instead for 
Did you mean: 

nbstl command

rookie11
Moderator
Moderator
   VIP   

NBU master, media 7.6, client (file server) win OS 7.6 it contains around 8TB data. Backup, duplication then AIR duplication is not a issue here.original SLP: SLP_houstonmaster_5220_torontomaster.-U

backup                         stu_disk_houvnb Default_24x7_Win Expire After Copy
 duplication                   stu_houvnb5220 Default_24x7_Win Fixed
  replication to remote master *Remote*Master Default_24x7_Win Fixed
Above SLP has 3 different versions. Latest changes made and current version is 3. I want to modify old version of SLP so that backup images assosciated with it go to different NBU appliance on duplication step.

new steps should be . but i am unable to do via command line. command guide on clear on last step of AIR replication(different nbu domain).

backup                         stu_disk_houvnb Default_24x7_Win Expire After Copy
 duplication                   stu_houvnb5220new Default_24x7_Win Fixed
  replication to remote master *Remote*Master Default_24x7_Win Fixed

nbstl -modify_version version 2 ??????????????????

 

2 REPLIES 2

Genericus
Moderator
Moderator
   VIP   

Here are nbstl commands I have used successfully:

List of versions for SLP:     nbstl SLPNAME -U -all_versions
 

Modify SLP version - the trick is you have to enter values for every stupid step, even the ones you do not want to change!

So for each value of uf, residence, pool, etc you have to put in values for each step. NOTE the original backup will often be __NA__,  because you use  __NA__ for no value.

This one has two steps, so it has two values for each variable. You will need 3 values for each variable (-dp, -uf, etc.)

nbstl SLPNAME -modify -v -dp PRIORITY -uf 0,1 -residence STORAGE1,STORAGE2 -pool POOL1NAME,POOL2NAME -server_group SERVERGROUP1NAME,SERVERGROUP1NAME -man
aged 0,0 -mpx F,F -rl 0,9 -as __NA__,ALT.READ.SERVER2 -source 0,1

 

You need to update the SLPNAME to SLP_houstonmaster_5220_torontomaster I assume.

You will need to change -modify to -modify_version #, put in the PRIORITY, etc.

Add -target_master  __NA__ ,  __NA__ , REMOTEMASTER

NOTE: A used_for value of 3 (duplication to remote master) requires a residence value of "__NA__".
 

Start with this command: nbstl SLP_houstonmaster_5220_torontomaster -U

It will list out values for each Operation

 

Good Luck!

 

NetBackup 9.1.0.1 on Solaris 11, writing to Data Domain 9800 7.7.4.0
duplicating via SLP to LTO5 & LTO8 in SL8500 via ACSLS

rookie11
Moderator
Moderator
   VIP   

thanks Genericus. but job is still not done. sad

nbstl SLP_houstonmaster_5220_torontomaster -modify_version -version 3 -residence stu_disk_houvnb, stu_houvnb5220new, __NA__ -rl 9, 4, 3 -target_master __NA__ , __NA__, torontomaster

Exit status: 144(invalid command usage) - string list format error

2nd attempt: nbstl SLP_houstonmaster_5220_torontomaster -modify_version -version 5 -dp 100, 100, 100 -uf 0, 1, 3 -managed 2, 0, 0 -residence stu_disk_houvnb, stu_houvnb5220new,  __NA__ -rl 9, 4, 3 -target_master __NA__ , __NA__, l4snbms1 -target_importslp SLP_houstonmaster_5220_torontomaster

Exit status: 144(invalid command usage) - numeric value format error

command have no explanation related to -target_master, -target_importslp ??????????/

Can someone list more examples or point our mistake