How To Cancel SLP 1000 Images nbstlutil cancel using script in windows
Hi
Our Mission is to cancel a list of more than 1000 images called in SLP.
I Found one post atatched below of Marraine. calling script in linux, to delete images from txt file.
Can any one help me to change this script in Windows
i have made this script , help me that where is the mistake
FOR %%G IN "echo C:\Users\dveribackup\Documents\old_slp_images_dec18.txt" DO D:\Program Files\Netbackup\bin\admincmd\nbstlutil cancel -backupid %%G
https://vox.veritas.com/t5/NetBackup/SLP-Images-Removel/td-p/694925
You will need to identify the jobs that you want to cancel, compile a list of backup-id's, then cancel them with this command:
nbstlutil cancel -backupid <backupid>
You can add the list of backup id's to a text file (e.g. /tmp/image.txt), then cancel them using a 'for' loop:
for i in `cat /tmp/image.txt`
do
nbstlutil cancel -backupid $i
done
Great
i have ran the below command , and successfully able to delete all the images before 8 dec 2018
nbstlutil cancel -lifecycle DD_Repli_SLP -before 12/08/2018