Video Screencast Help

Size of the Restoring data.

Created: 08 Dec 2012 • Updated: 30 Dec 2013 | 7 comments
Nagalla's picture
15 Agree
1 Disagree
+14 16 Votes
Login to vote

 

 
i have been come accross this situation and hope most of the netbackup admin too... at least once,i belive many times...
 
being a netbackup admins we always do the Restore and the general and regular question that we face from the customer is about the restore ETA.( how much time does it take to compleate the restore, most of the times if the restore is critial), when netbackup admin  face this question.. the very first though that he get is... how much of data that he is restoring...? which netbackup never tell....  and we end of with asking customer about the data size or using some scripts to find the size and try to caulate the time
 
my idea is it will be better if , netbackup calculate the size of the files that are selected for restore and displayed in the restore job detail status along with the image id , resource requirements and all..
 
as netbackup stores the file sizes in the image catalog i dont think it would be that much defficult to impliement it.
 
just calculate the size of all selected files and put it in detail status..i belive its pretty easy if that restore is from single image, and if select the Full and incrmental images all togehter..it would need small trick to calculate it.. but still its possible... 
 
it should not be 100% accurate atleast estimated also will work... 
 
i hope most of you agree with this..and expecting you comments, reviews and suggestions.. 

Comments 7 CommentsJump to latest comment

mikent's picture

Hi,

There is a way to see how much data (size, volume ..) has been backup from command Line.

From the master server, please do as follow

1) This command will shows you the day of the backup image, the image expired date, number of backup file adn total size in KB (there are a lot of other switch that you can use, type bpimagelist -help

bpimagelist -policy <policy_name> -hoursago <number> -U

2) This command will shows you the backup ID, the backup date, the number of backuped file, the size in GB and also the scheduled type (full, inc ...). thos data are from the Catalog

bpcatlist -client <client_name> -date <MM DD>

3) The following command will list each files backup from c:\ drive included in an image for a specific client. The switch -t is used to specify the policy type (to have a complete list type bplist --help)

bplist -B -C <client_name> -t <type of client> -R /C | more

you can redirect it to a file for parsing it later like this:

bplist -B -C <client_name> -t <type of client> -R /C > <client_name>.<date>.list

There are much more command but i suggest you to read the complete NetBackup7.5_RefGuide_Commands.pdf

Hope this help ;-))

./Nathan

BR,

Nathan Mike

Senior System Engineer

LPI1-C and CLA-11 Novell Certified Linux Administrator

+320473954944

0
Login to vote
Nagalla's picture

hi Mike,

thank you very much for your suggestions, any way I am aware of this commands.

my intenction to have this reported by the restore job to make backup admain life more easy,

caulacuting this mannally is not possilbe most of the times , specially when you have have less time and applying mulitple image( full and incr) to restore and also more number of files from different locations ..etc.

0
Login to vote
mikent's picture

Hi,

 

Isn't it possible with Opscenter ?

 

./nathan

BR,

Nathan Mike

Senior System Engineer

LPI1-C and CLA-11 Novell Certified Linux Administrator

+320473954944

0
Login to vote
Nagalla's picture

I am really not sure, if Opscenter can give the details about the size , before the actaull restore jobs start writing the data.

Opscenter is again another tool(not sure how many is using this)  and we perfer to get this info in netbackup , activity moniter detail status it self. immediatly as soon as restoere job has been triggred.

 

0
Login to vote
Gary_S's picture

As the BAR GUI has the option of preview of medias reqd. for the restore when we selct the data reqd....In the same way there should be a tab in BAR GUI which will show SIZE of selected files and folders...I thinks its not that difficult for Symantec....!!!

Netbackup Admin (Unix)

0
Login to vote
Pangal's picture

Restore time is critical , it would solve many problems if this is done

0
Login to vote
Deb Techie's picture

Have the same Query and Still Searching for the answer, Please help

0
Login to vote