Redirecting a restore of an XML export archive to a new client using bporaimp
On UNIX and Linux, any user who belongs to the database group that performed the archive can restore XML export archive. The BKUP_IMAGE_PERM variable must be set to GROUP or ANY, not USER.
If you use a non-root service user account, specific access must be allowed for that user when you add files to the /usr/openv/netbackup/db/altnames directory. The service user account must have full access to these files through the ownership or group and the permissions. For example, if the service user is svcname and its group is srvgrp, the file can have permissions of 400. If the file owner is for a different user and group, the file permissions must allow access to the service user. For example, 777. Equivalent permission settings must be used in a Windows environment.
Perform the following procedure on the new client host if you want to restore XML export archives that are owned by another client.
To redirect a restore of an XML export archive to a new client using bporaimp
- Set the environment variables for bporaimp (bporaimp64 on some platforms) on the new client, including ORACLE_HOME and ORACLE_SID.
- In the bporaimp parameter file, include the following lines:
nb_ora_serv = Netbackup_server nb_ora_client = original_client_where_XML_export_occurred.
- Specify any other bporaimp parameters.
- Run bporaimp.
More Information