cancel
Showing results for 
Search instead for 
Did you mean: 

ndmp restores failing

dennis_sexton
Level 5

This doesn't make sense to me. bplist tells me files have been backed up, yet when I try to restore, I get failures on the restores. There

must be some simple concept I'm missing here. netbackup 6.0 mp7 with ndmp option. The tape library is attached to a media server, not

the master.

bplist output

drwxr-xr-x dws       highwire         1024 Mar 02 00:00 /mayhome01/dws/procedures/emc/ns480/
-rw-r--r-- dws       highwire         1495 Mar 02 00:00 /mayhome01/dws/procedures/emc/ns480/data_mover_tip
-rw-r--r-- dws       highwire          787 Mar 02 00:00 /mayhome01/dws/procedures/emc/ns480/ndmp_restore_trouble_shoot
-rw-r--r-- dws       highwire          313 Mar 02 00:00 /mayhome01/dws/procedures/emc/ns480/adding_new_fiber_tray
-rw-r--r-- dws       highwire         7859 Mar 02 00:00 /mayhome01/dws/procedures/emc/ns480/primus_doc_emc138143

bprestore command

##> bprestore -B -C $emccelerrahostname -D $emccelerrahostname -S $masterserver -L /home/dws/cases/calendula/archive_tests/bprest.home1 -t 19 -s 03/02/11 -e 03/02/11 -R /home/dws/cases/calendula/archive_tests/rename /mayhome01/dws/procedures/emc

restore log

 

Restore started 03/09/2011 14:48:13

14:48:18 (2479219.xxx) Media id Z00104 is needed for the restore.
14:48:19 (2479219.xxx) Media id Z00039 is needed for the restore.

14:48:19 (2479219.001) Restoring from image created Wed Mar 02 18:00:00 2011
14:48:24 (2479219.001) INF - If Media id Z00039 is not in a robotic library administrative interaction ma
y be required to satisfy this mount request.
14:48:26 (2479219.001) INF - Waiting for mount of media id Z00039 on server calendula.stanford.edu for re
ading.
14:49:04 (2479219.001) INF - Waiting for positioning of media id Z00039 on server calendula.stanford.edu
for reading.
14:50:05 (2479219.001) INF - Beginning restore from server calendula.stanford.edu to client mayflower.sta
nford.edu.
14:50:07 (2479219.001) INF - Restoring NDMP files from /mayhome01 to /maycontent24
14:50:07 (2479219.001) DAR disabled by host parameters
14:50:08 (2479219.001) Attempting normal restore.
14:56:12 (2479219.001) NDMP restore failed from path /mayhome01
14:57:55 (2479219.001) Status of restore from image created Wed Mar 02 18:00:00 2011 = the restore failed
 to recover the requested files

14:57:56 (2479219.xxx) INF - Status = the restore failed to recover the requested files.
 

3 REPLIES 3

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

You did not give any details about NBU, NAS device or NDMP protocol....

See this extract from TN 267773:

Note on file restore to a different location
When restoring files from NetBackup backups of NAS filers that use older
versions of the NDMP protocol (V2 and V3), the destination path for the restore
must end with the original folder and file name, even if you are restoring the
files to a different location. (This restriction does not apply to NAS filers that
use the NDMP protocol V4.)
If the original backup path was /vol/vol1/mydir/myfile, the destination path for
restore to a different location must end with /mydir/myfile. Otherwise,
NetBackup appends /mydir/myfile to the end of the destination path.
For example, to restore /vol/vol1/mydir/myfile to a folder under /vol/vol2/,
specify /vol/vol2/mydir/myfile as the destination.

**** ALSO:

For any restrictions unique to a particular NAS filer, see the appropriate section
in this document for your filer.

dennis_sexton
Level 5

Actally, I did say this:

. netbackup 6.0 mp7 with ndmp option. The tape library is attached to a media server, not the master.

I implied an emc celerra box when I gave the command line option

-C $emccelerahostname

So at any rate, it is an emc celerra version 5.6.49-3. This celerra is 4 months old, so I would not

expect it to be included as an "older" nas filer. While I assume

that it is running ndmp protocol version 4 since that is supposed to be the default, I haven't really

figured out  how to confirm this. There is no override value in /nas/server/slot_2. There is only

this with respect to ndmp:

param NDMP md5=1

 

I tried changing the rename entry from

change /mayhome01 to /maycontent24

to

change /mayhome01/dws/procedures/emc to /maycontent24/dws/procedures/emc

and got an error 5 on the restore.

 

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Apologies - I missed the NBU version in your OP...

We have experienced restore problems with EMC Celerra at one of our customers that was solved with fairly recent NBU 6.5 patches - if I remember correctly, 6.5.5 or 6.5.6.