UNSOLVED

ringo661

updated

20 years ago

R

ringo661

17 Posts

0

591

February 14th, 2007 09:00

estiamte size of data to be recovered

I have to go back to dec 30 and recover some data the question is how can i tell how much data will be recovered. (file server space issue) Networker 7.2.2 on Redhat 9 (Shrike)

-Gerardo
  • vsemaska

    194 Posts

    231

    0

    Posted February 14th, 2007 10:00

    Gerardo,

    You could run nwrecover, selected the files to recover, and let it start. The 1st thing it'll do is give you an estimated amount of space. At that point you can 'Cancel' out to abort the recover.

    Vic
  • ringo661

    17 Posts

    231

    0

    Posted February 14th, 2007 10:00

    I want to restore files from feb 4 2007 to today... how do i do that?
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    231

    0

    Posted February 14th, 2007 12:00

    It really depends on what data you wish to recover. If you are talking about whole saveset then with mminfo you can see the size and sum that up. If we are talking about certain files you should browse those and see how much data you will get.

    For each backup you will need to change browse time probably to get everything you want in case you decide for browsing approach.
  • vsemaska

    194 Posts

    231

    0

    Posted February 14th, 2007 12:00

    To find the size of certain files for multiple days you could use the nsrinfo command with the -v option and grep the output for the filenames. Look at the manpage for nsrinfo for proper syntax. Something like:

    nsrinfo -v | grep -e 'file1' -e 'file2'

    Vic
  • ringo661

    17 Posts

    231

    0

    Posted February 14th, 2007 12:00

    the problem is that when i ask for the files from Feb 4 to Feb 14 I get tapes from oct 20, 2006 under Volumes... all i want is the files from Feb 4 to Feb 14 in directory /data
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    231

    0

    Posted February 14th, 2007 13:00

    That would 10 days... how big is your backup cycle (I ask this as that could be related to volumes story)? Also, is /data directory or file system (mnt)? To get quick idea of what volume would be required you could grep daemon log for saveset name under which /data was saved. However if some data didn't changed some previous backups might be requested too (as I assume you had incrementals for that period).