ProblemHow to control the media server used to restore backups from disk pool or tape accessible by multiple media servers.
1. Set a
FORCE_RESTORE_MEDIA_SERVER in bp.conf (or the master server's server properties on Windows master servers) – this works on a per server basis and allows the user to specify a specific media server to be used for restore operations based on the media server used to make the backup. To ensure the same media server is used to make both the backup and the restore simply specify the same name for both the backup and restore server (note that
FORCE_RESTORE_MEDIA_SERVER does not work for disk based backups prior to NetBackup 6.5.4).
2. Create the touch file
<installpath>\veritas\netbackup\db\config on Windows) – this is a global setting that always forces restore to the server that did the backup. Note that when this touch file is in place all
FORCE_RESTORE_MEDIA_SERVER settings are ignored.
3. Run the restore from the command line using the qualifier
–disk_media_server on the
bprestore command – this works on a per job level and allows the user to specify the media server required for the specific restore job. Unlike the other two options this is a dynamic setting that can be applied when needed.
Was this content helpful?
Rating submitted. Please provide additional feedback (optional):