11-19-2010 05:09 AM
Hi
Hope someone can help!
Having just switched our EV backups to Netbackup flashbackups, we are getting greatly increased backup throughput. All very nice. However doing backups in this way doesn't reset the archive bit so the safety copies aren't being removed. If I could work out the Netbackup command for querying the backup status, I could add it to the bpend_notify.bat file and then run an attrib command to reset the archive bits if a status 0.
I can see that I have the option there to use IgnoreArchiveBitTrigger, but as far as I can tell, you still have to query Netbackup to determine if the backup ended successfully - ultimately the same problem.
Am I missing something obvious here? Is there a way to use flashbackups without having to resort to setting the store to remove safety copies immediately after archiving.
Thanks
11-19-2010 05:17 AM
11-19-2010 06:51 AM
I could be wrong, but I'm pretty sure that bpend_notify gets called regardless of the status of the job. However you're right about the ignorearchivebittrigger being faster than running attrib against a whole load of files.
I've just been reading the Netbackup admin guide and it seems that Netbackup returns the status code of the job to bpend_notify. So if I just query for %5 within the job it should be nice and easy. Will try that and see how I get on....
Thanks again.