Unsolved
This post is more than 5 years old
326 Posts
0
1421
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
ble1
14.3K Posts
0
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).
Thierry101
326 Posts
0
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
ble1
14.3K Posts
0
October 3rd, 2013 01:00
I was not referring to GUI - more CLI. For example:
The size above is in bytes.
MoinMansuri
147 Posts
0
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.