These steps use this sample scenario:
- Backup job performed using: mediaserver1, mediaserver2
- Restore job using: mediaserver3, mediaserver4
When several environments (i.e., DEV, PROD, QA, etc.) are sharing the same NetBackup environment, restore groups may not be the best solution. If the user creates network connections between the media servers and the system that it would be restored to, then this would be more effective.
Upon completion of the restore process and resuming normal configuration, the changes made to NetBackup and DSA must be reversed to reflect the previous configuration.
- Make these changes for Veritas NetBackup:
All changes done in NetBackup are dynamic, so restart of NetBackup or its services is not required.
- Open bp.conf on the master server for editing:/usr/openv/netbackup # vi bp.conf
- Enter FORCE_RESTORE_MEDIA_SERVER = media_server_performing_restore at the bottom of the file; in this example to restore using mediaserver3 and mediaserver4 only:FORCE_RESTORE_MEDIA_SERVER = mediaserver1 mediaserver3FORCE_RESTORE_MEDIA_SERVER = mediaserver2 mediaserver4
- Create an empty file named: No.Restrictions, at this location on the master server:/usr/openv/netbackup/db/altnames # touch No.Restrictions
- Open bp.conf on the master server for editing:
- Make these changes for DSA in the BAR Setup portlet:
- Create a new target group to include mediaserver3 and mediaserver4.
- Create a Restore group to map the old target group to the new target group.
- Create a restore job using the new restore target group.