EV_INDEX_LOCATION selection able to only backup open or close index?
We are using NBU 7.1 and EV 10, I checked the NBU EV agent document, the EV_INDEX_LOCATION only able to backup all the indexes within a site.
Is there any configration can be done to make it only back open indexes or close indexes?
The reason is our index and vault store partition are on the same LUN, once the partition closed, the index also will be closed. Once the new partition opened, the new index location also will be opened.
The backup schedule for closed index and open index is different.
Thank you.
If the file bpstart_notify.bat exists in the netbackup\bin\ directory on the client then what ever is in it gets run before the backup starts (similaly the bpend_notify.bat at the end of the backup)
So you can put anything you like in it, just like any bat file.
If you do run multiple streams then it gets run for every stream so is an issue.
Based on your thinking then you may want to do the following:
1. create a bpstart_notify.evtrigger.bat with all of your commands in
2. create a policy named evtrigger that just backups up something like c:\ev.txt
Have your vault partition, vault index and SQL backup policies created ready to run but with no scheduled windows
3. in your batch file run your queries, put EV into backup mode and then run the following, selecting the policy and schedule name according to your results:
bpbackup -i -p policyname -s schedulename -w
The -w makes it wait for the command to complete before moving on (and backing up your text file so that the backup completes)
When it completes it needs to have the bpend_notify.evtrigger.bat in which you can take EV out of backup mode.
You will need the ev server adding to the Master Servers Host Properties - Servers list to allow it to do this and will also need to max out the bpstart_notify timeout on the Master and Media Servers - again Host Propeties - Timeouts tab
Hope this gives you some ideas