Need to re-direct NDMP restore through an alternate media server

Article:TECH68059  |  Created: 2009-01-19  |  Updated: 2010-01-05  |  Article URL http://www.symantec.com/docs/TECH68059
Article Type
Technical Solution


Environment

Issue



Need to re-direct NDMP restore through an alternate media server

Solution



When attempting to use "Media Host Override" functionality in NetBackup to force the restore of an NDMP backup taken through a drive directly connected to an NDMP filer to run through a different Media Server than the backup was originally taken from, the system will ignore this setting and attempt to run the restore through the original Media Server.
This is the currently designed behavior of the product.
Workaround:
In this case, the media had been written to by multiple NDMP filers, so the media was "assigned" to the last filer that wrote to the tape, and this prevented the tape mediaDB entry from being moved.
Use:
/usr/openv/netbackup/bin/admincmd/nbemmcmd -listmedia -mediaid <MEDIA>  (UNIX/Linux systems)
or
<install_path>\NetBackup\bin\admincmd\nbemmcmd -listmedia -mediaid <MEDIA>  (Windows systems)
to determine the "Last Write Host" for the media in question:
C:\Program Files\VERITAS\NetBackup\bin\admincmd>nbemmcmd -listmedia -mediaid a00000
NBEMMCMD, Version:6.5.3
====================================================================
Media GUID: 3d9884bb-f584-4707-b6e4-5026f42b9947
Media ID: A00000
Partner: -
Media Type: DLT2
Volume Group: ---
Application: Netbackup
Media Flags: 1
Description: Added by NetBackup
Barcode: --------
Partner Barcode: --------
Last Write Host: FILER1
Created: 03/28/2008 10:27
Then run:
/usr/openv/netbackup/bin/admincmd/bpmedia -movedb -m <MEDIA> -oldserver <last write host> -newserver <desired media server for restore>
This will change the media assignment to the new Media Server and allow the restore to run as expected. If the restore is going to an NDMP filer that has directly tape drive(s), the restore should run through that drive normally.


Legacy ID



319902


Article URL http://www.symantec.com/docs/TECH68059


Terms of use for this information are found in Legal Notices