cancel
Showing results for 
Search instead for 
Did you mean: 

Error restoring file using BPRESTORE command

Arielgr
Level 3

So it's like this, I'm trying to restore a single file using the BPRESTORE command and something is not working.

A little backround:

My master serverv is Win2k8 R2 running 7.6.0.3 . This server also uses as the media server. 

the file is part of an image that is backed up using NDMP.

The Image that I'm restoring from is in the catalog:

<2>bpflist: listing files

Client:            celerra
Peername:          -
Policy:            POLICY_NAME
Backup ID:         celerra_1388275874
Backed up:           12/29/2013 12:11:14 AM (1388275874)
Software Version:  ?
Policy Type:       NDMP (19)
Schedule Type:     FULL (0)
Version:           9

-------------------------------------------------------

Using BPFLIST I was able to see the file in the aformentioned image:

FN=13 L=402944 PL=50 DL=90 BK=0 II=1 RS=0 GB=0 DN=0 P=/root_vdm_1/folder01/folder02/folder03/file.full D=33188 33098 32770 402944 1388230202 1388230202 1388230202 00000000000f3f6d0000000000000026

--------------------------------------------------------

for the restore I'm using the following syntex:


bprestore -B -C celerra -D celerra /root_vdm_1/folder01/folder02/folder03/file.full -p POLICY_NAME -R C:\rename.txt -s 12/29/2013 00:00:00 -e 12/30/2013 00:00:00 -t 19 -L C:\prog_log-01.txt -st FULL

---------------------------------------------------------

the rename file contains the following line:

change /root_vdm_1/folder01/folder02/folder03/file.full to /root_vdm_1/folder01/restore01/restore02/restore03/file.full

Each time I try, I get the same error in the activity monitor:

11/27/2014 12:41:36 PM - begin Restore
11/27/2014 12:41:37 PM - end Restore; elapsed time: 0:00:01
no entity was found(227)

 

So what am I missing here? Any help will be much appreciated.

Thanks!!!

 

1 ACCEPTED SOLUTION

Accepted Solutions

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

try this command see how it works

bprestore -C celerra -D celerra -p POLICY_NAME -f C:\file_list -R C:\rename.txt -s 12/29/2013 00:00:00 -e 12/30/2013 00:00:00 -t 19 -L C:\prog_log-01.txt -st FULL


put below entires in file C:\file_list 

/root_vdm_1/folder01/folder02/folder03/file.full

View solution in original post

5 REPLIES 5

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Have you edited this "-p POLICY_NAME" to hide the policy name or ran it like that?

Nicolai
Moderator
Moderator
Partner    VIP   

I am not sure a rename file work for NDMP. I wil try to investigate 

Have you tried restoring the using the master server GUI ?

Update: The NDMP admin guide did not mention the lack or support for rename files.

Arielgr
Level 3

Riaan, yes it's edited on purpose.

Nicolai, using the GUI works just fine.

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

try this command see how it works

bprestore -C celerra -D celerra -p POLICY_NAME -f C:\file_list -R C:\rename.txt -s 12/29/2013 00:00:00 -e 12/30/2013 00:00:00 -t 19 -L C:\prog_log-01.txt -st FULL


put below entires in file C:\file_list 

/root_vdm_1/folder01/folder02/folder03/file.full

watsons
Level 6

I tried something like this in my Linux master:

 bprestore -C celerra -D celerra -t 19  -s 12/29/13 00:00:00  -L /tmp/restore.log -R /tmp/renamelist  -f  /tmp/restorelist

NOTE:

/tmp/restorelist is the file you want to restore  (say /vol/vol1/test1)
/tmp/renamelist content is:

change /vol/vol1/test1 to /vol/vol1/test1.restore

(this file cannot have additional line after the above)