Video Screencast Help

Size of the Restoring data.

Created: 08 Dec 2012 • Updated: 30 Dec 2013 | 9 comments
Nagalla's picture
23 Agree
2 Disagree
+21 25 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 9 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
Giri_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)

+1
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
Rajkumarmaraka's picture

Hi Ram,

 

 

There is way to find restore file size using B&R window, but to calculate size of restore  we have to do huge manual work that we have  make note of each and every file size in one .zls sheet, if there is any subfolders we have go inside subfolder and need to find files residing inside folder/filesystem as there netbackup doesn’t give folder/filesystem size, this is considerable if there is less filesystems and folders . If there is huge sub filesystems or folders its not possible to calculate manually moreover its waste of time also before you calculate size manually restore also will get it complete J … I have a thought and am expecting this from Symantec to implement in next release version atleast.

In BAR window there should be one Button as shown in below snap in Red color Rectangular box beside history button as shown in pic1 below(attached).

 

 

Once we click on that Button it should popup new window and give only files list residing under selected filesystems as shown in pic2 below as shown in pic2 below(Attached).

 

Now any one can easily calculate files size shown in popup window as copying files into “.xls” sheet and apply appropriate formula for column. Then you can convert into MB or GB whatever you want as netbackup will give you data file size in bytes.

Also we can able to implement one more thought here, create one Button in popup window, when you press on button it should give data size in GB’s.

One more advantage here is if you not required any files to restore you can just uncheck them and calculate size without going to backward /forward.

 

I jsut got this thought and sharing, Your respone with more possibulities is most appriciate......

 

Regars,

Rajkumar

Pic1.JPG pic2.JPG
0
Login to vote
Vara Prasad's picture

Every engineer facing same problem while restoration, customer always asking what is the data size while restoration at that moment we do not have answer , Hopefully  Symantec will provide this option in next release.

0
Login to vote