Start a Conversation

Unsolved

This post is more than 5 years old

1421

September 29th, 2013 13:00

Check/View File/Folder size before NDMP restore?

Hi Folks

Is there really no way to check size before executing ndmp restore? Not knowing will affect the process if destination/filer has lack of space and waste of time.

Backup Central Forums :: View topic - How to identify the size of a file/directory before restore

Thank you

14.3K Posts

September 29th, 2013 23:00

Not directly.  If ssid=folder size, then you can use mminfo. If not (and most likely), you can check via browsable recover and see size of specific backup set (in case of incremental restore you will have to do the math for each ssid in block).

326 Posts

October 2nd, 2013 13:00

Thanks for the reply Horvje

The browsable size doesn't seem right,..for example the GUI size shown 10240 (B/KB/MB? Still doesn't tally anyways) but properties shows 389 MB

14.3K Posts

October 3rd, 2013 01:00

I was not referring to GUI - more CLI.  For example:

recover> pwd

/vol/nXXXX303/XXXX_tst_wli_logs/audit

recover> ll

total 3072

256 -rw-r----- 8002     8002      1212233 Jul 05 2012 XXXX_tst_wli_ms1.log

256 -rw-r----- 8002     8002      5121683 Jul 05 2012 XXXX_tst_wli_ms1.log.1

256 -rw-r----- 8002     8002      5121351 Jul 05 2012 XXXX_tst_wli_ms1.log.2

256 -rw-r----- 8002     8002      5121517 Jul 05 2012 XXXX_tst_wli_ms1.log.3

256 -rw-r----- 8002     8002      5121683 Jul 05 2012 XXXX_tst_wli_ms1.log.4

256 -rw-r----- 8002     8002      5121849 Jul 05 2012 XXXX_tst_wli_ms1.log.5

256 -rw-r----- 8002     8002      1088704 Jul 05 2012 XXXX_tst_wli_ms2.log

256 -rw-r----- 8002     8002      5121351 Jul 05 2012 XXXX_tst_wli_ms2.log.1

256 -rw-r----- 8002     8002      5121185 Jul 05 2012 XXXX_tst_wli_ms2.log.2

256 -rw-r----- 8002     8002      5121185 Jul 05 2012 XXXX_tst_wli_ms2.log.3

256 -rw-r----- 8002     8002      5121351 Jul 05 2012 XXXX_tst_wli_ms2.log.4

256 -rw-r----- 8002     8002      5121185 Jul 05 2012 XXXX_tst_wli_ms2.log.5

The size above is in bytes.

147 Posts

October 9th, 2013 23:00

Not Direct way, But below will be help full for you:


recover –c client name –s destination server name –iR



cd /path/to/your/dir


add # whatever
files you want to restore.


and then use


list -l


and save the output to an external file(excel) and sum the sizes from that.

No Events found!

Top