cancel
Showing results for 
Search instead for 
Did you mean: 

Netbackup: no entity was found[227] when restoring a single file/directory from Instant Recovery for VMware using bprestore

zfardea
Level 3

I have a successful image created with Instant Recovery for VMWare. I'm able to recover the entire server successfully with nbrestorevm. Now I'm trying to recover a single file, and consistently failing with "no entity was found[227]". I tried a bunch of command variations, all of them failed the same 227 error:

bprestore -p MB-VMW-02 -C vr2-002 -s 02/03/2015 "/C/SysInternals"
bprestore -p MB-VMW-02 -C vr2-002 -s 02/03/2015 "C:\SysInternals"
bprestore -p MB-VMW-02 -C vr2-002 -s 02/03/2015 "/C/SysInternals/accesschk.exe"
bprestore -p MB-VMW-02 -C vr2-002 "/C/SysInternals"

bprestore -C vr2-002 "/C/SysInternals"
bprestore -C vr2-002 -D nbu76-vr2-03.acme.com "/C/SysInternals"

Trying to troubleshoot this I ran both pblist and bpimagelist, which seem to show that the file is available for recovery:

bplist -k MB-VMW-02 -t 40 -C vr2-002 -s 02/03/2015 -Listpolicy "/C/SysInternals/accesschk.exe" 

326976 0 0 0 326976 19833 39734 -1 1 32768 user group 326976 1423140423 1363081377 1332315138 1363081377 0 9 MB-VMW-02 35 C:\SysInternals\accesschk.exe 1 0 1

bpimagelist -l -policy MB-VMW-02 -client vr2-002 -d 02/03/2015:

IMAGE vr2-002 0 0 10 vr2-002_1423140423 MB-VMW-02 40 *NULL* root Full 0 1 1423140423 1205 1424350023 0 0 7215131 73639 1 2 0 MB-VMW-02_1423140423_FULL.f *NULL* *NULL* 0 1 0 0 0 *NULL* 0 0 1 0 0 1423140423 1423140423 *NULL* 0 0 0 *NULL* 112 0 0 11610142 0 0 *NULL* *NULL* 0 1423140408 0 0 *NULL* *NULL* 0 0 0 0
HISTO 0 0 0 0 0 0 0 0 0 0
FRAG 1 -1 11338 30 0 0 0 D:\NB-Folder\vr2-002_1423140423_C1_TIR nbu76-vr2-03.acme.com 262144 0 0 -1 0 nbu76-vr2-03.acme.com 1424350023 0 65537 0 0 0 1 0 1423141628 1 1 *NULL* *NULL* 0 0
FRAG 1 1 7203793 0 0 0 0 D:\NB-Folder\vr2-002_1423140423_C1_F1 nbu76-vr2-03.acme.com 262144 0 0 -1 0 nbu76-vr2-03.acme.com 1424350023 0 65537 0 0 0 1 0 1423141628 1 1 *NULL* *NULL* 0 0

Am I doing something wrong here?

1 ACCEPTED SOLUTION

Accepted Solutions

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Try add

-t 40 to indicate its vmware policy

View solution in original post

6 REPLIES 6

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Try add

-t 40 to indicate its vmware policy

zfardea
Level 3

The problem is not that the backup image isn't found with bpimagelist or bplist - it is, as can be seen in the outputs of these commands posted above. So adding -t to these commands doesn't make a difference.

What's wrong is that bprestore doesn't find the image even though bplist and bpimagelist can easily find it. Any ideas on what I can change in the bprestore command? Or is restoring a single file/directory just not supported with a vmware snapshot-based backup? I find that very hard to believe.

 

zfardea
Level 3

Oh got it now, I see there is also a -t option for bprestore. I'm away from this setup but will try that ASAP. Thanks!

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Yes, that's what I meant :)

zfardea
Level 3

Works! Thanks Riaan!

Strange that the policy type has to be specified, I would expect the policy name to be enough.

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

bprestore defaults to standard or windows-nt depending on which type of client you restore from.