cancel
Showing results for 
Search instead for 
Did you mean: 

Verifying hundred backup jobs every day

Fabian_Schwarz
Level 4

Hi,

Is there any easy way to verify hundreds of NetBackup Jobs ?

Is there any tool to make this task ?

I´m using NBU in Linux.

1 ACCEPTED SOLUTION

Accepted Solutions

Andy_Welburn
Level 6

Trust what NetBackup is telling you as far as you can.

Pick a representative sample of your backups on a regular basis & test a restore

From the man page of bpverify:

"...
bpverify verifies the contents of one  or  more  backups  by
reading  the  backup volume and by comparing its contents to
the NetBackup catalog. This operation does not  compare  the
data  on  the  volume  with the contents of the client disk.
However, it does read each block in the image,  which  veri-
fies  that  the  volume is readable. NetBackup verifies only
one backup at a time and tries to minimize media mounts  and
position time.
..."

So it compares the image on the tape with what it has in the catalog & that it is readable - it does not mean that it'll be able to restore it at the end of the day.

View solution in original post

6 REPLIES 6

Yasuhisa_Ishika
Level 6
Partner Accredited Certified

Here is a short sample verifying backups taken in last 24 hours.

# bpimagelist -hoursago 24 | grep ^IMAGE | cut -f 6 -d " " | while read bid;do bpverify -backupid $bid;echo "Verify for $bid: $?";done

Marianne
Level 6
Partner    VIP    Accredited Certified

Please have a look at this discussion:

https://www-secure.symantec.com/connect/forums/questions-setting-verification-jobs

Our advice in this post was to 'trust the NBU status codes'.

Rather schedule regular restore tests - that is the best way to REALLY confirm that your backups were successful.

Zahid_Haseeb
Moderator
Moderator
Partner    VIP    Accredited

Select all jobs from catalog and do it on OFF time like at night. So in next morning you can see the result. Because of this you tape drives will not busy in office time. 

Anton_Panyushki
Level 6
Certified

Well, you can buy VBR to get user-friendly report. Otherwise, you can write in home shell script for that. Please examine Downloads section for that. You can fetch my own version of that script from here - http://bancal.livejournal.com/35791.html. The explaination is in Russian but the code is quite straightforward.

 

Andy_Welburn
Level 6

Trust what NetBackup is telling you as far as you can.

Pick a representative sample of your backups on a regular basis & test a restore

From the man page of bpverify:

"...
bpverify verifies the contents of one  or  more  backups  by
reading  the  backup volume and by comparing its contents to
the NetBackup catalog. This operation does not  compare  the
data  on  the  volume  with the contents of the client disk.
However, it does read each block in the image,  which  veri-
fies  that  the  volume is readable. NetBackup verifies only
one backup at a time and tries to minimize media mounts  and
position time.
..."

So it compares the image on the tape with what it has in the catalog & that it is readable - it does not mean that it'll be able to restore it at the end of the day.

Zahid_Haseeb
Moderator
Moderator
Partner    VIP    Accredited

HI Fabian. Do you only want to verify that your Backup is intact. means its readable from tape so you can only verify the backup image via bpverify command.

As ANDY says

""""However, it does read each block in the image,  which  veri-

fies  that  the  volume is readable.""""

but it does not do the below

""""This operation does not  compare  the

data  on  the  volume  with the contents of the client disk.""""

 

If you want to verify the content you must make a practice to do restore to check your data (i know its may be to time comsuming)