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

  • Modified Date:
  • Article ID:000037372


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
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.

Terms of use for this information are found in Legal Notices.



Did this article answer your question or resolve your issue?


Did this article save you the trouble of contacting technical support?


How can we make this article more helpful?

Email Address (Optional)