Need to re-direct NDMP restore through an alternate media server
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.
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.
/usr/openv/netbackup/bin/admincmd/nbemmcmd -listmedia -mediaid <MEDIA> (UNIX/Linux systems)
<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
Media GUID: 3d9884bb-f584-4707-b6e4-5026f42b9947
Media ID: A00000
Media Type: DLT2
Volume Group: ---
Media Flags: 1
Description: Added by NetBackup
Partner Barcode: --------
Last Write Host: FILER1
Created: 03/28/2008 10:27
/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.