cancel
Showing results for 
Search instead for 
Did you mean: 

Alert on 0 Bytes or 0 File/Folder Backups

shocko
Level 4

Is there a way to alert on zero byte backups or backups that didn't backup anything (i.e. did not backup a file/folder/DB etc.)? I have the Operations Manager Product if that helps! :)

PS: New to Netbackup as an admin (coming from DevOps/Security backgound) so excuse any NOOB questions!

3 REPLIES 3

sdo
Moderator
Moderator
Partner    VIP    Certified

Hi and welcome.  The problem with alerting for zero byte incremental and differential backups is that they can be genuine case.  Admitedly, also zero byte full backups can be genuine but are less likely to be.  As for detecting if a folder/folder/DB is missing from a backup then you would need to develop your own custom application/utility/tool for yourself to post-process backup listings on the Master Server and yet also still somehow contact backup clients and walk their file-systems remotely and interact with thier DB products remotely to query lists of DB - to determine if anything was missed.  The code would need to handle whether it was checking a full backup or an incremental backup or a differential backup, and so would need to handle dates and times - but your run/check/compare would need to start and complete before the next backup and before any users/database update any files otherwise the timings would all be thrown and you would end-up reporting false negatives.

Yes, you should be able to generate a custom backup report in NetBackup OpsCenter to list and report zero byte backups.

andrew_mcc1
Level 6
   VIP   
Not an alert but the regular OpsCenter Backup Job Size Variance report should pick up zero byte backups.

Andrew

Genericus
Moderator
Moderator
   VIP   

depending, you may get an error 71 if there is nothing to backup.

I actually place a touch file named "Nothing Mounted" so the backup finds sometinhg even if the mount point is empty, and I alert on these 16K backups. 

I have my OPS staff disregard the error 71 since they are too often not an issue.

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