<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>NetBackup HOWTO&#039;s</title>
	<atom:link href="http://www.netbackuphowto.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.netbackuphowto.com</link>
	<description></description>
	<lastBuildDate>Mon, 15 Aug 2011 14:15:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Howto Backup DB2 Database Using USEREXIT Method on Windows</title>
		<link>http://www.netbackuphowto.com/2011/08/02/howto-backup-db2-database-using-userexit-method-on-windows/</link>
		<comments>http://www.netbackuphowto.com/2011/08/02/howto-backup-db2-database-using-userexit-method-on-windows/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 13:00:06 +0000</pubDate>
		<dc:creator>savas</dc:creator>
				<category><![CDATA[DB2 Backup]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Netbackup Howto]]></category>
		<category><![CDATA[backup db2 using USEREXIT]]></category>
		<category><![CDATA[db2 backup using USEREXIT method]]></category>
		<category><![CDATA[Howto Backup DB2 Database Using USEREXIT Method on Windows]]></category>
		<category><![CDATA[LOGRETAIN]]></category>
		<category><![CDATA[USEREXIT method]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=690</guid>
		<description><![CDATA[﻿Here is your configuration: DB2 database server name: db2server DB2 instance name: DB2 DB2 database name: SAMPLE NetBackup master server name: netbackup To backup your DB2 database using USEREXIT method: 1. configure your database to use LOGRETAIN and USEREXIT methods as follows: 2. Create a DB2 type backup policy on NetBackup (You don&#8217;t need to [...]]]></description>
			<content:encoded><![CDATA[<p><a>﻿</a>Here is your configuration:</p>
<p>DB2 database server name: db2server<br />
DB2 instance name: DB2<br />
DB2 database name: SAMPLE</p>
<p><span id="more-690"></span></p>
<p>NetBackup master server name: netbackup</p>
<p>To backup your DB2 database using USEREXIT method:</p>
<p>1. configure your database to use LOGRETAIN and USEREXIT methods as follows:</p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/clt1.png"><img class="alignleft size-medium wp-image-691" title="Logretain" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/clt1-300x69.png" alt="Logretain" width="300" height="69" /></a></p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/clt1-1.png"><img class="alignleft size-medium wp-image-692" title="Userexit" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/clt1-1-300x48.png" alt="Userexit" width="300" height="48" /></a></p>
<p>2. Create a DB2 type backup policy on NetBackup (You don&#8217;t need to select a template or backup script on Backup Schedules window)</p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/1.png"><img class="alignleft size-medium wp-image-693" title="1" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/1-300x244.png" alt="" width="300" height="244" /></a></p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/2.png"><img class="alignleft size-medium wp-image-694" title="2" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/2-300x243.png" alt="" width="300" height="243" /></a></p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/3.png"><img class="alignleft size-medium wp-image-695" title="3" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/3-300x243.png" alt="" width="300" height="243" /></a></p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/4.png"><img class="alignleft size-medium wp-image-696" title="4" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/4-300x243.png" alt="" width="300" height="243" /></a></p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/5.png"><img class="alignleft size-medium wp-image-697" title="5" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/5-300x243.png" alt="" width="300" height="243" /></a></p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/6.png"><img class="alignleft size-medium wp-image-698" title="6" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/6-300x243.png" alt="" width="300" height="243" /></a></p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/7.png"><img class="alignleft size-medium wp-image-699" title="7" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/7-300x243.png" alt="" width="300" height="243" /></a></p>
<p>3. Create a new policy for archive logs. For windows, you need  to use MS-Windows as backup type and create only a User type schedule(You don&#8217;t need to select anything on &#8220;Backup Selection&#8221; window):</p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/a2.png"><img class="alignleft size-medium wp-image-701" title="a2" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/a2-300x244.png" alt="" width="300" height="244" /></a></p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/a3.png"><img class="alignleft size-medium wp-image-702" title="a3" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/a3-300x242.png" alt="" width="300" height="242" /></a></p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/a4.png"><img class="alignleft size-medium wp-image-703" title="a4" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/a4-300x243.png" alt="" width="300" height="243" /></a></p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/a5.png"><img class="alignleft size-medium wp-image-704" title="a5" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/a5-300x242.png" alt="" width="300" height="242" /></a></p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/a6.png"><img class="alignleft size-medium wp-image-705" title="a6" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/a6-300x244.png" alt="" width="300" height="244" /></a></p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/a7.png"><img class="alignleft size-medium wp-image-706" title="a7" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/a7-300x242.png" alt="" width="300" height="242" /></a></p>
<p>4. On the DB2 server(db2server), create db2.conf (I used the path: &#8220;C:\Program Files\VERITAS\NetBackup\DbExt\db2&#8243;)</p>
<p>Don&#8217;t forget to set the lines marked as bold according to your system.</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="614" valign="top"><em># $Header: db2.conf,v 1.6 2009/08/26 15:58:31 $</em> <em>#</em></p>
<p><em># ***************************************************************************</em></p>
<p><em># * $Copyright: Copyright 1993 &#8211; 2011 Symantec Corporation, All Rights Reserved $ *</em></p>
<p><em># ***************************************************************************</em></p>
<p><em>#</em></p>
<p><em># The following settings are used by NetBackup to backup/restore a DB2 database.</em></p>
<p><em>#</em></p>
<p><em># Reminders:</em></p>
<p><em># 1) The specified policy must have a type of &#8220;DB2&#8243;.</em></p>
<p><em># 2) The specified schedule must be defined for this policy.</em></p>
<p><em># 3) The DB2 database host must be entered as a client for this policy.</em></p>
<p><em>#</em></p>
<p><em> </em></p>
<p><em>DATABASE SAMPLE</em></p>
<p><em>OBJECTTYPE DATABASE</em></p>
<p><strong><em>POLICY DB2-DBBackup</em></strong></p>
<p><strong><em>SCHEDULE Default-Application-Backup</em></strong></p>
<p><em>ENDOPER</em></p>
<p><em> </em></p>
<p><em># &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em># DB2 User Exit Program</em></p>
<p><em># &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em># If DB2 log file archiving is enabled (DB2 USEREXIT ON), DB2 will invoke</em></p>
<p><em># the NetBackup user-exit program to backup &amp; restore DB2 archive log files.</em></p>
<p><em># Using ARCFUNC SAVE causes log files to be archived to NetBackup storage,</em></p>
<p><em># as specified by the policy storage-unit setting.</em></p>
<p><em># Using ARCFUNC COPY causes log files to be archived to a disk directory.</em></p>
<p><em># Use ARCDIR to specify the destination directory for log file backup.</em></p>
<p><em># Use RETDIR to specify the source directory for log file restore.</em></p>
<p><em>#</em></p>
<p><em>DATABASE SAMPLE</em></p>
<p><em>OBJECTTYPE ARCHIVE</em></p>
<p><strong><em>POLICY DB2-ArchLogBackup</em></strong></p>
<p><strong><em>SCHEDULE User</em></strong></p>
<p><em>ARCFUNC SAVE</em></p>
<p><em>ENDOPER</em></td>
</tr>
</tbody>
</table>
<p> </p>
<p>5. Create a backup script (Again, I created inside &#8220;C:\Program Files\VERITAS\NetBackup\DbExt\db2&#8243;)</p>
<p>Don&#8217;t forget to set the variables marked as bold.</p>
<table border="1" cellspacing="0" cellpadding="0" width="680" height="3382">
<tbody>
<tr>
<td width="614" valign="top"><em>@REM $Revision: 1.2 $</em> <em> </em></p>
<p><em>@REM bcpyrght</em></p>
<p><em>@REM *************************************************************************** </em></p>
<p><em>@REM * $VRTScprght: Copyright 1993 &#8211; 2011 Symantec Corporation, All Rights Reserved $ * </em></p>
<p><em>@REM *************************************************************************** </em></p>
<p><em>@REM ecpyrght</em></p>
<p><em> </em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em>@REM </em></p>
<p><em>@REM This script is provided as an example.  See the instructions below</em></p>
<p><em>@REM for making customizations to work within your environment.</em></p>
<p><em>@REM</em></p>
<p><em>@REM Please copy this script to a safe location before customizing it.</em></p>
<p><em>@REM Modifications to the original files will be lost during product updates.</em></p>
<p><em>@REM </em></p>
<p><em>@REM This script performs an online backup of the database.  An online backup</em></p>
<p><em>@REM requires that the database is configured for forward recovery (see the</em></p>
<p><em>@REM DB2 USEREXIT and LOGRETAIN settings).  DB2 users can remain connected</em></p>
<p><em>@REM while performing an online backup.</em></p>
<p><em>@REM</em></p>
<p><em>@REM To back up a database or a database partition, the user must have SYSADM, </em></p>
<p><em>@REM SYSCTRL, or SYSMAINT authority.</em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em> </em></p>
<p><em>@echo off</em></p>
<p><em>@setlocal</em></p>
<p><em> </em></p>
<p><em>@REM !!!!! START CUSTOMIZATIONS !!!!!</em></p>
<p><em>@REM</em></p>
<p><em>@REM The following changes need to be made to make this script work with your</em></p>
<p><em>@REM environment:</em></p>
<p><em>@REM </em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em>@REM (1) NetBackup for DB2 shared library:</em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em>@REM    This is the NetBackup library that backs up and restores DB2 databases</em></p>
<p><em>@REM    Set db2_nblib below to the correct NetBackup library path for your host</em></p>
<p><em>@REM </em></p>
<p><em>@REM Example: @set db2_nblib=C:\progra~1\veritas\netbackup\bin\nbdb2.dll</em></p>
<p><strong><em>@set db2_nblib=C:\progra~1\veritas\netbackup\bin\nbdb2.dll</em></strong></p>
<p><em>@echo db2_nblib = %db2_nblib%</em></p>
<p><em> </em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em>@REM (2) DB2 home directory (the system catalog node): </em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em>@REM    This is the DB2 home directory where DB2 is installed</em></p>
<p><em>@REM    Set db2_home to DB2 home directory</em></p>
<p><em>@REM </em></p>
<p><em>@REM Example: @set db2_home=D:\sqllib</em></p>
<p><strong><em>@set db2_home=C:\Progra~1\IBM\SQLLIB</em></strong></p>
<p><em>@echo db2_home = %db2_home%</em></p>
<p><em> </em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em>@REM (3) Database to backup:</em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em>@REM    Set db2_name to the name of the database to backup:</em></p>
<p><em>@REM</em></p>
<p><em>@REM Example: @set db2_name=SAMPLE </em></p>
<p><strong><em>@set db2_name=SAMPLE</em></strong></p>
<p><em>@echo db2_name = %db2_name%</em></p>
<p><em> </em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em>@REM (4) Multiple Sessions:</em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em>@REM    Concurrency can improve backup performance of large databases.</em></p>
<p><em>@REM    Multiple sessions are used to perform the backup, with each session</em></p>
<p><em>@REM    backing up a subset of the database.  The sessions operate</em></p>
<p><em>@REM    concurrently, reducing the overall time to backup the database.</em></p>
<p><em>@REM    This approach assumes there are adequate resources available, like</em></p>
<p><em>@REM    multiple tape devices and/or multiplexing enabled.</em></p>
<p><em>@REM</em></p>
<p><em>@REM    For more information on configuring NetBackup multiplexing,</em></p>
<p><em>@REM    refer to the &#8220;Veritas NetBackup System Administrator&#8217;s Guide&#8221;.</em></p>
<p><em>@REM </em></p>
<p><em>@REM    If using multiple sessions change db2_sessions to use multiple sessions</em></p>
<p><em>@REM</em></p>
<p><strong><em>@REM Example: @set db2_sessions=&#8221;OPEN 2 SESSIONS WITH 4 BUFFERS BUFFER 1024&#8243;</em></strong></p>
<p><em> </em></p>
<p><em> </em></p>
<p><em> </em></p>
<p><em>@REM !!!!! END CUSTOMIZATIONS !!!!!</em></p>
<p><em> </em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em>@REM Exit now if the sample script has not been customized</em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em>if &#8220;%db2_name%&#8221; == &#8220;&#8221; goto custom_err_msg</em></p>
<p><em> </em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em>@REM These environmental variables are created by Netbackup (bphdb)</em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em> </em></p>
<p><em>@echo DB2_POLICY = %DB2_POLICY%</em></p>
<p><em>@echo DB2_SCHED = %DB2_SCHED%</em></p>
<p><em>@echo DB2_CLIENT = %DB2_CLIENT%</em></p>
<p><em>@echo DB2_SERVER = %DB2_SERVER%</em></p>
<p><em>@echo DB2_USER_INITIATED = %DB2_USER_INITIATED%</em></p>
<p><em>@echo DB2_FULL = %DB2_FULL%</em></p>
<p><em>@echo DB2_CINC = %DB2_CINC%</em></p>
<p><em>@echo DB2_INCR = %DB2_INCR%</em></p>
<p><em>@echo DB2_SCHEDULED = %DB2_SCHEDULED%</em></p>
<p><em>@echo STATUS_FILE = %STATUS_FILE%</em></p>
<p><em> </em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em>@REM Type of Backup:</em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em>@REM    NetBackup policies for DB2  recognize different</em></p>
<p><em>@REM    backup types, i.e. full, cumulative, and differential.</em></p>
<p><em>@REM    For more information on NetBackup backup types, please refer to the</em></p>
<p><em>@REM    NetBackup for DB2 System Administrator&#8217;s Guide.</em></p>
<p><em>@REM</em></p>
<p><em>@REM    Use NetBackup variables to set DB2 full or incremental options</em></p>
<p><em>@REM </em></p>
<p><em> </em></p>
<p><em>@set db2_action=</em></p>
<p><em>if &#8220;%DB2_FULL%&#8221; == &#8220;1&#8243; @set db2_action=ONLINE</em></p>
<p><em>if &#8220;%DB2_CINC%&#8221; == &#8220;1&#8243; @set db2_action=ONLINE INCREMENTAL</em></p>
<p><em>if &#8220;%DB2_INCR%&#8221; == &#8220;1&#8243; @set db2_action=ONLINE INCREMENTAL DELTA</em></p>
<p><em>@echo db2_action = %db2_action%</em></p>
<p><em> </em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em>@REM Actual command that will be used to execute a backup</em></p>
<p><em>@REM Note: the parameters /c /w /i and db2 should be used with db2cmd.exe</em></p>
<p><em>@REM Without them, NetBackup job monitor may not function properly.</em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em> </em></p>
<p><em>@set CMD_FILE=%temp%\cmd_file</em></p>
<p><em>@echo CMD_FILE = %CMD_FILE%</em></p>
<p><em> </em></p>
<p><em>@set CMD_LINE=%db2_home%\bin\db2cmd.exe /c /w /i db2 -f %CMD_FILE%</em></p>
<p><em>@echo CMD_LINE = %CMD_LINE%</em></p>
<p><em> </em></p>
<p><em>@echo BACKUP DATABASE %db2_name% %db2_action% LOAD %db2_nblib% %db2_sessions%</em></p>
<p><strong><em>@echo BACKUP DATABASE %db2_name% %db2_action% LOAD %db2_nblib% INCLUDE LOGS &gt; %CMD_FILE%</em></strong></p>
<p><em> </em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em>@REM Execute the command</em></p>
<p><em>@REM &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em> </em></p>
<p><em>@echo Executing CMD=%CMD_LINE%</em></p>
<p><em> </em></p>
<p><em>%CMD_LINE%</em></p>
<p><em> </em></p>
<p><em> </em></p>
<p><em>@REM Successful Backup</em></p>
<p><em>if errorlevel 1 goto errormsg</em></p>
<p><em>echo BACKUP SUCCESSFUL</em></p>
<p><em>if &#8220;%STATUS_FILE%&#8221; == &#8220;&#8221; goto end</em></p>
<p><em>if exist &#8220;%STATUS_FILE%&#8221; echo 0 &gt; &#8220;%STATUS_FILE%&#8221;</em></p>
<p><em>goto end</em></p>
<p><em> </em></p>
<p><em>:custom_err_msg</em></p>
<p><em>echo This script must be customized for proper operation in your environment.</em></p>
<p><em> </em></p>
<p><em> </em></p>
<p><em>@REM Backup command unsuccessful</em></p>
<p><em>:errormsg</em></p>
<p><em>echo Execution of BACKUP command FAILED &#8211; exiting</em></p>
<p><em>if &#8220;%STATUS_FILE%&#8221; == &#8220;&#8221; goto end</em></p>
<p><em>if exist &#8220;%STATUS_FILE%&#8221; echo 1 &gt; &#8220;%STATUS_FILE%&#8221;</em></p>
<p><em> </em></p>
<p><em>:end</em></p>
<p><em> </em></p>
<p><em>@endlocal</em></td>
</tr>
</tbody>
</table>
<p> </p>
<p>6. Add your backup script as a &#8220;Backup Selection&#8221; inside your DB2 Backup script:</p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/bs1.png"><img class="alignleft size-medium wp-image-707" title="Backup Script Selection" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/bs1-300x224.png" alt="Backup Script Selection" width="300" height="224" /></a></p>
<p>7. Quiesce your database inside DB2 Control Center</p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/quiesce-0.1.png"><img class="alignleft size-medium wp-image-708" title="quiesce-0.1" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/quiesce-0.1-300x102.png" alt="" width="300" height="102" /></a></p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/quiesce-1.png"><img class="alignleft size-medium wp-image-709" title="quiesce-1" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/quiesce-1-300x142.png" alt="" width="300" height="142" /></a></p>
<p>8. Start a Manual Backup to see if everything works.</p>
<div id="_mcePaste" class="mcePaste" style="position: absolute; left: -10000px; top: 3190px; width: 1px; height: 1px; overflow: hidden;"><!--[if gte mso 9]><xml> <w:worddocument> <w:view>Normal</w:view> <w:zoom>0</w:zoom> <w:trackmoves /> <w:trackformatting /> <w:hyphenationzone>21</w:hyphenationzone> <w:punctuationkerning /> <w:validateagainstschemas /> <w:saveifxmlinvalid>false</w:saveifxmlinvalid> <w:ignoremixedcontent>false</w:ignoremixedcontent> <w:alwaysshowplaceholdertext>false</w:alwaysshowplaceholdertext> <w:donotpromoteqf /> <w:lidthemeother>TR</w:lidthemeother> <w:lidthemeasian>X-NONE</w:lidthemeasian> <w:lidthemecomplexscript>X-NONE</w:lidthemecomplexscript> <w:compatibility> <w:breakwrappedtables /> <w:snaptogridincell /> <w:wraptextwithpunct /> <w:useasianbreakrules /> <w:dontgrowautofit /> <w:splitpgbreakandparamark /> <w:dontvertaligncellwithsp /> <w:dontbreakconstrainedforcedtables /> <w:dontvertalignintxbx /> <w:word11kerningpairs /> <w:cachedcolbalance /> </w:compatibility> <w:browserlevel>MicrosoftInternetExplorer4</w:browserlevel> <m:mathpr> <m:mathfont m:val="Cambria Math" /> <m:brkbin m:val="before" /> <m:brkbinsub m:val="&#45;-" /> <m:smallfrac m:val="off" /> <m:dispdef /> <m:lmargin m:val="0" /> <m:rmargin m:val="0" /> <m:defjc m:val="centerGroup" /> <m:wrapindent m:val="1440" /> <m:intlim m:val="subSup" /> <m:narylim m:val="undOvr" /> </m:mathpr></w:worddocument> </xml>< ![endif] >< ! [if gte mso 9]><xml> <w:latentstyles DefLockedState="false" DefUnhideWhenUsed="true"   DefSemiHidden="true" DefQFormat="false" DefPriority="99"   LatentStyleCount="267"> <w:lsdexception Locked="false" Priority="0" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Normal" /> <w:lsdexception Locked="false" Priority="9" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="heading 1" /> <w:lsdexception Locked="false" Priority="9" QFormat="true" Name="heading 2" /> <w:lsdexception Locked="false" Priority="9" QFormat="true" Name="heading 3" /> <w:lsdexception Locked="false" Priority="9" QFormat="true" Name="heading 4" /> <w:lsdexception Locked="false" Priority="9" QFormat="true" Name="heading 5" /> <w:lsdexception Locked="false" Priority="9" QFormat="true" Name="heading 6" /> <w:lsdexception Locked="false" Priority="9" QFormat="true" Name="heading 7" /> <w:lsdexception Locked="false" Priority="9" QFormat="true" Name="heading 8" /> <w:lsdexception Locked="false" Priority="9" QFormat="true" Name="heading 9" /> <w:lsdexception Locked="false" Priority="39" Name="toc 1" /> <w:lsdexception Locked="false" Priority="39" Name="toc 2" /> <w:lsdexception Locked="false" Priority="39" Name="toc 3" /> <w:lsdexception Locked="false" Priority="39" Name="toc 4" /> <w:lsdexception Locked="false" Priority="39" Name="toc 5" /> <w:lsdexception Locked="false" Priority="39" Name="toc 6" /> <w:lsdexception Locked="false" Priority="39" Name="toc 7" /> <w:lsdexception Locked="false" Priority="39" Name="toc 8" /> <w:lsdexception Locked="false" Priority="39" Name="toc 9" /> <w:lsdexception Locked="false" Priority="35" QFormat="true" Name="caption" /> <w:lsdexception Locked="false" Priority="10" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Title" /> <w:lsdexception Locked="false" Priority="1" Name="Default Paragraph Font" /> <w:lsdexception Locked="false" Priority="11" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtitle" /> <w:lsdexception Locked="false" Priority="22" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Strong" /> <w:lsdexception Locked="false" Priority="20" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Emphasis" /> <w:lsdexception Locked="false" Priority="59" SemiHidden="false"    UnhideWhenUsed="false" Name="Table Grid" /> <w:lsdexception Locked="false" UnhideWhenUsed="false" Name="Placeholder Text" /> <w:lsdexception Locked="false" Priority="1" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="No Spacing" /> <w:lsdexception Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading" /> <w:lsdexception Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List" /> <w:lsdexception Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid" /> <w:lsdexception Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1" /> <w:lsdexception Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2" /> <w:lsdexception Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1" /> <w:lsdexception Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2" /> <w:lsdexception Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1" /> <w:lsdexception Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2" /> <w:lsdexception Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3" /> <w:lsdexception Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List" /> <w:lsdexception Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading" /> <w:lsdexception Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List" /> <w:lsdexception Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid" /> <w:lsdexception Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 1" /> <w:lsdexception Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 1" /> <w:lsdexception Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 1" /> <w:lsdexception Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1" /> <w:lsdexception Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1" /> <w:lsdexception Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 1" /> <w:lsdexception Locked="false" UnhideWhenUsed="false" Name="Revision" /> <w:lsdexception Locked="false" Priority="34" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="List Paragraph" /> <w:lsdexception Locked="false" Priority="29" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Quote" /> <w:lsdexception Locked="false" Priority="30" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Quote" /> <w:lsdexception Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 1" /> <w:lsdexception Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1" /> <w:lsdexception Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1" /> <w:lsdexception Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1" /> <w:lsdexception Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 1" /> <w:lsdexception Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 1" /> <w:lsdexception Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 1" /> <w:lsdexception Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 1" /> <w:lsdexception Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 2" /> <w:lsdexception Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 2" /> <w:lsdexception Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 2" /> <w:lsdexception Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2" /> <w:lsdexception Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2" /> <w:lsdexception Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 2" /> <w:lsdexception Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 2" /> <w:lsdexception Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2" /> <w:lsdexception Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2" /> <w:lsdexception Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2" /> <w:lsdexception Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 2" /> <w:lsdexception Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 2" /> <w:lsdexception Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 2" /> <w:lsdexception Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 2" /> <w:lsdexception Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 3" /> <w:lsdexception Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 3" /> <w:lsdexception Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 3" /> <w:lsdexception Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3" /> <w:lsdexception Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3" /> <w:lsdexception Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 3" /> <w:lsdexception Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 3" /> <w:lsdexception Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3" /> <w:lsdexception Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3" /> <w:lsdexception Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3" /> <w:lsdexception Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 3" /> <w:lsdexception Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 3" /> <w:lsdexception Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 3" /> <w:lsdexception Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 3" /> <w:lsdexception Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 4" /> <w:lsdexception Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 4" /> <w:lsdexception Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 4" /> <w:lsdexception Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4" /> <w:lsdexception Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4" /> <w:lsdexception Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 4" /> <w:lsdexception Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 4" /> <w:lsdexception Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4" /> <w:lsdexception Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4" /> <w:lsdexception Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4" /> <w:lsdexception Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 4" /> <w:lsdexception Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 4" /> <w:lsdexception Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 4" /> <w:lsdexception Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 4" /> <w:lsdexception Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 5" /> <w:lsdexception Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 5" /> <w:lsdexception Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 5" /> <w:lsdexception Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5" /> <w:lsdexception Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5" /> <w:lsdexception Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 5" /> <w:lsdexception Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 5" /> <w:lsdexception Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5" /> <w:lsdexception Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5" /> <w:lsdexception Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5" /> <w:lsdexception Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 5" /> <w:lsdexception Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 5" /> <w:lsdexception Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 5" /> <w:lsdexception Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 5" /> <w:lsdexception Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 6" /> <w:lsdexception Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 6" /> <w:lsdexception Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 6" /> <w:lsdexception Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6" /> <w:lsdexception Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6" /> <w:lsdexception Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 6" /> <w:lsdexception Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 6" /> <w:lsdexception Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6" /> <w:lsdexception Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6" /> <w:lsdexception Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6" /> <w:lsdexception Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 6" /> <w:lsdexception Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 6" /> <w:lsdexception Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 6" /> <w:lsdexception Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 6" /> <w:lsdexception Locked="false" Priority="19" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis" /> <w:lsdexception Locked="false" Priority="21" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis" /> <w:lsdexception Locked="false" Priority="31" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference" /> <w:lsdexception Locked="false" Priority="32" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Reference" /> <w:lsdexception Locked="false" Priority="33" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Book Title" /> <w:lsdexception Locked="false" Priority="37" Name="Bibliography" /> <w:lsdexception Locked="false" Priority="39" QFormat="true" Name="TOC Heading" /> </w:latentstyles> </xml>< ![endif] >< ! [if gte mso 10]> <mce:style>< !   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin-top:0cm; 	mso-para-margin-right:0cm; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0cm; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} table.MsoTableGrid 	{mso-style-name:"Table Grid"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-priority:59; 	mso-style-unhide:no; 	border:solid black 1.0pt; 	mso-border-themecolor:text1; 	mso-border-alt:solid black .5pt; 	mso-border-themecolor:text1; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-border-insideh:.5pt solid black; 	mso-border-insideh-themecolor:text1; 	mso-border-insidev:.5pt solid black; 	mso-border-insidev-themecolor:text1; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi; 	mso-fareast-language:EN-US;}  > < ! [endif]  >&nbsp;</mce:style></div>
<table class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt;" _mce_style="border-collapse: collapse; border: none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes;" _mce_style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes;">
<td style="width: 460.6pt; border: solid black 1.0pt; mso-border-themecolor: text1; mso-border-alt: solid black .5pt; padding: 0cm 5.4pt 0cm 5.4pt;" _mce_style="width: 460.6pt; border: solid black 1.0pt; mso-border-themecolor: text1; mso-border-alt: solid black .5pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="614" valign="top">
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   $Revision: 1.2 $</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"><span style="mso-spacerun: yes;" _mce_style="mso-spacerun: yes;"> </span></span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   bcpyrght</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   *************************************************************************** </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   * $VRTScprght: Copyright 1993 &#8211; 2011 Symantec Corporation, All Rights   Reserved $ * </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   *************************************************************************** </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   ecpyrght</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"><span style="mso-spacerun: yes;" _mce_style="mso-spacerun: yes;"> </span></span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   This script is provided as an example.<span style="mso-spacerun: yes;" _mce_style="mso-spacerun: yes;"> </span>See the instructions below</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   for making customizations to work within your environment.</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   Please copy this script to a safe location before customizing it.</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   Modifications to the original files will be lost during product updates.</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   This script performs an online backup of the database.<span style="mso-spacerun: yes;" _mce_style="mso-spacerun: yes;"> </span>An online backup</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   requires that the database is configured for forward recovery (see the</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   DB2 USEREXIT and LOGRETAIN settings).<span style="mso-spacerun: yes;" _mce_style="mso-spacerun: yes;"> </span>DB2 users can remain connected</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   while performing an online backup.</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   To back up a database or a database partition, the user must have SYSADM, </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   SYSCTRL, or SYSMAINT authority.</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   off</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@setlocal</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   !!!!! START CUSTOMIZATIONS !!!!!</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   The following changes need to be made to make this script work with your</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   environment:</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   (1) NetBackup for DB2 shared library:</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span>This is the NetBackup library that backs   up and restores DB2 databases</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span>Set db2_nblib below to the correct   NetBackup library path for your host</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span></span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   Example: @set db2_nblib=C:\progra~1\veritas\netbackup\bin\nbdb2.dll</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@set   db2_nblib=C:\progra~1\veritas\netbackup\bin\nbdb2.dll</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   db2_nblib = %db2_nblib%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   (2) DB2 home directory (the system catalog node): </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   <span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span>This is the DB2 home directory where   DB2 is installed</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span>Set db2_home to DB2 home directory</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   Example: @set db2_home=D:\sqllib</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@set   db2_home=C:\Progra~1\IBM\SQLLIB</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   db2_home = %db2_home%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   (3) Database to backup:</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span>Set db2_name to the name of the database   to backup:</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   Example: @set db2_name=SAMPLE<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span></span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@set   db2_name=SAMPLE</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   db2_name = %db2_name%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   (4) Multiple Sessions:</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span>Concurrency can improve backup performance   of large databases.</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span>Multiple sessions are used to perform the   backup, with each session</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span>backing up a subset of the database.<span style="mso-spacerun: yes;" _mce_style="mso-spacerun: yes;"> </span>The sessions operate</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span>concurrently, reducing the overall time to   backup the database.</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span>This approach assumes there are adequate   resources available, like</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span>multiple tape devices and/or multiplexing   enabled.</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span>For more information on configuring   NetBackup multiplexing,</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span>refer to the &#8220;Veritas NetBackup   System Administrator&#8217;s Guide&#8221;.</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span></span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span>If using multiple sessions change   db2_sessions to use multiple sessions</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   Example: @set db2_sessions=&#8221;OPEN 2 SESSIONS WITH 4 BUFFERS BUFFER   1024&#8243;</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   @set db2_sessions=INCLUDE LOGS</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@set   STATUS_FILE=status.log</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   !!!!! END CUSTOMIZATIONS !!!!!</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   Exit now if the sample script has not been customized</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">if   &#8220;%db2_name%&#8221; == &#8220;&#8221; goto custom_err_msg</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   These environmental variables are created by Netbackup (bphdb)</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   DB2_POLICY = %DB2_POLICY%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   DB2_SCHED = %DB2_SCHED%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   DB2_CLIENT = %DB2_CLIENT%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   DB2_SERVER = %DB2_SERVER%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   DB2_USER_INITIATED = %DB2_USER_INITIATED%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   DB2_FULL = %DB2_FULL%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   DB2_CINC = %DB2_CINC%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   DB2_INCR = %DB2_INCR%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   DB2_SCHEDULED = %DB2_SCHEDULED%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   STATUS_FILE = %STATUS_FILE%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   Type of Backup:</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span>NetBackup policies for DB2<span style="mso-spacerun: yes;" _mce_style="mso-spacerun: yes;"> </span>recognize different</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span>backup types, i.e. full, cumulative, and   differential.</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span>For more information on NetBackup backup   types, please refer to the</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-spacerun: yes;" _mce_style="mso-spacerun: yes;"> </span>NetBackup for DB2 System Administrator&#8217;s   Guide.</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM<span style="mso-tab-count: 1;" _mce_style="mso-tab-count: 1;"> </span>Use NetBackup variables to set DB2 full or   incremental options</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@set   db2_action=</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">if   &#8220;%DB2_FULL%&#8221; == &#8220;1&#8243; @set db2_action=ONLINE</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">if   &#8220;%DB2_CINC%&#8221; == &#8220;1&#8243; @set db2_action=ONLINE INCREMENTAL</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">if   &#8220;%DB2_INCR%&#8221; == &#8220;1&#8243; @set db2_action=ONLINE INCREMENTAL   DELTA</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   db2_action = %db2_action%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   Actual command that will be used to execute a backup</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   Note: the parameters /c /w /i and db2 should be used with db2cmd.exe</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   Without them, NetBackup job monitor may not function properly.</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@set   CMD_FILE=%temp%\cmd_file</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   CMD_FILE = %CMD_FILE%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@set   CMD_LINE=%db2_home%\bin\db2cmd.exe /c /w /i db2 -f %CMD_FILE%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   CMD_LINE = %CMD_LINE%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   BACKUP DATABASE %db2_name% %db2_action% LOAD %db2_nblib% %db2_sessions%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   BACKUP DATABASE %db2_name% %db2_action% LOAD %db2_nblib% INCLUDE LOGS &gt;   %CMD_FILE%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   Execute the command</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM                                        -</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"><span style="mso-spacerun: yes;" _mce_style="mso-spacerun: yes;"> </span></span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@echo   Executing CMD=%CMD_LINE%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">%CMD_LINE%</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   Successful Backup</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">if   errorlevel 1 goto errormsg</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">echo   BACKUP SUCCESSFUL</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">if   &#8220;%STATUS_FILE%&#8221; == &#8220;&#8221; goto end</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">if   exist &#8220;%STATUS_FILE%&#8221; echo 0 &gt; &#8220;%STATUS_FILE%&#8221;</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">goto   end</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"><span style="mso-spacerun: yes;" _mce_style="mso-spacerun: yes;"> </span></span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">:custom_err_msg</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">echo   This script must be customized for proper operation in your environment.</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@REM   Backup command unsuccessful</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">:errormsg</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">echo   Execution of BACKUP command FAILED &#8211; exiting</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">if   &#8220;%STATUS_FILE%&#8221; == &#8220;&#8221; goto end</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">if   exist &#8220;%STATUS_FILE%&#8221; echo 1 &gt; &#8220;%STATUS_FILE%&#8221;</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"><span style="mso-spacerun: yes;" _mce_style="mso-spacerun: yes;"> </span></span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">:end</span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;"> </span></em></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; line-height: normal;" _mce_style="margin-bottom: .0001pt; line-height: normal;" _mce_tmp="1"><em style="mso-bidi-font-style: normal;" _mce_style="mso-bidi-font-style: normal;"><span style="font-size: 10.0pt;" _mce_style="font-size: 10.0pt;">@endlocal</span></em></div>
</td>
</tr>
</tbody>
</table>
<div _mce_tmp="1">&nbsp;</div>
<div _mce_tmp="1"></div>
<p>Critical Note: If you can successfully backup your database online, but your archivelog doesnt launch, check Event logs on the alternate (destination) client. It&#8217;s very likely that, db2uext2.exe is failing because of some errors like:</p>
<p><em>2011-08-15-16.28.42.891000 Instance:DB2 Node:000</em></p>
<p><em>PID:1548(db2syscs.exe) TID:2624 Appid:none</em></p>
<p><em>data protection sqlpgInvokeUserexit Probe:1550 </em></p>
<p><em>ADM1833E The user exit program returned an error when archiving log file </em></p>
<p><em>&#8220;S0015822.LOG&#8221; from &#8220;C:\DB2\NODE0000\SQL00001\SQLOGDIR\&#8221; for database &#8220;SAMPLE&#8221;. </em></p>
<p><em>The error code was &#8220;1&#8243;.</em></p>
<p>or,</p>
<p><em>2011-08-15-16.23.07.356000 Instance:DB2 Node:000</em></p>
<p><em>PID:1548(db2syscs.exe) TID:2624 Appid:none</em></p>
<p><em>data protection sqlpgInvokeUserexit Probe:1550 </em></p>
<p><em>ADM1833E The user exit program returned an error when archiving log file </em></p>
<p><em>&#8220;S0015822.LOG&#8221; from &#8220;C:\DB2\NODE0000\SQL00001\SQLOGDIR\&#8221; for database &#8220;SAMPLE&#8221;. </em></p>
<p><em>The error code was &#8220;8&#8243;.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2011/08/02/howto-backup-db2-database-using-userexit-method-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto Restore DB2 Online Backup To Alternate Client on Windows</title>
		<link>http://www.netbackuphowto.com/2011/08/02/howto-restore-db2-online-backup-to-alternate-client-on-windows/</link>
		<comments>http://www.netbackuphowto.com/2011/08/02/howto-restore-db2-online-backup-to-alternate-client-on-windows/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 09:07:09 +0000</pubDate>
		<dc:creator>savas</dc:creator>
				<category><![CDATA[DB2 Backup]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Netbackup Howto]]></category>
		<category><![CDATA[Alternate Client Restore]]></category>
		<category><![CDATA[DB2 Alternate Client]]></category>
		<category><![CDATA[DB2 Alternate Client Restore]]></category>
		<category><![CDATA[DB2 on Windows]]></category>
		<category><![CDATA[db2 redirected restore]]></category>
		<category><![CDATA[DB2 Restore]]></category>
		<category><![CDATA[DB2 Restore on Windows]]></category>
		<category><![CDATA[Howto Restore DB2 Online Backup To Alternate Client on Windows]]></category>
		<category><![CDATA[NetBackup DB2 Alternate Client Restore]]></category>
		<category><![CDATA[netbackup db2 redirected restore]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=671</guid>
		<description><![CDATA[There are some assumptions before starting: 1. You backed up your DB2 database online and with INCLUDE LOGS directive and with &#8220;USEREXIT ON&#8221;. 2. You created two policies to backup your DB2 database, one &#8220;type DB2&#8243; Backup and one Filesystem backup with User-Backup schedule. 3. Database name you backed up was SAMPLE, server name was [...]]]></description>
			<content:encoded><![CDATA[<p>There are some assumptions before starting:<br />
1. You backed up your DB2 database online and with INCLUDE LOGS directive and with &#8220;USEREXIT ON&#8221;.<br />
2. You created two policies to backup your DB2 database, one &#8220;type DB2&#8243; Backup and one Filesystem backup with User-Backup schedule.<br />
3. Database name you backed up was SAMPLE, server name was db2server, instance name was DB2<br />
4. Database name you will restore will also be SAMPLE, server name will be db2altsrv and instance name will also be DB2<br />
5. You don&#8217;t need to create any database on the alternate client system.<br />
6. Create No.Restrictions file inside &#8220;C:\Program Files\Veritas\NetBackup\db\altnames&#8221; directory to allow alternate client restore your original client&#8217;s data (Don&#8217;t forget to delete this file after your restore is completed).</p>
<p><span id="more-671"></span></p>
<p>To restore your database to alternate client db2altsrv:<br />
1. You need to change client name inside the registry(Hint: You should change /usr/openv/netbackup/bp.conf if the client is unix)</p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt1.png"><img class="alignleft size-medium wp-image-672" title="Changing Client name on Alternate Client" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt1-300x174.png" alt="Changing Client name on Alternate Client" width="300" height="174" /></a><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt1-1.png"></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt1-1.png"><img class="alignleft size-medium wp-image-673" title="Changing Client Name on Alternate Client" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt1-1-300x140.png" alt="Changing Client Name on Alternate Client" width="300" height="140" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>2. Create your db2.conf file for restore on the alternate client, I created inside &#8220;C:\Program Files\VERITAS\NetBackup\DbExt\db2&#8243; but it&#8217;s not really important where you create them.</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="614" valign="top"><em># $Header: db2.conf,v 1.6 2009/08/26 15:58:31 $ </em>&nbsp;</p>
<p><em>#</em></p>
<p><em># ***************************************************************************</em></p>
<p><em># * $Copyright: Copyright 1993 &#8211; 2011 Symantec Corporation, All Rights   Reserved $ *</em></p>
<p><em>#   ***************************************************************************</em></p>
<p><em>#</em></p>
<p><em># The following settings are used by NetBackup to backup/restore a DB2   database.</em></p>
<p><em>#</em></p>
<p><em># Reminders:</em></p>
<p><em># 1) The specified policy must have a type of &#8220;DB2&#8243;.</em></p>
<p><em># 2) The specified schedule must be defined for this policy.</em></p>
<p><em># 3) The DB2 database host must be entered as a client for this policy.</em></p>
<p><em>#</em></p>
<p>&nbsp;</p>
<p><em>OBJECTTYPE ALTERNATE</em></p>
<p><em>SRCINST   DB2                      # Instance You Backed up</em></p>
<p><em>SRCALIAS SAMPLE         # Database   You Backed up</em></p>
<p><em>DESINST   DB2                      # Instance You will Restore to</em></p>
<p><em>DESTALIAS SAMPLE      # Database You will restore   to</em></p>
<p><em>ENDOPER</em></p>
<p>&nbsp;</p>
<p><em>DATABASE SAMPLE</em></p>
<p><em>OBJECTTYPE DATABASE</em></p>
<p><em>POLICY DB2-DBBackup    # NetBackup Policy that backed up   your database</em></p>
<p><em>SCHEDULE Default-Application-Backup</em></p>
<p><em>CLIENTNAME db2server  # Client name that was backed up</em></p>
<p><em>ENDOPER</em></p>
<p>&nbsp;</p>
<p><em>#</em></p>
<p><em># The following settings are used by NetBackup to backup/restore DB2 log   files.</em></p>
<p><em>#</em></p>
<p><em>Reminders:</em></p>
<p><em># 1) DB2 transcation logs can be backed up/restored using  either</em></p>
<p><em>#  (a) DB2 User Exit Program</em></p>
<p><em>#       The specified policy must have a   type of &#8220;Standard&#8221; (for UNIX DB2</em></p>
<p><em>#       host) or &#8220;MS-Windows&#8221; (for   Windows DB2 host).</em></p>
<p><em>#</em></p>
<p><em>#  (b) LOGARCHMETH1 can be configured to use NetBackup.</em></p>
<p><em>#      (When LOGARCHMETH1 =   &#8220;VENDOR:NetBackup for DB2 agent&#8221;)</em></p>
<p><em>#       This option is possible only for   versions 8.2 and above.</em></p>
<p><em>#       The specified policy must have a   type of DB2.</em></p>
<p><em>#</em></p>
<p><em># 2) The specified schedule must be defined for this policy.</em></p>
<p><em># 3) The DB2 database host must be entered as a client for this policy.</em></p>
<p><em>#</em></p>
<p>&nbsp;</p>
<p><em># &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em># DB2 User Exit Program</em></p>
<p><em># &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</em></p>
<p><em># If DB2 log file archiving is enabled (DB2 USEREXIT ON), DB2 will invoke</em></p>
<p><em># the NetBackup user-exit program to backup &amp; restore DB2 archive log   files.</em></p>
<p><em># Using ARCFUNC SAVE causes log files to be archived to NetBackup storage,</em></p>
<p><em># as specified by the policy storage-unit setting.</em></p>
<p><em># Using ARCFUNC COPY causes log files to be archived to a disk directory.</em></p>
<p><em># Use ARCDIR to specify the destination directory for log file backup.</em></p>
<p><em># Use RETDIR to specify the source directory for log file restore.</em></p>
<p><em>#</em></p>
<p><em>DATABASE SAMPLE</em></p>
<p><em>OBJECTTYPE ARCHIVE</em></p>
<p><em>POLICY DB2-ArchLogBackup   # NetBackup Policy that backed up   Archive logs</em></p>
<p><em>SCHEDULE User</em></p>
<p><em>ARCFUNC SAVE</em></p>
<p><em>ENDOPER</em></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>3. Open DB2CMD and go into the directory &#8220;C:\Program Files\VERITAS\NetBackup\DbExt\db2&#8243;</p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt5.0.png"><img class="alignleft size-medium wp-image-674" title="DB2CMD" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt5.0-300x156.png" alt="DB2CMD" width="300" height="156" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>4. Start your phase 1 restore (Keep in mind, restore is not completed with single command, so be patient)</p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt5.png"><img class="alignleft size-medium wp-image-675" title="Alternate Restore Phase-1" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt5-300x147.png" alt="Alternate Restore Phase-1" width="300" height="147" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>5. When the first phase is completed, you will see the following message on the DB2CMD screen:</p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt6.png"><img class="alignleft size-medium wp-image-676" title="Restore Phase-1 Completed" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt6-300x147.png" alt="Restore Phase-1 Completed" width="300" height="147" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>6. Complete the restore by issuing the following command:</p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt71.png"><img class="alignleft size-medium wp-image-679" title="Phase-2 Restore" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt71-300x147.png" alt="Phase-2 Restore" width="300" height="147" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>6. At this point, from the Master Server, restore your Archive logs to the same place (NetBackup DB2 Administrator&#8217;s Guide says the logs can be restored to different locations, but i didn&#8217;t involve that here, if you tried and would like to share here, i would be glad to add here)</p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt7.png"></a><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt7.png"></a><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt81.png"><img class="alignleft size-medium wp-image-684" title="Archive Log Restore" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt81-300x174.png" alt="Archive Log Restore" width="300" height="174" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>7. Finish restore by issuing the following command:</p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt9.png"><img class="alignleft size-medium wp-image-680" title="DB2 Rollforward" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt9-300x148.png" alt="DB2 Rollforward" width="300" height="148" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>8. Check your sytem to see if your database is restored successfuly and is online:</p>
<p><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt10.png"><img class="alignleft size-medium wp-image-681" title="DB2 Control Center" src="http://www.netbackuphowto.com/wp-content/uploads/2011/08/alt10-300x185.png" alt="DB2 Control Center" width="300" height="185" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2011/08/02/howto-restore-db2-online-backup-to-alternate-client-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto Enable Multipath On Windows 2008 (and R2)</title>
		<link>http://www.netbackuphowto.com/2011/07/03/howto-enable-multipath-on-windows-2008-and-r2/</link>
		<comments>http://www.netbackuphowto.com/2011/07/03/howto-enable-multipath-on-windows-2008-and-r2/#comments</comments>
		<pubDate>Sun, 03 Jul 2011 09:07:22 +0000</pubDate>
		<dc:creator>savas</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[NetBackup Tips]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Howto Enable Multipath On Windows 2008]]></category>
		<category><![CDATA[Howto Enable Multipath On Windows 2008 R2]]></category>
		<category><![CDATA[MPIO]]></category>
		<category><![CDATA[Multi-path I/O]]></category>
		<category><![CDATA[Multipath I/O]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=669</guid>
		<description><![CDATA[Install Multipath I/O from &#8220;Features&#8221; on Windows Open MPIO through, Start -> Administrative Tools -> MPIO If you can&#8217;t see your device hardware on &#8220;MPIO Devices&#8221; list, switch to &#8220;Discover Multi-paths&#8221; tab and check if your system can discover your Multi-path device. If it can, click &#8220;Add&#8221; to add your device to your device hardware [...]]]></description>
			<content:encoded><![CDATA[<p>Install Multipath I/O from &#8220;Features&#8221; on Windows</p>
<p>Open MPIO through, Start -> Administrative Tools -> MPIO</p>
<p><span id="more-669"></span></p>
<p>If you can&#8217;t see your device hardware on &#8220;MPIO Devices&#8221; list, switch to &#8220;Discover Multi-paths&#8221; tab and check if your system can discover your Multi-path device. If it can, click &#8220;Add&#8221; to add your device to your device hardware list.<br />
Your system will ask to be restarted after the process is completed. Reboot your system and check if you have multipath I/O enabled for your disks/tapes etc&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2011/07/03/howto-enable-multipath-on-windows-2008-and-r2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS-SQL Backup Troubleshooting</title>
		<link>http://www.netbackuphowto.com/2011/05/05/ms-sql-backup-troubleshooting/</link>
		<comments>http://www.netbackuphowto.com/2011/05/05/ms-sql-backup-troubleshooting/#comments</comments>
		<pubDate>Thu, 05 May 2011 11:28:48 +0000</pubDate>
		<dc:creator>savas</dc:creator>
				<category><![CDATA[NetBackup Tips]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[MS-Sql Backup]]></category>
		<category><![CDATA[MSSQL Backup]]></category>
		<category><![CDATA[sql backup]]></category>
		<category><![CDATA[SQL Backup Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=661</guid>
		<description><![CDATA[If you&#8217;re having problems when trying to backup an MS-SQL database, as well as other things, you better give a try to the following: If sql server&#8217;s hostname is written as uppercase inside the SQL batch script, try the writing the client name in uppercase inside your sql policy. It worked for me.]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re having problems when trying to backup an MS-SQL database, as well as other things, you better give a try to the following:<br />
If sql server&#8217;s hostname is written as uppercase inside the SQL batch script, try the writing the client name in uppercase inside your sql policy.<br />
It worked for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2011/05/05/ms-sql-backup-troubleshooting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto Restore Controlfile as File</title>
		<link>http://www.netbackuphowto.com/2011/04/27/howto-restore-controlfile-as-file/</link>
		<comments>http://www.netbackuphowto.com/2011/04/27/howto-restore-controlfile-as-file/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 10:47:11 +0000</pubDate>
		<dc:creator>savas</dc:creator>
				<category><![CDATA[Netbackup Howto]]></category>
		<category><![CDATA[Oracle Backup]]></category>
		<category><![CDATA[controlfile]]></category>
		<category><![CDATA[controlfile restore]]></category>
		<category><![CDATA[Howto Restore Controlfile as File]]></category>
		<category><![CDATA[rman restore]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=646</guid>
		<description><![CDATA[To be able to restore your controlfile you need to issue the following command: (Please note, Oracle Catalog is also used) -bash-4.0$ rman target / rcvcat rman_user/password@catalog_host RUN { ALLOCATE CHANNEL ch00 TYPE &#8216;SBT_TAPE&#8217;; SEND &#8216;NB_ORA_CLIENT=source_client, NB_ORA_POLICY=rman_backup_policy, NB_ORA_SERV=nbu_master_server&#8217;; restore controlfile to &#8216;/tmp/cc_TAG6858276735T626245.ctl&#8217; from tag=TAG6858276735T626245 ; } Special thanks to Tamer.]]></description>
			<content:encoded><![CDATA[<p>To be able to restore your controlfile you need to issue the following command:</p>
<p><em>(Please note, Oracle Catalog is also used)</em></p>
<p><span id="more-646"></span></p>
<p>-bash-4.0$ rman target / rcvcat rman_user/password@catalog_host</p>
<p>RUN {<br />
ALLOCATE CHANNEL ch00 TYPE &#8216;SBT_TAPE&#8217;;<br />
SEND &#8216;NB_ORA_CLIENT=source_client,<br />
NB_ORA_POLICY=rman_backup_policy,<br />
NB_ORA_SERV=nbu_master_server&#8217;;</p>
<div id=":sx">
<div>restore controlfile to &#8216;/tmp/cc_TAG6858276735T626245.ctl&#8217;<br />
from tag=TAG6858276735T626245 ;<br />
}</div>
<div><em>Special thanks to <a target="_blank" title="http://www.comtmr.blogspot.com/" href="http://www.comtmr.blogspot.com/">Tamer</a>.</em></div>
<div><em><br />
</em></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2011/04/27/howto-restore-controlfile-as-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto Troubleshoot &#8220;Cannot connect to DAG&#8221; and/or &#8220;client/server handshaking failed(26)&#8221;</title>
		<link>http://www.netbackuphowto.com/2011/03/31/howto-troubleshoot-cannot-connect-to-dag-andor-clientserver-handshaking-failed26/</link>
		<comments>http://www.netbackuphowto.com/2011/03/31/howto-troubleshoot-cannot-connect-to-dag-andor-clientserver-handshaking-failed26/#comments</comments>
		<pubDate>Thu, 31 Mar 2011 12:05:38 +0000</pubDate>
		<dc:creator>savasirez</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[can't connect to client]]></category>
		<category><![CDATA[Cannot connect to DAG]]></category>
		<category><![CDATA[client/server handshaking failed(26)]]></category>
		<category><![CDATA[status 58]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=640</guid>
		<description><![CDATA[You may find different reasons that caused this problem but, the frst thing to check should the Cluster configuration for the Database Availability Group (Not on exchange side, but the MS Cluster side), check for the resources and make sure all of them are configured and working properly. If your backup server is on the [...]]]></description>
			<content:encoded><![CDATA[<p>You may find different reasons that caused this problem but, the frst thing to check should the Cluster configuration for the Database Availability Group (Not on exchange side, but the MS Cluster side), check for the resources and make sure all of them are configured and working properly.</p>
<p><span id="more-640"></span></p>
<p>If your backup server is on the same network as the DAG servers, make sure that you can resolve the DAG server&#8217;s MAC address.</p>
<p>You can check it by &#8220;arp -a&#8221; from a command prompt.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2011/03/31/howto-troubleshoot-cannot-connect-to-dag-andor-clientserver-handshaking-failed26/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NetBackup AIR (Automatic Image Replication) Configuration</title>
		<link>http://www.netbackuphowto.com/2011/03/31/netbackup-air-automatic-image-replication-configuration/</link>
		<comments>http://www.netbackuphowto.com/2011/03/31/netbackup-air-automatic-image-replication-configuration/#comments</comments>
		<pubDate>Wed, 30 Mar 2011 22:54:40 +0000</pubDate>
		<dc:creator>savas</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Netbackup Howto]]></category>
		<category><![CDATA[Howto configure NetBackup Air]]></category>
		<category><![CDATA[Howto Configure NetBackup Automatic Image Replication]]></category>
		<category><![CDATA[Howto duplicate your backups to Disaster Recovery site]]></category>
		<category><![CDATA[Howto duplicate your backups to DR master]]></category>
		<category><![CDATA[Howto Replicate your backups to Disaster Recovery site]]></category>
		<category><![CDATA[Howto Replicate your backups to DR master]]></category>
		<category><![CDATA[NetBackup AIR]]></category>
		<category><![CDATA[NetBackup AIR configuration]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=567</guid>
		<description><![CDATA[First of all I would like to state that, you should read the requirements about AIR configuration on NetBackup guides. Then I need to warn, this is quite a long howto&#8230; :) Here is my setup: OC site: One Master/media server with MSDP configured already (but not diskpool or stu) DR site: One Master/media server [...]]]></description>
			<content:encoded><![CDATA[<p>First of all I would like to state that, you should read the requirements about AIR configuration on NetBackup guides. Then I need to warn, this is quite a long howto&#8230; :)</p>
<p><span id="more-567"></span></p>
<p>Here is my setup:</p>
<p>OC site: One Master/media server with MSDP configured already (but not diskpool or stu)</p>
<p>DR site: One Master/media server with MSDP configured already (but not diskpool or stu)</p>
<p>Make sure you have configured your Storage server for MSDP on both sites.</p>
<p>1. Open your storage server on your Primary (OC) site.</p>
<p>&#8220;Media and Device Management&#8221; -&gt; &#8220;Credentials&#8221; -&gt; &#8220;Storage Servers&#8221; and click on &#8220;Replication&#8221; tab.</p>
<div id="attachment_568" class="wp-caption alignleft" style="width: 190px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air0.png"><img class="size-medium wp-image-568 " title="Storage Server" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air0-300x218.png" alt="" width="180" height="131" /></a><p class="wp-caption-text">Storage Server</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>2. Add your DR (Secondary) site storage server (with MSDP credentials).</p>
<div id="attachment_569" class="wp-caption alignleft" style="width: 186px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air1.png"><img class="size-medium wp-image-569 " title="DR Storage Server Credentials" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air1-293x300.png" alt="" width="176" height="180" /></a><p class="wp-caption-text">DR Storage Server Credentials</p></div>
<div id="attachment_570" class="wp-caption alignleft" style="width: 186px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air2.png"><img class="size-medium wp-image-570 " title="DR Site Storage Server" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air2-294x300.png" alt="" width="176" height="180" /></a><p class="wp-caption-text">DR Site Storage Server</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>3. Create your Disk Pool on your OC site:</p>
<p>&#8220;Media and Device Management&#8221; -&gt;&#8221;Devices&#8221; -&gt; &#8220;Disk Pools&#8221; -&gt; New</p>
<div id="attachment_571" class="wp-caption alignleft" style="width: 190px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air3.png"><img class="size-medium wp-image-571 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air3-300x233.png" alt="" width="180" height="140" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<div id="attachment_572" class="wp-caption alignleft" style="width: 174px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air4.png"><img class="size-medium wp-image-572 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air4-273x300.png" alt="" width="164" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Select Puredisk as &#8220;Disk Pool Type&#8221; and select your OC site storage server</p>
<div id="attachment_573" class="wp-caption alignleft" style="width: 173px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air5.png"><img class="size-medium wp-image-573 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air5-272x300.png" alt="" width="163" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<div id="attachment_574" class="wp-caption alignleft" style="width: 173px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air6.png"><img class="size-medium wp-image-574 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air6-272x300.png" alt="" width="163" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Select the Volume you have on your OC site storage server</p>
<div id="attachment_575" class="wp-caption alignleft" style="width: 173px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air7.png"><img class="size-medium wp-image-575 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air7-272x300.png" alt="" width="163" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Fill your new disk pool properties and verify them and click Next and then Click Next to start Creating your Storage Unit</p>
<div id="attachment_576" class="wp-caption alignleft" style="width: 173px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air8.png"><img class="size-medium wp-image-576 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air8-272x300.png" alt="" width="163" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<div id="attachment_577" class="wp-caption alignleft" style="width: 174px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air9.png"><img class="size-medium wp-image-577 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air9-273x300.png" alt="" width="164" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_578" class="wp-caption alignleft" style="width: 173px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air10.png"><img class="size-medium wp-image-578 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air10-272x300.png" alt="" width="163" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<div id="attachment_579" class="wp-caption alignleft" style="width: 173px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air11.png"><img class="size-medium wp-image-579 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air11-272x300.png" alt="" width="163" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Fill your new Storage Unit properties and then click Finish.</p>
<div id="attachment_580" class="wp-caption alignleft" style="width: 173px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air12.png"><img class="size-medium wp-image-580 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air12-272x300.png" alt="" width="163" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<div id="attachment_581" class="wp-caption alignleft" style="width: 173px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air13.png"><img class="size-medium wp-image-581 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air13-271x300.png" alt="" width="163" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>4. Connect to your DR site master server and create a new disk pool.</p>
<p>&#8220;Media and Device Management&#8221; -&gt;&#8221;Devices&#8221; -&gt; &#8220;Disk Pools&#8221; -&gt; New</p>
<div id="attachment_582" class="wp-caption alignleft" style="width: 190px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air14.png"><img class="size-medium wp-image-582 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air14-300x225.png" alt="" width="180" height="135" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<div id="attachment_583" class="wp-caption alignleft" style="width: 174px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air15.png"><img class="size-medium wp-image-583 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air15-273x300.png" alt="" width="164" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Select Puredisk as &#8220;Disk Pool Type&#8221; and select your DR site storage server</p>
<div id="attachment_584" class="wp-caption alignleft" style="width: 173px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air16.png"><img class="size-medium wp-image-584 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air16-272x300.png" alt="" width="163" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<div id="attachment_585" class="wp-caption alignleft" style="width: 174px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air17.png"><img class="size-medium wp-image-585 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air17-273x300.png" alt="" width="164" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Select the Volume you have on your DR site storage server, <span style="text-decoration: underline;"><strong>note that the &#8220;Replication&#8221; column is now &#8220;Destination&#8221;</strong></span></p>
<div id="attachment_586" class="wp-caption alignleft" style="width: 174px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air18.png"><img class="size-medium wp-image-586 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air18-274x300.png" alt="" width="164" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Fill your new disk pool properties and verify them and click Next and then Click Next to start Creating your Storage Unit</p>
<div id="attachment_587" class="wp-caption alignleft" style="width: 173px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air19.png"><img class="size-medium wp-image-587 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air19-272x300.png" alt="" width="163" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<div id="attachment_588" class="wp-caption alignleft" style="width: 173px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air20.png"><img class="size-medium wp-image-588 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air20-272x300.png" alt="" width="163" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_589" class="wp-caption alignleft" style="width: 173px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air21.png"><img class="size-medium wp-image-589 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air21-272x300.png" alt="" width="163" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<div id="attachment_590" class="wp-caption alignleft" style="width: 173px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air22.png"><img class="size-medium wp-image-590 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air22-272x300.png" alt="" width="163" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Fill your new Storage Unit properties and then click Finish.</p>
<div id="attachment_591" class="wp-caption alignleft" style="width: 174px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air23.png"><img class="size-medium wp-image-591 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air23-273x300.png" alt="" width="164" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<div id="attachment_592" class="wp-caption alignleft" style="width: 173px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air24.png"><img class="size-medium wp-image-592 " title="Puredisk Disk Pool Creation" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air24-272x300.png" alt="" width="163" height="180" /></a><p class="wp-caption-text">Puredisk Disk Pool Creation</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>5. On your OC site master server, go to &#8220;NetBackup Management&#8221; -&gt; &#8220;Storage&#8221; -&gt; &#8220;Storage Lifecycle Policies&#8221; -&gt; New</p>
<div id="attachment_593" class="wp-caption alignleft" style="width: 190px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air25.png"><img class="size-medium wp-image-593 " title="SLP Creation for Replication" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air25-300x260.png" alt="" width="180" height="156" /></a><p class="wp-caption-text">SLP Creation for Replication</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Click &#8220;Add&#8221; and create a &#8220;New Storage Destination&#8221;. <span style="text-decoration: underline;"><strong>Note that Automatic Image Replication is only possible when you first backup to an OST device/server (like Puredisk in this example)</strong></span>. So PD-STU01 should be selected as the first backup point.</p>
<div id="attachment_594" class="wp-caption alignleft" style="width: 190px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air26.png"><img class="size-medium wp-image-594 " title="SLP Creation for Replication" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air26-300x185.png" alt="" width="180" height="111" /></a><p class="wp-caption-text">SLP Creation for Replication</p></div>
<div id="attachment_595" class="wp-caption alignleft" style="width: 190px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air27.png"><img class="size-medium wp-image-595 " title="SLP Creation for Replication" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air27-300x184.png" alt="" width="180" height="110" /></a><p class="wp-caption-text">SLP Creation for Replication</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>If you have other storage units, you can add them as well. In this example a tape device is added. Then using the right arrow, make this a copy of the first.</p>
<div id="attachment_596" class="wp-caption alignleft" style="width: 190px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air28.png"><img class="size-medium wp-image-596 " title="SLP Creation for Replication" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air28-300x184.png" alt="" width="180" height="110" /></a><p class="wp-caption-text">SLP Creation for Replication</p></div>
<div id="attachment_597" class="wp-caption alignleft" style="width: 190px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air29.png"><img class="size-medium wp-image-597 " title="SLP Creation for Replication" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air29-300x184.png" alt="" width="180" height="110" /></a><p class="wp-caption-text">SLP Creation for Replication</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Click &#8220;Add&#8221; once again and choose &#8220;Remote Master&#8221; as the destination of this copy and make sure it&#8217;s place by using the arrows.</p>
<div id="attachment_598" class="wp-caption alignleft" style="width: 190px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air30.png"><img class="size-medium wp-image-598 " title="SLP Creation for Replication" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air30-300x184.png" alt="" width="180" height="110" /></a><p class="wp-caption-text">SLP Creation for Replication</p></div>
<div id="attachment_599" class="wp-caption alignleft" style="width: 190px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air31.png"><img class="size-medium wp-image-599 " title="SLP Creation for Replication" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air31-300x166.png" alt="" width="180" height="100" /></a><p class="wp-caption-text">SLP Creation for Replication</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_600" class="wp-caption alignleft" style="width: 310px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air32.png"><img class="size-medium wp-image-600" title="SLP Creation for Replication" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air32-300x63.png" alt="" width="300" height="63" /></a><p class="wp-caption-text">SLP Creation for Replication</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>6. On your DR site master server, go to &#8220;NetBackup Management&#8221; -&gt; &#8220;Storage&#8221; -&gt; &#8220;Storage Lifecycle Policies&#8221; -&gt; New</p>
<p><span style="text-decoration: underline;"><strong>Keep in mind, it&#8217;s required to use the same SLP name as it is on OC site master server.</strong></span></p>
<div id="attachment_601" class="wp-caption alignleft" style="width: 190px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air33.png"><img class="size-medium wp-image-601 " title="SLP Creation for Replication Import" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air33-300x214.png" alt="" width="180" height="128" /></a><p class="wp-caption-text">SLP Creation for Replication Import</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Click &#8220;Add&#8221; and choose &#8220;Import&#8221; for &#8220;Use for&#8221;, then choose &#8220;Remote Retention(specified in the source SLP)&#8221; as the &#8220;Retention Type&#8221; and choose your DR site Puredisk Storage Unit.</p>
<div id="attachment_602" class="wp-caption alignleft" style="width: 190px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air34.png"><img class="size-medium wp-image-602 " title="SLP Creation for Replication Import" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air34-300x178.png" alt="" width="180" height="107" /></a><p class="wp-caption-text">SLP Creation for Replication Import</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>If you have other storage units, you can add them as well. In this example a tape device is added. Then using the right arrow, make this a copy of the first.</p>
<div id="attachment_603" class="wp-caption alignleft" style="width: 190px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air35.png"><img class="size-medium wp-image-603 " title="SLP Creation for Replication Import" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air35-300x178.png" alt="" width="180" height="107" /></a><p class="wp-caption-text">SLP Creation for Replication Import</p></div>
<div id="attachment_604" class="wp-caption alignleft" style="width: 190px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air36.png"><img class="size-medium wp-image-604 " title="SLP Creation for Replication Import" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air36-300x177.png" alt="" width="180" height="106" /></a><p class="wp-caption-text">SLP Creation for Replication Import</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Now, use this SLP on your policies which you want the backups be replicated to your DR site.</p>
<p>How this configuration is going to run?</p>
<p>1. The backup will be taken to your OC Puredisk Pool</p>
<p>2. Then it will be copied to your tape device</p>
<p>3. At the same time, it will be replicated to your DR site, see below:</p>
<div id="attachment_605" class="wp-caption alignleft" style="width: 190px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air37.png"><img class="size-medium wp-image-605 " title="Replication from OC" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air37-300x160.png" alt="" width="180" height="96" /></a><p class="wp-caption-text">Replication from OC</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>4. When the replication is complete, it will be directly imported on your DR site, see below:</p>
<div id="attachment_606" class="wp-caption alignleft" style="width: 190px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air38.png"><img class="size-medium wp-image-606 " title="Replication Import on DR site" src="http://www.netbackuphowto.com/wp-content/uploads/2011/03/air38-300x178.png" alt="" width="180" height="107" /></a><p class="wp-caption-text">Replication Import on DR site</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>5. As a last action the imported backups will be duplicated to your tape in your DR center.</p>
<p>&nbsp;</p>
<div style="width:400px;display:block;border:none;margin:0;padding:0;">
<div id='iframe_container_61B-0DF-AA3' style='width:400px;height:300px;display:block;border:none;margin:0;padding:0;overflow:hidden;'></div>
<div style="display:block;background:#eee;border:solid 1px #d6d6d6;border-top:solid 1px #ccc;color:#666;font-family:Arial,sans-serif;font-size:11px;font-weight:normal;font-style:normal;line-height:14px;margin:0;padding:5px 0;text-transform:none;text-align:center;">
    <a target="_blank" href="http://www.techvalidate.com/" style="color:#555" target="_blank">TechValidate</a> &raquo; <a target="_blank" href="http://www.techvalidate.com/product-research/symantec-veritas-netbackup" style="color:#555" target="_blank">Symantec NetBackup</a>
    </div>
<p>    <script type="text/javascript">
    var protocol = (("https:" == document.location.protocol) ? "https://" : "http://");
    document.write(unescape("%3Cscript src='" + protocol + "www.techvalidate.com/javascripts/embed.js' type='text/javascript'%3E%3C/script%3E"));
    </script><br />
    <script type='text/javascript'>
    var tvFact_61B0DFAA3 = new TVFact();
    tvFact_61B0DFAA3.initialize({width: 400, height: 300,  'tvid':'61B-0DF-AA3', 'protocol':document.location.protocol});
    tvFact_61B0DFAA3.display();
    </script>
    </div>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2011/03/31/netbackup-air-automatic-image-replication-configuration/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>directory doesn&#8217;t have 1024000 KB of space available</title>
		<link>http://www.netbackuphowto.com/2011/03/30/directory-doesnt-have-1024000-kb-of-space-available/</link>
		<comments>http://www.netbackuphowto.com/2011/03/30/directory-doesnt-have-1024000-kb-of-space-available/#comments</comments>
		<pubDate>Wed, 30 Mar 2011 21:12:27 +0000</pubDate>
		<dc:creator>savas</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[directory doesn't have 1024000 KB of space available]]></category>
		<category><![CDATA[NBCC]]></category>
		<category><![CDATA[NBCC check]]></category>
		<category><![CDATA[NBCC encountered an error condition of some type]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=565</guid>
		<description><![CDATA[If you face with the following error when trying to run NBCC to check your catalog database although you have enough space, &#160; 1.0  Gathering initial NBCC information 1.1  Obtaining initial NetBackup configuration information NBCC is being run on NetBackup master server backupserver NBCC version 7.1 Gather mode = full NBCC command line = C:\Program [...]]]></description>
			<content:encoded><![CDATA[<p>If you face with the following error when trying to run NBCC to check your catalog database although you have enough space,</p>
<p><span id="more-565"></span></p>
<p>&nbsp;</p>
<p>1.0  Gathering initial NBCC information<br />
1.1  Obtaining initial NetBackup configuration information</p>
<p>NBCC is being run on NetBackup master server<br />
backupserver<br />
NBCC version 7.1 Gather mode = full</p>
<p>NBCC command line = C:\Program Files\Veritas\NetBackup\bin\support\NBCC.exe</p>
<p>OS name  = MSWin32</p>
<p>OS version = Microsoft Windows [Version 5.2.3790]</p>
<p>NetBackup Install path = C:\Program Files\Veritas\</p>
<p>&gt; dir output\nbcc\backupserver_NBCC_20110330_223514 2&gt;&amp;1</p>
<p>Parsed output for &#8220;bytes free&#8221;</p>
<p>4 Dir(s)  567.705.044.480 bytes free</p>
<p>The filesystem for the<br />
output\nbcc\backupserver_NBCC_20110330_223514<br />
directory either doesn&#8217;t have 1024000 KB of space available.<br />
Evaluate the space available and the potential space requirements<br />
needed by NBCC to perform the consistency checks and look at the<br />
potential usage of the -kbfree command line switch.<br />
Report complete, closing the<br />
.\output\nbcc\backupserver_NBCC_20110330_223514\nbcc-info.txt<br />
output file.</p>
<p>&nbsp;</p>
<p>The problem is most probably your regional settings. NBCC fails while parsing the &#8220;bytes free&#8221; as it contains dots (&#8220;.&#8221;) instead of commas (&#8220;,&#8221;).</p>
<p>You should change it according to the following Technote:</p>
<p><a target="_blank" href="http://www.symantec.com/business/support/index?page=content&amp;id=TECH53295&amp;key=15143&amp;actp=LIST">GENERAL ERROR: &#8220;NBCC encountered an error condition of some type!&#8221;  and &#8220;directory doesn&#8217;t have 1024000 KB of space available&#8221; when running  the NBCC tool on a server with non English language setting.</a></p>
<p>Or if you&#8217;re using NetBackup 7.1, the following technote can be helpful to you:</p>
<p><a target="_blank" href="http://www.symantec.com/business/support/index?page=content&amp;id=TECH146550&amp;cat=SYMANTEC_PRODUCTS&amp;actp=LIST">GENERAL ERROR: NBCC fails with the following error message &#8220;directory either doesn&#8217;t have 1024000 KB of space available&#8221;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2011/03/30/directory-doesnt-have-1024000-kb-of-space-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mistakes I Make Very Often</title>
		<link>http://www.netbackuphowto.com/2011/03/30/mistakes-i-make-very-often/</link>
		<comments>http://www.netbackuphowto.com/2011/03/30/mistakes-i-make-very-often/#comments</comments>
		<pubDate>Wed, 30 Mar 2011 15:22:17 +0000</pubDate>
		<dc:creator>savasirez</dc:creator>
				<category><![CDATA[NetBackup Tips]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[mistakes]]></category>
		<category><![CDATA[mistakes i make]]></category>
		<category><![CDATA[mistakes i make everyday]]></category>
		<category><![CDATA[mistakes i make often]]></category>
		<category><![CDATA[netbackup configuration mistakes]]></category>
		<category><![CDATA[netbackup mistakes]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=561</guid>
		<description><![CDATA[I will write here the mistakes I am making very often, this post will be updated regularly.. 1. After setting up Multiplexing on the STU&#8217;s, policies and clients etc, everything works fine&#8230; Then I disable multiplexing on one the policies, and i forgot what i did. When I return back and start the policy, the [...]]]></description>
			<content:encoded><![CDATA[<p>I will write here the mistakes I am making very often, this post will be updated regularly..</p>
<p>1. After setting up Multiplexing on the STU&#8217;s, policies and clients etc, everything works fine&#8230; Then I disable multiplexing on one the policies, and i forgot what i did.<br />
When I return back and start the policy, the backups run without multiplexing, and i always wonder why&#8230; :)<br />
When changing the policy with multiplexing increased, everything runs as they were before&#8230;</p>
<p><span id="more-561"></span></p>
<p>2. When trying to add a new media server to my puredisk storage server configuration (Using PDDO, not MSDP), I always forget to check dns resolution between the master server &#8211; media server and puredisk server. And this causes problems like: &#8220;Add credentials failed for media server&#8221;<br />
When i resolve dns resolution problems on these servers, everything continues to work fine&#8230;</p>
<p>3. Everytime I forget use and requirements of bpbackup and fail to run. I always forget that I need to give permission on master server if i want to run bpbackup from a client. (Ref: Symantec NetBackup Commands Reference Guide 7.1, page 58. )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2011/03/30/mistakes-i-make-very-often/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Administration Console Not Refreshing Client Version</title>
		<link>http://www.netbackuphowto.com/2011/03/28/administration-console-not-refreshing-client-version/</link>
		<comments>http://www.netbackuphowto.com/2011/03/28/administration-console-not-refreshing-client-version/#comments</comments>
		<pubDate>Sun, 27 Mar 2011 23:04:54 +0000</pubDate>
		<dc:creator>savas</dc:creator>
				<category><![CDATA[NetBackup Tips]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Administration console]]></category>
		<category><![CDATA[client version not refreshed]]></category>
		<category><![CDATA[NBU 7.1]]></category>
		<category><![CDATA[NetBackup 7.1]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=554</guid>
		<description><![CDATA[I guess it&#8217;s some kind of a bug on NetBackup 7.1. Just close your administration console and re-open, and try again, you should be able to see your client&#8217;s version update&#8230;]]></description>
			<content:encoded><![CDATA[<p>I guess it&#8217;s some kind of a bug on NetBackup 7.1. Just close your administration console and re-open, and try again, you should be able to see your client&#8217;s version update&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2011/03/28/administration-console-not-refreshing-client-version/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Why &#8220;requested media id is not assigned to this host in the EMM database&#8221; ?</title>
		<link>http://www.netbackuphowto.com/2011/03/14/why-requested-media-id-is-not-assigned-to-this-host-in-the-emm-database/</link>
		<comments>http://www.netbackuphowto.com/2011/03/14/why-requested-media-id-is-not-assigned-to-this-host-in-the-emm-database/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 10:24:11 +0000</pubDate>
		<dc:creator>savas</dc:creator>
				<category><![CDATA[NetBackup Tips]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[bpexpdate]]></category>
		<category><![CDATA[bpexpdate -host]]></category>
		<category><![CDATA[Expiring a media assigned to another media server]]></category>
		<category><![CDATA[requested media id is not assigned to this host]]></category>
		<category><![CDATA[requested media id is not assigned to this host in the EMM database]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=551</guid>
		<description><![CDATA[When you wanted to expire a media you faced with the following error: (master_server)/var/adm&#62;bpexpdate -d 0 -m LT1007 Media LT1007 is due to expire at 03/20/2011 19:48:19 Are you sure that the data on this media is not critical to your business, and you are sure you want to delete LT1007 y/n (n)? y requested [...]]]></description>
			<content:encoded><![CDATA[<p>When you wanted to expire a media you faced with the following error:</p>
<p><em>(master_server)/var/adm&gt;bpexpdate -d 0 -m LT1007</em><br />
<em>Media LT1007 is due to expire at 03/20/2011 19:48:19</em><br />
<em>Are you sure that the data on this media is not critical to</em><br />
<em>your business, and you are sure you want to delete LT1007 y/n (n)? y</em><br />
<em><strong>requested media id is not assigned to this host in the EMM database<br />
</strong>(master_server)/var/adm&gt;</em></p>
<p><span id="more-551"></span></p>
<p>Check your Media list and ensure that the media that you&#8217;re trying to expire is not assigned to another host. If it&#8217;s assigned to another media server, you can expire your media by adding the &#8220;-host media_server&#8221; switch to the command:</p>
<p><em>(master_server)/var/adm&gt;bpexpdate -d 0 -m LT1007 <strong>-host other_media_server</strong></em><br />
<em>Media LT1007 is due to expire at 03/20/2011 19:48:19</em><br />
<em>Are you sure that the data on this media is not critical to</em><br />
<em>your business, and you are sure you want to delete LT1007 y/n (n)? y</em><br />
<em>(master_server)/var/adm&gt;</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2011/03/14/why-requested-media-id-is-not-assigned-to-this-host-in-the-emm-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Be Careful with SAN Client</title>
		<link>http://www.netbackuphowto.com/2011/03/12/be-careful-with-san-client/</link>
		<comments>http://www.netbackuphowto.com/2011/03/12/be-careful-with-san-client/#comments</comments>
		<pubDate>Sat, 12 Mar 2011 21:23:47 +0000</pubDate>
		<dc:creator>savas</dc:creator>
				<category><![CDATA[NetBackup Tips]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[NetBackup SAN Client]]></category>
		<category><![CDATA[san client]]></category>
		<category><![CDATA[SAN Client impact]]></category>
		<category><![CDATA[SAN Client impact on database performance]]></category>
		<category><![CDATA[SAN Client performance]]></category>
		<category><![CDATA[SAN Client with 10 channels]]></category>
		<category><![CDATA[SAN Client with 6 channels]]></category>
		<category><![CDATA[SAN Client with 8 channels]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=546</guid>
		<description><![CDATA[Be careful when backing up an Oracle through &#8220;NetBackup SAN Client&#8221;, or you might have to investigate &#8220;what the hell happened to the system while backing up through 10 channels and at a speed of 250MBytes/sec?&#8221;. It&#8217;s hard to know without testing but, it seems like, backing up an Oracle database with 10 channels, which [...]]]></description>
			<content:encoded><![CDATA[<p>Be careful when backing up an Oracle through &#8220;NetBackup SAN Client&#8221;, or you might have to investigate &#8220;what the hell happened to the system while backing up through 10 channels and at a speed of 250MBytes/sec?&#8221;.</p>
<p><span id="more-546"></span></p>
<p>It&#8217;s hard to know without testing but, it seems like, backing up an Oracle database with 10 channels, which is running with 24 cpu&#8217;s, through a 16 cpu&#8217;ed media server is a bit too much&#8230; I think 6 is a good number, but I intend to try again at a later time with 8 channels.</p>
<p>Eventually, 8 channels means around 200Mbytes/sec, while 6 channels means around 150Mbytes/sec, which is a significant difference of 50Mbytes/sec&#8230; :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2011/03/12/be-careful-with-san-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto Stream Databases (Parallel Backup) to Different Tapes on MS-SQL Backups</title>
		<link>http://www.netbackuphowto.com/2011/03/11/howto-stream-databases-parallel-backup-to-different-tapes-on-ms-sql-backups/</link>
		<comments>http://www.netbackuphowto.com/2011/03/11/howto-stream-databases-parallel-backup-to-different-tapes-on-ms-sql-backups/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 22:44:55 +0000</pubDate>
		<dc:creator>savas</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[MS-Sql Backup]]></category>
		<category><![CDATA[Netbackup Howto]]></category>
		<category><![CDATA[NetBackup Tips]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[batchsize]]></category>
		<category><![CDATA[How to back up multiple Microsoft SQL Databases in parallel using more than 1 tape drive]]></category>
		<category><![CDATA[parallel database backup]]></category>
		<category><![CDATA[sql backup]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=542</guid>
		<description><![CDATA[It&#8217;s actually easy.. Just add BATCHSIZE at the beginning of your sql backup script. Below is an example, a backup script which backs up every database inside MS-SQL ($ALL) to 2 tapes. BATCHSIZE 2 OPERATION BACKUP DATABASE $ALL SQLHOST &#8220;BIZTALKSQL1&#8243; NBSERVER &#8220;VERITAS&#8221; MAXTRANSFERSIZE 0 BLOCKSIZE 0 POLICY BiztalkSQL1 NUMBUFS 2 ENDOPER TRUE Keep in mind, [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s actually easy..</p>
<p>Just add BATCHSIZE at the beginning of your sql backup script.</p>
<p>Below is an example, a backup script which backs up every database inside MS-SQL ($ALL) to 2 tapes.</p>
<p><span id="more-542"></span></p>
<p>BATCHSIZE 2<br />
OPERATION BACKUP<br />
DATABASE $ALL<br />
SQLHOST &#8220;BIZTALKSQL1&#8243;<br />
NBSERVER &#8220;VERITAS&#8221;<br />
MAXTRANSFERSIZE 0<br />
BLOCKSIZE 0<br />
POLICY BiztalkSQL1<br />
NUMBUFS 2<br />
ENDOPER TRUE</p>
<p>Keep in mind, you must adjust your <span style="text-decoration: underline;">maximum jobs per client</span> configuration on your system if needed&#8230;</p>
<p>Reference: <a target="_blank" href="http://www.symantec.com/business/support/index?page=content&amp;id=TECH18392" target="_blank">http://www.symantec.com/docs/TECH18392</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2011/03/11/howto-stream-databases-parallel-backup-to-different-tapes-on-ms-sql-backups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Handy Command for SAN Client Configuration</title>
		<link>http://www.netbackuphowto.com/2011/03/10/a-handy-command-for-san-client-configuration/</link>
		<comments>http://www.netbackuphowto.com/2011/03/10/a-handy-command-for-san-client-configuration/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 13:15:44 +0000</pubDate>
		<dc:creator>savas</dc:creator>
				<category><![CDATA[NetBackup Tips]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[nbftconfig]]></category>
		<category><![CDATA[san client]]></category>
		<category><![CDATA[san client configuration]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=540</guid>
		<description><![CDATA[[root@mediaserver admincmd]# ./nbftconfig -help USAGE: nbftconfig [-addclient] [-deleteclient] [-changeclient] [-rescanclient] [-listclients] [-addserver] [-deleteserver] [-changeserver] [-listservers] [-listtargets] [-listactive] [-setconfig] [-getconfig] [-verbose] [-help] For detailed usage of each operation, use: nbftconfig -help &#60;operation&#62; &#160; [root@mediaserver admincmd]# ./nbftconfig -help -addclient USAGE: nbftconfig -[ac]addclient -C &#60;client_name&#62; [-M &#60;master_server&#62;] [-ftpref &#60;preferred &#124; always &#124; never&#62; -ftwait &#60;minutes&#62; -ftrwait &#60;minutes&#62;] Note: [...]]]></description>
			<content:encoded><![CDATA[<p>[root@mediaserver admincmd]# ./<a target="_blank" href="http://www.savasirez.nettag/%post_tag%">nbftconfig</a> -help</p>
<p>USAGE:<br />
<a target="_blank" href="http://www.savasirez.nettag/%post_tag%">nbftconfig</a> [-addclient] [-deleteclient] [-changeclient] [-rescanclient]<br />
[-listclients] [-addserver] [-deleteserver] [-changeserver]<br />
[-listservers] [-listtargets] [-listactive] [-setconfig]<br />
[-getconfig] [-verbose] [-help]</p>
<p><span id="more-540"></span></p>
<p>For detailed usage of each operation, use:<br />
<a target="_blank" href="http://www.savasirez.nettag/%post_tag%">nbftconfig</a> -help &lt;operation&gt;</p>
<p>&nbsp;</p>
<p>[root@mediaserver admincmd]# ./nbftconfig -help -addclient</p>
<p>USAGE:<br />
nbftconfig -[ac]addclient -C &lt;client_name&gt; [-M &lt;master_server&gt;]<br />
[-ftpref &lt;preferred | always | never&gt;<br />
-ftwait &lt;minutes&gt; -ftrwait &lt;minutes&gt;]<br />
Note:<br />
1. If -M option is not used, local machine’s master server is assumed<br />
2. If preferences are not provided, master server defaults are used<br />
3. -ftwait and -ftrwait are required only if -ftpref is set to “preferred”</p>
<p>[root@mediaserver admincmd]# ./nbftconfig -help -deleteclient</p>
<p>USAGE:<br />
nbftconfig -[dc]deleteclient &lt;client_name&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2011/03/10/a-handy-command-for-san-client-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NetBackup 7.0 Installation with a Hostname Other than Default One on Linux</title>
		<link>http://www.netbackuphowto.com/2011/03/09/netbackup-7-0-installation-with-a-hostname-other-than-default-one-on-linux/</link>
		<comments>http://www.netbackuphowto.com/2011/03/09/netbackup-7-0-installation-with-a-hostname-other-than-default-one-on-linux/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 20:00:05 +0000</pubDate>
		<dc:creator>savas</dc:creator>
				<category><![CDATA[Linux Backup]]></category>
		<category><![CDATA[Netbackup Howto]]></category>
		<category><![CDATA[NetBackup Tips]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[different hostname]]></category>
		<category><![CDATA[hostname other than default]]></category>
		<category><![CDATA[NetBackup 7.0 Installation with a Hostname Other than Default One on Linux]]></category>
		<category><![CDATA[netbackup installation]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=534</guid>
		<description><![CDATA[There has been some issues when i tried to install a netbackup 7.0 using a hostname that is different than the default hostname of the server. 1. Licences are still installed according to your default hostname, get_license_key script should be corrected if you want to manage with your installation hostname. Change the following line(line 61): [...]]]></description>
			<content:encoded><![CDATA[<p>There has been some issues when i tried to install a netbackup 7.0 using a hostname that is different than the default hostname of the server.</p>
<p><span id="more-534"></span></p>
<p>1. Licences are still installed according to your default hostname, get_license_key script should be corrected if you want to manage with your installation hostname.</p>
<p>Change the following line(line 61):<br />
<em>PING_CMD=&#8221;ping -c 1 \${HOST} 2&gt;/dev/null | grep \&#8221;1 packets received\&#8221;"<br />
to<br />
</em>PING_CMD=&#8221;ping -c 1 \${HOST} 2&gt;/dev/null | grep \&#8221;1 received\&#8221;"</p>
<p>2. /usr/openv/volmgr/vm.conf is not created and while you are trying to configure your devices, it is created according to your default hostname. My suggestion is to create manually and insert your hostname, before doing any device configuration from the master.</p>
<p>If you don&#8217;t, you are very likely to see the following message on your shared tape drives&#8217; Properties:</p>
<p><em><strong>No shared storage option license installed</strong></em></p>
<p>I&#8217;m really not very sure if vm.conf is the reason, but i was able to solve this problem by manually creating it&#8230;</p>
<p>3. You are very likely to receive an error message at the end on the device configuration wizard:</p>
<p><em><strong>&#8220;Restarting the Media Manager device daemon&#8221;</strong></em> will fail, and you will not be elligible to create your storage unit.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2011/03/09/netbackup-7-0-installation-with-a-hostname-other-than-default-one-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bprecover: ERR &#8211; Failed to execute command /usr/openv/netbackup/bin/bptm -restoretir -jobid 9 -cn 1 -b nbu_1262467865 -c nbu -priority 90000 on host nbu (29)</title>
		<link>http://www.netbackuphowto.com/2011/02/24/bprecover-err-failed-to-execute-command-usropenvnetbackupbinbptm-restoretir-jobid-9-cn-1-b-nbu_1262467865-c-nbu-priority-90000-on-host-nbu-29/</link>
		<comments>http://www.netbackuphowto.com/2011/02/24/bprecover-err-failed-to-execute-command-usropenvnetbackupbinbptm-restoretir-jobid-9-cn-1-b-nbu_1262467865-c-nbu-priority-90000-on-host-nbu-29/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 16:06:10 +0000</pubDate>
		<dc:creator>savasirez</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[29]]></category>
		<category><![CDATA[bprecover]]></category>
		<category><![CDATA[Failed to execute command]]></category>
		<category><![CDATA[status 29]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=510</guid>
		<description><![CDATA[If you are having troubles while recovering your catalog database with the following error: bprecover: ERR &#8211; Failed to execute command /usr/openv/netbackup/bin/bptm -restoretir -jobid 9 -cn 1 -b nbu_1262467865 -c nbu -priority 90000 on host nbu (29) Don&#8217;t loose too much time, open a case to Enterprise Support via phone or MySupport In the meantime [...]]]></description>
			<content:encoded><![CDATA[<p>If you are having troubles while recovering your catalog database with the following error:<br />
<em>bprecover: ERR &#8211; Failed to execute command /usr/openv/netbackup/bin/bptm -restoretir -jobid 9 -cn 1 -b nbu_1262467865 -c nbu -priority 90000 on host nbu (29)</em></p>
<p><span id="more-510"></span></p>
<p>Don&#8217;t loose too much time, open a case to Enterprise Support via <a target="_blank" href="http://www.symantec.com/business/support/contact_techsupp_static.jsp" target="_blank">phone</a> or <a target="_blank" title="MySupport" href="http://mysupport.symantec.com" target="_blank">MySupport</a></p>
<p>In the meantime you can try these:</p>
<p>Check if you still have some pending activies on the system:</p>
<p><em>(nbu)/usr/openv/netbackup/logs/admin&gt;/usr/openv/volmgr/bin/vmoprcmd </em></p>
<p><em> HOST STATUS</em><br />
<em>Host Name                                  Version   Host Status</em><br />
<em>=========================================  =======   ===========</em><br />
<em>nbu                                    700000    ACTIVE</em><br />
<em>nbu_dmz                                700000    ACTIVE</em></p>
<p><em> <strong>PENDING REQUESTS</strong></em></p>
<p><em><strong> &lt;NONE&gt;</strong></em></p>
<p><em> DRIVE STATUS</em></p>
<p><em>Drive Name               Label   Ready  RecMID  ExtMID  Wr.Enbl.  Type</em><br />
<em> Host                       DrivePath                            Status</em><br />
<em>=============================================================================</em><br />
<em>HP.ULTRIUM3-SCSI-VTL.000  No      No                     No        hcart3</em><br />
<em> nbu                    /dev/rmt/4cbn                        TLD</em></p>
<p><em>HP.ULTRIUM3-SCSI-VTL.001  No      No                     No        hcart3</em><br />
<em> nbu                    /dev/rmt/5cbn                        TLD</em></p>
<p><em>HP.ULTRIUM3-SCSI-VTL.002  No      No                     No        hcart3</em><br />
<em> nbu                    /dev/rmt/6cbn                        TLD</em></p>
<p><em>HP.ULTRIUM3-SCSI-VTL.003  No      No                     No        hcart3</em><br />
<em> nbu                    /dev/rmt/7cbn                        TLD</em></p>
<p><em>HP.ULTRIUM3-SCSI.000     No      No                     No        hcart3</em><br />
<em> nbu                    /dev/rmt/8cbn                        DOWN-TLD</em><br />
<em> nbu                    /dev/rmt/1cbn                        TLD</em><br />
<em> nbu_dmz                /dev/nst1                            TLD</em><br />
<em> nbu_dmz                /dev/nst5                            SCAN-TLD</em></p>
<p><em>HP.ULTRIUM3-SCSI.001     No      No                     No        hcart3</em><br />
<em> nbu                    /dev/rmt/0cbn                        TLD</em><br />
<em> nbu                    /dev/rmt/11cbn                       TLD</em><br />
<em> nbu_dmz                /dev/nst3                            TLD</em><br />
<em> nbu_dmz                /dev/nst7                            SCAN-TLD</em></p>
<p><em>HP.ULTRIUM3-SCSI.002     Yes     Yes    000032          Yes       hcart3</em><br />
<em> nbu                    /dev/rmt/3cbn                        TLD</em><br />
<em> nbu                    /dev/rmt/10cbn                       TLD</em><br />
<em> nbu_dmz                /dev/nst0                            TLD</em><br />
<em> nbu_dmz                /dev/nst4                            SCAN-TLD</em></p>
<p><em>HP.ULTRIUM3-SCSI.003     No      No                     No        hcart3</em><br />
<em> nbu                    /dev/rmt/2cbn                        TLD</em><br />
<em> nbu                    /dev/rmt/9cbn                        TLD</em><br />
<em> nbu_dmz                /dev/nst2                            TLD</em><br />
<em> nbu_dmz                /dev/nst6                            SCAN-TLD</em></p>
<p>&nbsp;</p>
<p>If you see pending requests, you can try rebooting your servers and see if that works&#8230;</p>
<p>Also check if you have and requests or allocations on nbrb</p>
<p><em>(nbu)/usr/openv/netbackup/logs/admin&gt;/usr/openv/netbackup/bin/admincmd/nbrbutil -dump</em></p>
<p><em>Allocation Requests</em><br />
<em>(AllocationRequestSeq )</em></p>
<p><em>Allocations </em><br />
<em>(AllocationSeq )</em></p>
<p><em>MDS allocations in EMM:</em></p>
<p>&nbsp;</p>
<p>if you don&#8217;t have any active jobs running, you can try to reset all of them.</p>
<p><em>(nbu)/usr/openv/netbackup/logs/admin&gt;/usr/openv/netbackup/bin/admincmd/nbrbutil -resetAll</em></p>
<p>One more thing, it may be irrelevant but, i corrected my locale settings inside /etc/default/init file and rebooted.</p>
<p>These maybe helpful to you, but not guaranteed. Better contact Technical Support immediately&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2011/02/24/bprecover-err-failed-to-execute-command-usropenvnetbackupbinbptm-restoretir-jobid-9-cn-1-b-nbu_1262467865-c-nbu-priority-90000-on-host-nbu-29/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vmoprcmd Command Usage</title>
		<link>http://www.netbackuphowto.com/2011/02/22/vmoprcmd-command-usage/</link>
		<comments>http://www.netbackuphowto.com/2011/02/22/vmoprcmd-command-usage/#comments</comments>
		<pubDate>Tue, 22 Feb 2011 14:29:39 +0000</pubDate>
		<dc:creator>savas</dc:creator>
				<category><![CDATA[Netbackup Howto]]></category>
		<category><![CDATA[NetBackup Tips]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[vmoprcmd]]></category>
		<category><![CDATA[vmoprcmd -crawlreleasebyname]]></category>
		<category><![CDATA[vmoprcmd Command]]></category>
		<category><![CDATA[vmoprcmd Command Usage]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=507</guid>
		<description><![CDATA[There are different parameters that you can use, but i wanted to share one of the most useful one here&#8230; root@veritas # vmoprcmd -devmon HOST STATUS Host Name                                  Version   Host Status =========================================  =======   =========== veritas                                    700000    ACTIVE veritas_2                                700000    ACTIVE PENDING REQUESTS &#60;NONE&#62; DRIVE STATUS Drive Name               Label   Ready  RecMID  ExtMID  Wr.Enbl.  Type Host                       [...]]]></description>
			<content:encoded><![CDATA[<p>There are different parameters that you can use, but i wanted to share one of the most useful one here&#8230;</p>
<p><span id="more-507"></span></p>
<p>root@veritas # <em><strong>vmoprcmd -devmon</strong></em></p>
<p>HOST STATUS<br />
Host Name                                  Version   Host Status<br />
=========================================  =======   ===========<br />
veritas                                    700000    ACTIVE<br />
veritas_2                                700000    ACTIVE</p>
<p>PENDING REQUESTS</p>
<p>&lt;NONE&gt;</p>
<p>DRIVE STATUS</p>
<p>Drive Name               Label   Ready  RecMID  ExtMID  Wr.Enbl.  Type<br />
Host                       DrivePath                            Status<br />
=============================================================================<br />
HP.ULTRIUM3-SCSI-VTL.000  Yes     Yes    1E000Y  1E000Y  Yes       hcart3<br />
veritas                    /dev/rmt/4cbn                        ACTIVE</p>
<p>HP.ULTRIUM3-SCSI-VTL.001  Yes     Yes    1E000P  1E000P  Yes       hcart3<br />
veritas                    /dev/rmt/5cbn                        ACTIVE</p>
<p>HP.ULTRIUM3-SCSI-VTL.002  Yes     Yes    1E000W  1E000W  Yes       hcart3<br />
veritas                    /dev/rmt/6cbn                        ACTIVE</p>
<p>HP.ULTRIUM3-SCSI-VTL.003  Yes     Yes    1E000L  1E000L  Yes       hcart3<br />
veritas                    /dev/rmt/7cbn                        ACTIVE</p>
<p>HP.ULTRIUM3-SCSI.000     Yes     Yes    000015  000015  Yes       hcart3<br />
veritas                    /dev/rmt/8cbn                        TLD<br />
veritas                    /dev/rmt/0cbn                        ACTIVE<br />
veritas_2                /dev/nst1                            TLD<br />
veritas_2                /dev/nst5                            SCAN-TLD</p>
<p>HP.ULTRIUM3-SCSI.001     No      No                     No        hcart3<br />
veritas                    /dev/rmt/1cbn                        TLD<br />
veritas                    /dev/rmt/9cbn                        TLD<br />
veritas_2                /dev/nst3                            TLD<br />
veritas_2                /dev/nst7                            SCAN-TLD</p>
<p>HP.ULTRIUM3-SCSI.002     No      No                     No        hcart3<br />
veritas                    /dev/rmt/2cbn                        TLD<br />
veritas                    /dev/rmt/10cbn                       TLD<br />
veritas_2                /dev/nst4                            DOWN-TLD<br />
veritas_2                /dev/nst0                            SCAN-TLD</p>
<p>HP.ULTRIUM3-SCSI.003     No      No                     No        hcart3<br />
veritas                    /dev/rmt/3cbn                        TLD<br />
veritas                    /dev/rmt/11cbn                       TLD<br />
veritas_2                /dev/nst2                            TLD<br />
veritas_2                /dev/nst6                            SCAN-TLD</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2011/02/22/vmoprcmd-command-usage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto Wrap lines on ps output on Solaris</title>
		<link>http://www.netbackuphowto.com/2010/09/13/howto-wrap-lines-on-ps-output-on-solaris/</link>
		<comments>http://www.netbackuphowto.com/2010/09/13/howto-wrap-lines-on-ps-output-on-solaris/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 14:29:30 +0000</pubDate>
		<dc:creator>savasirez</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[GNU ps]]></category>
		<category><![CDATA[line wrapping]]></category>
		<category><![CDATA[ps]]></category>
		<category><![CDATA[Solaris ps]]></category>
		<category><![CDATA[wrapping lines]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=491</guid>
		<description><![CDATA[Well, it&#8217;s easy&#8230; Solaris&#8217; &#8220;ps&#8221; does not wrap lines when showing the processes. You need to use the GNU ps which is held in /usr/ucb/ps then you can use w switch to wrap process lines, eg: ps wwax]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s easy&#8230; Solaris&#8217; &#8220;<strong>ps</strong>&#8221; does not wrap lines when showing the processes. You need to use the <strong>GNU ps</strong> which is held in</p>
<p><span id="more-491"></span></p>
<p><strong>/usr/ucb/ps</strong></p>
<p>then you can use <strong>w</strong> switch to wrap process lines, eg:</p>
<p><strong>ps wwax</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2010/09/13/howto-wrap-lines-on-ps-output-on-solaris/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SharePoint 2003/2007 document level backup and restore</title>
		<link>http://www.netbackuphowto.com/2010/08/28/sharepoint-20032007-document-level-backup-and-restore/</link>
		<comments>http://www.netbackuphowto.com/2010/08/28/sharepoint-20032007-document-level-backup-and-restore/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 14:22:37 +0000</pubDate>
		<dc:creator>savasirez</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Netbackup Howto]]></category>
		<category><![CDATA[NetBackup Tips]]></category>
		<category><![CDATA[Sharepoint Backup]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[netbackup sharepoint backup]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[sharepoint 2003]]></category>
		<category><![CDATA[sharepoint 2007]]></category>
		<category><![CDATA[sharepoint 2010]]></category>
		<category><![CDATA[sharepoint backup]]></category>
		<category><![CDATA[sharepoint granular backup]]></category>
		<category><![CDATA[sharepoint grt]]></category>
		<category><![CDATA[sharepoint grt backup]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=485</guid>
		<description><![CDATA[You can use the following technote on Symantec: http://seer.entsupport.symantec.com/docs/305549.htm What i want to mention here is, if you&#8217;re somehow failing to backup your sharepoint objects/portals, you can try the following: Change &#8220;Backup selection&#8221; in your backup policy to: Microsoft  SharePoint Resources:\Windows SharePoint Services Web Application\* And try again with this setup. It worked for me&#8230;]]></description>
			<content:encoded><![CDATA[<p>You can use the following technote on Symantec: http://seer.entsupport.symantec.com/docs/305549.htm</p>
<p>What i want to mention here is, if you&#8217;re somehow failing to backup your sharepoint objects/portals, you can try the following:</p>
<p><span id="more-485"></span></p>
<p>Change &#8220;Backup selection&#8221; in your backup policy to:</p>
<p>Microsoft  SharePoint Resources:\Windows SharePoint Services Web Application\*</p>
<p>And try again with this setup.</p>
<p>It worked for me&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2010/08/28/sharepoint-20032007-document-level-backup-and-restore/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Howto Configure Access Control on Windows (NetBackup 7.0)</title>
		<link>http://www.netbackuphowto.com/2010/04/12/howto-configure-access-control-on-windows-netbackup-7-0/</link>
		<comments>http://www.netbackuphowto.com/2010/04/12/howto-configure-access-control-on-windows-netbackup-7-0/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 10:30:25 +0000</pubDate>
		<dc:creator>savas</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Netbackup Howto]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=481</guid>
		<description><![CDATA[First of all, I wanted to share my first successfull Access Control configuration on NetBackup, so please feel free to share your knowledge if anything is wrong or missing. Reference: NetBackup 7.0 Security and Encryption Guide Install and configure Symantec Product Authentication Service (Complete Root + Authentication Broker installation) on the master server. Install and [...]]]></description>
			<content:encoded><![CDATA[<p>First of all, I wanted to share my first successfull Access Control configuration on NetBackup, so please feel free to share your knowledge if anything is wrong or missing.</p>
<p><span id="more-481"></span></p>
<p>Reference: <a target="_blank" href="http://seer.entsupport.symantec.com/docs/340140.htm" target="_blank">NetBackup 7.0 Security and Encryption Guide</a></p>
<ol>
<li>Install and configure Symantec Product Authentication Service (Complete Root + Authentication Broker installation) on the master server.</li>
<li>Install and configure Symantec Product Authorization Service on the master server.</li>
<li>Configure NetBackup master server for Access Control (Create Groups, give permissions, add users etc&#8230;)</li>
</ol>
<p>Note: We will configure Access Control using Active Directory.</p>
<ul>
<li><strong>Product Authentication Installation</strong></li>
</ul>
<ol>
<li>Start installation as Administrator by launching installer from the following path: NetBackup_Installation_Media_Path\Addons\x86\ICS\Authentication\VxSSVRTSatSetup.exe</li>
<li>If this is an upgrade, you will be asked to upgrade this package. Select Yes and continue your installation.</li>
<li>On the &#8220;<strong>Setup Type</strong>&#8221; screen, select &#8220;<strong>Complete</strong>&#8221; and click <strong>Next</strong></li>
<li>Select <strong>Root + Authentication Broker</strong> as <strong>broker mode</strong></li>
<li>Choose the service to be <strong>started automatically </strong>(You can choose to start manually, it depends on your configuration. it was the option that i selected) and click <strong>Next</strong></li>
<li>Enter your desired password for <strong>Root\Authentication Password</strong> when appears (Choose a password with at least 8 digits) and click <strong>Next</strong></li>
<li>After the installation is completed, click <strong>Finish</strong></li>
</ol>
<ul>
<li><strong>Product Authorization Installation</strong></li>
</ul>
<ol>
<li>Start installation as Administrator by launching installer from the  following path:   NetBackup_Installation_Media_Path\Addons\x86\ICS\Authorization\VRTSazSetup.exe</li>
<li>If this is an upgrade, you will be asked to upgrade this package. Select  Yes and continue your installation.</li>
<li>On the &#8220;<strong>Setup Type</strong>&#8221; screen, select &#8220;<strong>Custom</strong>&#8221; and click <strong>Next</strong></li>
<li>On &#8220;<strong>Select Features</strong>&#8221; screen click <strong>Next</strong></li>
<li>When the &#8220;<strong>Question</strong>&#8221; screen is displayed, select <strong>No </strong>to install the service in <strong>Read-Write mode</strong>.</li>
<li>After the installation is completed, click <strong>Finish</strong></li>
</ol>
<ul>
<li>If you want to check your installation so far,</li>
</ul>
<p>Open a command prompt and go inside the following path:</p>
<p>%ProgramFiles(x86)%\VERITAS\Security\Authentication\bin  (on a x64 Server)</p>
<p>and issue the command:</p>
<p>vssat showbrokermode</p>
<p>You should be able to see an output similar to this:</p>
<p>showbrokermode<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
<strong>Broker mode is : 3</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<ul>
<li><strong>Access Control Configuration</strong></li>
</ul>
<p>Run the following command (Command Prompt):</p>
<p><strong>bpnbaz -setupmaster</strong></p>
<p>Enter <strong>y </strong>when asked to continue,</p>
<p>When asked, enter your user password which you logged on your windows server with. (Administrator password in our setup). After this point the system begings to gather configuration information.</p>
<p>After the command is completed restart all NetBackup services on your netbackup master server. (<strong>bpdown/bpup</strong>)</p>
<p>After this point, you can configure your groups and users inside &#8220;NetBackup Administration Console -&gt; Master Server -&gt; Access Management. (Example Screenshot to be added soon).</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 80px; width: 1px; height: 1px; overflow: hidden;">VxSSVRTSatSetup.exe</div>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2010/04/12/howto-configure-access-control-on-windows-netbackup-7-0/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

