In the following example, barlnx1 is the source server. The destination master server is bsrv3 and the destination media server is bsrv4.
- Create the backup.
- Use NetBackup to import images from all tapes used in the archive.
-
Modify the runarcnb.bat file on both media servers to specify the streams coming from the media server. For example:
# For analyze only- overriding client. Comment out for normal use export ARCENVX="IOPARM='SERVER=bsrv3 CLIENT= barlnx1'"
-
Run an Analyze script. For example:
JOB DK_anlz_barlnx1_2str SESSIONS 1 MULTISTREAM 2 STREAM bsrv3 STREAM bsrv4 STREAMNAME DK_Archive_gcperf_syscal_multistream_47e04fea00000001_DSTREAM0001 STREAMNAME DK_Archive_gcperf_syscal_multistream_47e04fea00000001_DSTREAM0002 COMMANDLINE CSNAME=ASCII CHECKSUM=2 VB3 TDPID gcperf USERID dbc OTB NetBackup NBUPOLICY TD_b3_pol1 NBUPOLICY TD_b4_pol2 SCRIPT Analyze LOGON $LOGON; ANALYZE ALL, VALIDATE, DISPLAY LONG, FILE=ARCHIVE; LOGOFF; ENDSCRIPT
-
Create and run the restore script. For example:
JOB DK_Copy_multistream SESSIONS 8 MULTISTREAM 2 STREAM bsrv3 STREAM bsrv4 COMMANDLINE CSNAME=ASCII CHECKSUM=2 VB3 TDPID gcperf USERID dbc SOURCEUID 47e16ef400000014 SCRIPT Restore LOGON $LOGON; COPY DATA TABLES (mm_barrm.CALDATES) (FROM (SYS_CALENDAR.CALDATES)), RELEASE LOCK, FILE=ARCHIVE; LOGOFF; ENDSCRIPT