<?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 &#187; Howto</title>
	<atom:link href="http://www.netbackuphowto.com/category/howto/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>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>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>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>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>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>
		<item>
		<title>Howto Backup SSIM</title>
		<link>http://www.netbackuphowto.com/2009/11/12/howto-backup-ssim/</link>
		<comments>http://www.netbackuphowto.com/2009/11/12/howto-backup-ssim/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 21:41:03 +0000</pubDate>
		<dc:creator>savasirez</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Netbackup Howto]]></category>
		<category><![CDATA[Backup SSIM]]></category>
		<category><![CDATA[backup SSIM server]]></category>
		<category><![CDATA[SSIM Backup]]></category>
		<category><![CDATA[SSIM server backup]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=455</guid>
		<description><![CDATA[1. SSIM supports installation of NetBackup Agent. Install NetBackup agent (Linux) on SSIM server 2. Enable and start xinetd on SSIM server (xinetd is not started automatically) chkconfig xinetd on service xinetd start 3. Enable Automated Backup on SSIM server - Open Information Manager Web configuration page and click on Database Utilities. - Select Options [...]]]></description>
			<content:encoded><![CDATA[<p>1. SSIM supports installation of NetBackup Agent. Install NetBackup agent (Linux) on SSIM server</p>
<p>2. Enable and start xinetd on SSIM server (xinetd is not started automatically)</p>
<p><span id="more-455"></span></p>
<p><em>chkconfig xinetd on</em></p>
<p><em>service xinetd start<br />
</em></p>
<p>3. Enable Automated Backup on SSIM server<br />
- Open Information Manager Web configuration page and click on <strong>Database Utilities</strong>.<br />
- Select <strong>Options</strong> on Database Utilities page<br />
- Click on <strong>Enabled</strong> in Options.<br />
- If you want to set a <strong>time of day</strong> for daily backups, select a time from the <strong>Maintenance time</strong> drop-down list inside <strong>General Maintenance</strong> section.<br />
- Click <strong>Apply</strong> to apply your changes.</p>
<p>4. Create a new policy on NetBackup server:<br />
- Select Standard as the policy type<br />
- Select Linux Redhat 2.6 for Client&#8217;s operating system<br />
- Select /dblog as the backup selection</p>
<p>You can add other directories or you can select ALL_LOCAL_DRIVES if you want.</p>
<p>5. Try a Manual Backup and check if it works.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2009/11/12/howto-backup-ssim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto Restore Files or Directories to an Alternate Path Using bprestore</title>
		<link>http://www.netbackuphowto.com/2009/07/14/howto-restore-files-or-directories-to-an-alternate-path-using-bprestore/</link>
		<comments>http://www.netbackuphowto.com/2009/07/14/howto-restore-files-or-directories-to-an-alternate-path-using-bprestore/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 11:56:19 +0000</pubDate>
		<dc:creator>savasirez</dc:creator>
				<category><![CDATA[Linux Backup]]></category>
		<category><![CDATA[Netbackup Howto]]></category>
		<category><![CDATA[Windows Backup]]></category>
		<category><![CDATA[alternate path using bprestore]]></category>
		<category><![CDATA[bprestore]]></category>
		<category><![CDATA[howto restore to alternate path]]></category>
		<category><![CDATA[using bprestore]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=438</guid>
		<description><![CDATA[Directory to restore: Windows: C:\deneme Unix: /deneme Alternate path: Windows: C:\deneme_yeni Unix: /deneme_yeni NetBackup master server name: netbackup 1. Regardless of the operating system, you must create a rename file. This file will be for which is changed to what&#8230; Create the rename file, eg rename_file.txt If you are restoring on windows, Your file should [...]]]></description>
			<content:encoded><![CDATA[<p>Directory to restore:<br />
Windows: C:\deneme<br />
Unix: /deneme</p>
<p>Alternate path:<br />
Windows: C:\deneme_yeni<br />
Unix: /deneme_yeni</p>
<p><span id="more-438"></span></p>
<p>NetBackup master server name: netbackup</p>
<p>1. Regardless of the operating system, you must create a rename file. This file will be for which is changed to what&#8230;<br />
Create the rename file, eg rename_file.txt<br />
If you are restoring on windows, Your file should look like this,<br />
change /C/deneme to /C/deneme_yeni</p>
<p>If you are restoring on unix, your file should look like this,<br />
change /deneme to /deneme_yeni</p>
<p><strong>Don&#8217;t forget, this file MUST end with a blank line.</strong><br />
<strong>On windows, drive letters MUST always be uppercase<br />
</strong></p>
<p>2. Start your restore using bprestore command like the following:</p>
<p>Windows,<br />
bprestore -R /C/rename_file.txt -C netbackup  /C/deneme</p>
<p>Unix,<br />
bprestore -R /rename_file.txt -C netbackup /deneme</p>
<p>The above command will restore from your last backup. To restore from a spesific time, try to use -s and -e switches.</p>
<p>bprestore -R /C/change_file.txt -C netbackup <strong>-s 07/14/2009 00:00:00 -e 07/14/2009 02:00:00</strong> /C/deneme</p>
<p>If you want to log your progress, use -L switch.</p>
<p>bprestore <strong>-L /C/deneme1.log </strong>-R /C/change_file.txt -C netbackup -s 07/14/2009 00:00:00 -e 07/14/2009 02:00:00 /C/deneme</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2009/07/14/howto-restore-files-or-directories-to-an-alternate-path-using-bprestore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto Simple Client Encryption (Windows)</title>
		<link>http://www.netbackuphowto.com/2009/05/30/howto-simple-client-encryption-windows/</link>
		<comments>http://www.netbackuphowto.com/2009/05/30/howto-simple-client-encryption-windows/#comments</comments>
		<pubDate>Sat, 30 May 2009 20:39:24 +0000</pubDate>
		<dc:creator>savasirez</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Netbackup Howto]]></category>
		<category><![CDATA[client encryption]]></category>
		<category><![CDATA[nbu client encryption]]></category>
		<category><![CDATA[netbackup client encryption]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=410</guid>
		<description><![CDATA[1. Create a policy if you don&#8217;t have already and make sure that &#8220;Encryption&#8221; option in the Policy Attributes window is selected. 2. Make sure that: Under NetBackup Management -&#62; Host Properties -&#62; Clients -&#62; Client Properties -&#62; Encryption window, &#8220;Encryption Permissions&#8221; is either &#8220;Allowed&#8221; or &#8220;Required&#8220;; &#8220;Enable Encryption&#8221; is selected. You can change Encryption [...]]]></description>
			<content:encoded><![CDATA[<p>1. Create a policy if you don&#8217;t have already and make sure that &#8220;<strong>Encryption</strong>&#8221; option in the Policy Attributes window is selected.</p>
<p><span id="more-410"></span></p>
<div id="attachment_411" class="wp-caption alignnone" style="width: 160px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2009/05/11.jpg"><img class="size-thumbnail wp-image-411" title="Encryption in Policy - Attributes window" src="http://www.netbackuphowto.com/wp-content/uploads/2009/05/11-150x150.jpg" alt="Encryption in Policy - Attributes window" width="150" height="150" /></a><p class="wp-caption-text">Encryption in Policy - Attributes window</p></div>
<p>2. Make sure that: Under <strong>NetBackup Management -&gt; Host Properties -&gt; Clients -&gt; Client Properties -&gt; Encryption</strong> window, &#8220;<strong>Encryption Permissions</strong>&#8221; is either &#8220;<strong>Allowed</strong>&#8221; or &#8220;<strong>Required</strong>&#8220;; &#8220;<strong>Enable Encryption</strong>&#8221; is selected.<br />
You can change Encryption types according to your needs, Standard Encryption -&gt; AES-128-CFB is the default.</p>
<div id="attachment_412" class="wp-caption alignnone" style="width: 160px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2009/05/21.jpg"><img class="size-thumbnail wp-image-412" title="Encryption configuration in Client Properties Window" src="http://www.netbackuphowto.com/wp-content/uploads/2009/05/21-150x150.jpg" alt="Encryption configuration in Client Properties Window" width="150" height="150" /></a><p class="wp-caption-text">Encryption configuration in Client Properties Window</p></div>
<p>3. On the client, create a keyfile with the following command (in this example netbackup is installed in C:\Program Files\Veritas\Netbackup directory), dc01 is the hostname of the client. You will be asked for a passphrase. Do not lose this passphrase or you may not be able to recover your files.</p>
<p>C:\Program Files\Veritas\Netbackup\bin\bpkeyutil -clients client_hostname</p>
<div id="attachment_413" class="wp-caption alignnone" style="width: 160px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2009/05/31.jpg"><img class="size-thumbnail wp-image-413" title="Creating a keyfile for encryption" src="http://www.netbackuphowto.com/wp-content/uploads/2009/05/31-150x150.jpg" alt="Creating a keyfile for encryption" width="150" height="150" /></a><p class="wp-caption-text">Creating a keyfile for encryption</p></div>
<p>You will see that keyfile.dat will be created inside C:\Program Files\Veritas\Netbackup\var directory.</p>
<div id="attachment_414" class="wp-caption alignnone" style="width: 160px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2009/05/41.jpg"><img class="size-thumbnail wp-image-414" title="keyfile.dat created by bpkeyutil" src="http://www.netbackuphowto.com/wp-content/uploads/2009/05/41-150x150.jpg" alt="keyfile.dat created by bpkeyutil" width="150" height="150" /></a><p class="wp-caption-text">keyfile.dat created by bpkeyutil</p></div>
<p>4. Start a manual backup and see if it works.</p>
<p>5. You can also test that, after deletion of the C:\Program Files\Veritas\Netbackup\var\keyfile.dat you can not backup nor restore your files. After re-creation of this file, you can backup and/or restore.</p>
<p>Restore without keyfile.dat</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">23:19:16 30.05.2009: Restore Started</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;" lang="en-US">
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">23:19:23 (61.001) Restoring from image created 30.05.2009 23:13:32</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">23:19:32 (61.001) INF &#8211; TAR STARTED</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">23:19:33 (61.001) INF &#8211; Beginning restore from server w2003srv to client dc01.</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">23:19:39 (61.001) FTL &#8211; tar received an invalid archive</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">23:19:39 (61.001) INF &#8211; TAR EXITING WITH STATUS = 13</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">23:19:39 (61.001) INF &#8211; TAR RESTORED 0 OF 1 FILES SUCCESSFULLY</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">23:19:39 (61.001) INF &#8211; TAR KEPT 0 EXISTING FILES</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">23:19:39 (61.001) INF &#8211; TAR PARTIALLY RESTORED 0 FILES</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">23:19:39 (61.001) Status of restore from image created 30.05.2009 23:13:32 = file read failed</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;" lang="en-US">
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">23:19:45 (61.xxx) INF &#8211; Status = the restore failed to recover the requested files.</p>
<p>Backup without keyfile.dat</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">30.05.2009 23:16:17 &#8211; started</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">30.05.2009 23:16:18 &#8211; estimated 192 kbytes needed</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">30.05.2009 23:16:18 &#8211; started process bpbrm (1364)</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">30.05.2009 23:16:26 &#8211; connecting</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">30.05.2009 23:16:27 &#8211; connected; connect time: 00:00:01</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">30.05.2009 23:16:31 &#8211; begin writing</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">30.05.2009 23:17:30 &#8211; Critical bpbrm(pid=1364) from client dc01: FTL &#8211; tar had an unexpected error<span> </span></p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">30.05.2009 23:17:34 &#8211; end writing; write time: 00:01:03</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">tar had an unexpected error(184)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2009/05/30/howto-simple-client-encryption-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto Backup Active Directory for Granular Restore (Windows 2003 R2)</title>
		<link>http://www.netbackuphowto.com/2009/05/28/howto-backup-active-directory-for-granular-restore-windows-2003-r2/</link>
		<comments>http://www.netbackuphowto.com/2009/05/28/howto-backup-active-directory-for-granular-restore-windows-2003-r2/#comments</comments>
		<pubDate>Thu, 28 May 2009 19:36:37 +0000</pubDate>
		<dc:creator>savasirez</dc:creator>
				<category><![CDATA[Active Directory Backup]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Netbackup Howto]]></category>
		<category><![CDATA[A.D backup for granular restore]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[active directory backup for granular restore]]></category>
		<category><![CDATA[active directory granular restore]]></category>
		<category><![CDATA[backup active directory]]></category>
		<category><![CDATA[howto backup active directory]]></category>
		<category><![CDATA[nbu active directory]]></category>
		<category><![CDATA[netbackup active directory]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=390</guid>
		<description><![CDATA[This is a brand new subject, please feel to free to comment if you think something is missing or wrong&#8230; Prerequisites: 1. NetBackup version must be 6.5.4 or higher on both NetBackup media server and client. 2. The following services must be installed on NetBackup media server: Microsoft Services on NFS : Client for NFS [...]]]></description>
			<content:encoded><![CDATA[<p>This is a brand new subject, please feel to free to comment if you think something is missing or wrong&#8230;</p>
<p><span id="more-390"></span></p>
<p><strong>Prerequisites:</strong></p>
<p>1. NetBackup version must be 6.5.4 or higher on both NetBackup media server and client.</p>
<p>2. The following services must be installed on NetBackup media server:</p>
<p>Microsoft Services on NFS : Client for NFS<br />
Microsoft Services on NFS : Microsoft Services for NFS administration<br />
Microsoft Services on NFS : RPC External data representation<br />
Microsoft Services on NFS : RPC Port Mapper<br />
Microsoft Services on NFS : Server for NFS</p>
<p>To install, open “<strong>Start -&gt; Settings -&gt; Control Panel -&gt; Add or Remove Programs</strong> -&gt; <strong>Add/Remove Windows Components</strong>”, choose “<strong>Other Network File and Print Services -&gt; Details</strong>” , choose “<strong>Microsoft Services for NFS</strong><strong> -&gt; Details</strong>&#8221; and choose the required packages that are listed above.</p>
<div id="attachment_396" class="wp-caption alignnone" style="width: 310px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2009/05/nbu_microsoft_services_for_nfs.jpg"><img class="size-medium wp-image-396" title="Microsoft Services Installation on Media Server" src="http://www.netbackuphowto.com/wp-content/uploads/2009/05/nbu_microsoft_services_for_nfs-300x163.jpg" alt="Microsoft Services Installation on Media Server" width="300" height="163" /></a><p class="wp-caption-text">Microsoft Services Installation on Media Server</p></div>
<p>3. The following services must be installed on client.</p>
<p>Microsoft Services on NFS : Client for NFS<br />
Microsoft Services on NFS : Microsoft Services for NFS administration<br />
Microsoft Services on NFS : RPC External data representation<br />
Microsoft Services on NFS : RPC Port Mapper</p>
<div id="attachment_392" class="wp-caption alignnone" style="width: 310px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2009/05/dc_microsoft_services_for_nfs.jpg"><img class="size-medium wp-image-392" title="Microsoft Service for NFS Installation on DC" src="http://www.netbackuphowto.com/wp-content/uploads/2009/05/dc_microsoft_services_for_nfs-300x154.jpg" alt="Microsoft Service for NFS Installation on DC" width="300" height="154" /></a><p class="wp-caption-text">Microsoft Service for NFS Installation on DC</p></div>
<p>4. &#8220;<strong>Server for NFS</strong>&#8221; on NetBackup media server must be disabled and portmap service must be enabled and started.</p>
<div id="attachment_391" class="wp-caption alignnone" style="width: 310px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2009/05/nbu_server_for_nfs.jpg"><img class="size-medium wp-image-391" title="Server for NFS on Media Server" src="http://www.netbackuphowto.com/wp-content/uploads/2009/05/nbu_server_for_nfs-300x69.jpg" alt="Server for NFS on Media Server" width="300" height="69" /></a><p class="wp-caption-text">Server for NFS on Media Server</p></div>
<p>Type the following command from the command line to start and enable portmap service</p>
<p><em><strong>sc config portmap start= auto<br />
[SC] ChangeServiceConfig SUCCESS</strong></em></p>
<p>5. &#8220;<strong>NetBackup Client</strong>&#8221; on the client must not be started with &#8220;Local System&#8221; but must be started with a Domain Administrator Account (Administrator in this example).</p>
<div id="attachment_394" class="wp-caption alignnone" style="width: 310px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2009/05/domain_controller_netbackup_client.jpg"><img class="size-medium wp-image-394" title="NetBackup Client on DC" src="http://www.netbackuphowto.com/wp-content/uploads/2009/05/domain_controller_netbackup_client-300x58.jpg" alt="NetBackup Client on DC" width="300" height="58" /></a><p class="wp-caption-text">NetBackup Client on DC</p></div>
<p><strong>Policy Creation:</strong></p>
<p>Use policy wizard and create your backup policy as a normal &#8220;<strong>Windows-NT</strong>&#8221; but on the &#8220;<strong>Backup Selection</strong>&#8221; window, make sure &#8220;<strong>Windows 2003/Active Directory Application Mode:\</strong>&#8221; and &#8220;<strong>Windows 2003/Shadow Copy Components</strong>&#8221; are added.</p>
<div id="attachment_398" class="wp-caption alignnone" style="width: 310px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2009/05/nbu_ad_policy1.jpg"><img class="size-medium wp-image-398" title="Active Directory Application Mode" src="http://www.netbackuphowto.com/wp-content/uploads/2009/05/nbu_ad_policy1-300x201.jpg" alt="Active Directory Application Mode" width="300" height="201" /></a><p class="wp-caption-text">Active Directory Application Mode</p></div>
<div id="attachment_397" class="wp-caption alignnone" style="width: 310px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2009/05/nbu_ad_policy2.jpg"><img class="size-medium wp-image-397" title="Shadow Copy Components" src="http://www.netbackuphowto.com/wp-content/uploads/2009/05/nbu_ad_policy2-300x197.jpg" alt="Shadow Copy Components" width="300" height="197" /></a><p class="wp-caption-text">Shadow Copy Components</p></div>
<p>That&#8217;s all, try a backup and after the backup, if you try to restore from the client, you should be able to see your Active Directory objects like that:</p>
<div id="attachment_399" class="wp-caption alignnone" style="width: 310px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2009/05/nbu_ad_restore.jpg"><img class="size-medium wp-image-399" title="Active Directory Restore" src="http://www.netbackuphowto.com/wp-content/uploads/2009/05/nbu_ad_restore-300x192.jpg" alt="Active Directory Restore" width="300" height="192" /></a><p class="wp-caption-text">Active Directory Restore</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2009/05/28/howto-backup-active-directory-for-granular-restore-windows-2003-r2/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Howto Restore Files without Access Control Lists (Attributes, Windows)</title>
		<link>http://www.netbackuphowto.com/2009/05/12/howto-restore-files-without-access-control-lists-attributes-windows/</link>
		<comments>http://www.netbackuphowto.com/2009/05/12/howto-restore-files-without-access-control-lists-attributes-windows/#comments</comments>
		<pubDate>Tue, 12 May 2009 11:22:43 +0000</pubDate>
		<dc:creator>savasirez</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Netbackup Howto]]></category>
		<category><![CDATA[NetBackup Tips]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows Backup]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[restore files without acl]]></category>
		<category><![CDATA[without access control attributes]]></category>
		<category><![CDATA[without access control list]]></category>
		<category><![CDATA[without acl]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=377</guid>
		<description><![CDATA[On &#8220;Backup, archive and restore&#8221; window, after clicking &#8220;Restore Now&#8221;, choose &#8220;Restore files without Access Control Attributes (Windows only)&#8221; checkbox to restore only files without their appropriate permissions.]]></description>
			<content:encoded><![CDATA[<p>On &#8220;Backup, archive and restore&#8221; window, after clicking &#8220;Restore Now&#8221;, choose &#8220;Restore files without Access Control Attributes (Windows only)&#8221; checkbox to restore only files without their appropriate permissions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2009/05/12/howto-restore-files-without-access-control-lists-attributes-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto Inventory (Windows)</title>
		<link>http://www.netbackuphowto.com/2009/05/09/howto-inventory-windows/</link>
		<comments>http://www.netbackuphowto.com/2009/05/09/howto-inventory-windows/#comments</comments>
		<pubDate>Sat, 09 May 2009 10:48:36 +0000</pubDate>
		<dc:creator>savasirez</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Netbackup Howto]]></category>
		<category><![CDATA[inventory]]></category>
		<category><![CDATA[inventory robot]]></category>
		<category><![CDATA[netbackup inventory]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=363</guid>
		<description><![CDATA[1. Right-click on &#8220;Media and Device Management -&#62; Media&#8221; and select &#8220;Inventory Robot&#8221; 2. On the Robot Inventory window, select &#8220;Update Volume configuration&#8221; and &#8220;Empy media access port prior to update&#8221; 3. Click &#8220;Advanced Options&#8221; if you need to change any configuration for new added volumes. We suggest you to choose your SCRATCH pool for [...]]]></description>
			<content:encoded><![CDATA[<p>1. Right-click on &#8220;<strong>Media and Device Management -&gt; <span style="text-decoration: underline;">Media</span></strong>&#8221; and select &#8220;<strong>Inventory Robot</strong>&#8221;</p>
<p><span id="more-363"></span></p>
<div id="attachment_365" class="wp-caption alignnone" style="width: 297px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2009/05/1.jpg"><img class="size-medium wp-image-365" title="1" src="http://www.netbackuphowto.com/wp-content/uploads/2009/05/1-287x300.jpg" alt="Inventory Robot" width="287" height="300" /></a><p class="wp-caption-text">Inventory Robot</p></div>
<p>2. On the Robot Inventory window, select &#8220;<strong>Update Volume configuration</strong>&#8221; and &#8220;<strong>Empy media access port prior to update</strong>&#8221;</p>
<div id="attachment_364" class="wp-caption alignnone" style="width: 310px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2009/05/2.jpg"><img class="size-medium wp-image-364" title="2" src="http://www.netbackuphowto.com/wp-content/uploads/2009/05/2-300x289.jpg" alt="Robot Inventory" width="300" height="289" /></a><p class="wp-caption-text">Robot Inventory</p></div>
<p>3. Click &#8220;<strong>Advanced Options</strong>&#8221; if you need to change any configuration for new added volumes. We suggest you to choose your <strong>SCRATCH pool</strong> for newly added volumes, so they are moved by netbackup to any volume pool, whenever needed.</p>
<div id="attachment_367" class="wp-caption alignnone" style="width: 310px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2009/05/3.jpg"><img class="size-medium wp-image-367" title="3" src="http://www.netbackuphowto.com/wp-content/uploads/2009/05/3-300x221.jpg" alt="Volume Pool for Inventory" width="300" height="221" /></a><p class="wp-caption-text">Volume Pool for Inventory</p></div>
<p>4. Click on &#8220;<strong>Start</strong>&#8221; when you are ready for robot inventory. Make sure, you have choosed the correct &#8220;<strong>Device Host</strong>&#8221; if you have different media manager hosts.</p>
<div id="attachment_369" class="wp-caption alignnone" style="width: 310px"><a href="http://www.netbackuphowto.com/wp-content/uploads/2009/05/4.jpg"><img class="size-medium wp-image-369" title="4" src="http://www.netbackuphowto.com/wp-content/uploads/2009/05/4-300x287.jpg" alt="Start Robot Inventory" width="300" height="287" /></a><p class="wp-caption-text">Start Robot Inventory</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2009/05/09/howto-inventory-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto use NEW_STREAM Directive</title>
		<link>http://www.netbackuphowto.com/2009/05/08/howto-use-new_stream-directive/</link>
		<comments>http://www.netbackuphowto.com/2009/05/08/howto-use-new_stream-directive/#comments</comments>
		<pubDate>Fri, 08 May 2009 14:02:22 +0000</pubDate>
		<dc:creator>savasirez</dc:creator>
				<category><![CDATA[Exchange Backup]]></category>
		<category><![CDATA[Linux Backup]]></category>
		<category><![CDATA[NetBackup Tips]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows Backup]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=358</guid>
		<description><![CDATA[Everyday you may be wondering what that &#8220;NEW_STREAM&#8221; has to do in a &#8220;Backup Selection&#8221; list. Here is why: NEW_STREAM directive is used to manually start another stream of backup withing a backup selection. You add &#8220;NEW_STREAM&#8221; directive first, then you add your selection after this directive. When a backup starts with this policy, it [...]]]></description>
			<content:encoded><![CDATA[<p>Everyday you may be wondering what that &#8220;NEW_STREAM&#8221; has to do in a &#8220;Backup Selection&#8221; list. Here is why:</p>
<p><span id="more-358"></span></p>
<p>NEW_STREAM directive is used to manually start another stream of backup withing a backup selection. You add &#8220;NEW_STREAM&#8221; directive first, then you add your selection after this directive.</p>
<p>When a backup starts with this policy, it will create a new backup stream for every NEW_STREAM line, and backup the selection in parallel.</p>
<p>Reference : <a target="_blank" href="http://seer.entsupport.symantec.com/docs/267291.htm">http://seer.entsupport.symantec.com/docs/267291.htm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2009/05/08/howto-use-new_stream-directive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto Install a Media Server on Linux</title>
		<link>http://www.netbackuphowto.com/2009/05/02/howto-install-a-media-server-on-linux/</link>
		<comments>http://www.netbackuphowto.com/2009/05/02/howto-install-a-media-server-on-linux/#comments</comments>
		<pubDate>Sat, 02 May 2009 18:57:02 +0000</pubDate>
		<dc:creator>savasirez</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Netbackup Howto]]></category>
		<category><![CDATA[linux media server]]></category>
		<category><![CDATA[linux media server installation]]></category>
		<category><![CDATA[media server installation]]></category>
		<category><![CDATA[nbu media server installation]]></category>
		<category><![CDATA[netbackup media server installation]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=318</guid>
		<description><![CDATA[Prerequisites: 1. Make sure your system has the tape drivers(SCSI or F/O) installed and can be managed by the system. 2. You need to install netbackup software with &#8220;root&#8221; user. 3. You need a NetBackup license to install media server. Insert NetBackup Server CD according to your Linux System and mount it 1. Start NetBackup [...]]]></description>
			<content:encoded><![CDATA[<p>Prerequisites:</p>
<p>1. Make sure your system has the tape drivers(SCSI or F/O) installed and can be managed by the system.<br />
2. You need to install netbackup software with &#8220;root&#8221; user.<br />
3. You need a NetBackup license to install media server.</p>
<p><span id="more-318"></span></p>
<p>Insert NetBackup Server CD according to your Linux System and mount it</p>
<p>1. Start NetBackup installer</p>
<p>vtl:/usr # /media/cdrom/install<br />
Symantec Installation Script<br />
Copyright 1993 &#8211; 2007 Symantec Corporation, All Rights Reserved.<br />
Installing NetBackup Server Software<br />
NOTE:  To install only NetBackup Client software locally on this machine<br />
or to load additional UNIX client software on this server, insert<br />
the NetBackup UNIX Clients cdrom.<br />
Do you wish to continue? [y,n] (<strong>y</strong>)<br />
The NetBackup and Media Manager software is built for use on LINUX_SUSE_X86 hardware.<br />
Do you want to install NetBackup and Media Manager files? [y,n] (<strong>y</strong>)<br />
NetBackup and Media Manager are normally installed in /usr/openv.<br />
Is it OK to install in /usr/openv? [y,n] (<strong>y</strong>)</p>
<p>2. If you dont have &#8220;<strong>VRTSpbx</strong>&#8221; package installed, install that.</p>
<p>The following package(s) are missing and must be installed<br />
before NetBackup can be installed:</p>
<p>VRTSpbx</p>
<p>The listed package(s) are part of the Symantec<br />
Infrastructure Core Services (ICS) CDs/DVDs which<br />
are included in the corresponding NetBackup media kit.</p>
<p>From a different window, unmount/eject the NetBackup cdrom and<br />
insert/mount the ICS cdrom.  Make sure the ICS CD has been properly<br />
mounted and files are visible.</p>
<p>Enter the full path name to the directory where the<br />
appropriate installics script is located followed by<br />
a &lt;CR&gt; to continue. This script will then install<br />
the package(s).<br />
OR<br />
Enter q to stop this install and abort.</p>
<p><strong>/media/cdrom</strong></p>
<p>Installing VRTSpbx&#8230;<br />
3.Enter the NetBackup license key.</p>
<p>A NetBackup Server or Enterprise Server license key is needed<br />
for installation to continue.</p>
<p>Enter license key: XXXX-XXXX-XXXX-XXXX-XXXX-XXXX<br />
Evaluation NetBackup Enterprise Server with Jun 30, 2009 expiration date will be registered.<br />
Is this OK? [y,n] (y)<br />
Evaluation NetBackup Enterprise Server Base product with the following features enabled:<br />
PureDisk Remote Office<br />
PureDisk Option<br />
&#8230;<br />
EMC<br />
Additional clients<br />
has been registered.</p>
<p>All additional keys should be added at this time.<br />
Do you want to add additional license keys now? [y,n] (y) <strong>n</strong></p>
<p>4. When asked for master server, type <strong>n</strong> as the answer, then enter the netbackup master server name when asked.</p>
<p>Would you like to use &#8220;vtl&#8221; as the configured<br />
name of the NetBackup server? [y,n] (<strong>y</strong>)</p>
<p>Is vtl the master server? [y,n] (y) <strong>n</strong></p>
<p>What is the fully qualified name of the master server? <strong>netbackup</strong></p>
<p>5. Enter <strong>Enterprise Media Manager</strong> server name (Dont enter anything if default is OK for you)</p>
<p>Enter the Enterprise Media Manager server (default: <strong>netbackup</strong>):</p>
<p>6. NetBackup services are installed and started.</p>
<p>Starting the NetBackup Event Manager.<br />
Starting the NetBackup compatibility daemon.<br />
Starting the Media Manager device daemon processes.<br />
Starting the NetBackup Remote Monitoring Management System.<br />
Starting the NetBackup Service Layer.<br />
Starting the NetBackup Service Monitor.</p>
<p>File /usr/openv/tmp/install_trace.9827 contains a trace of this install.<br />
That file can be deleted after you are sure the install was successful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2009/05/02/howto-install-a-media-server-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle 10g Hot Backup without RMAN (UN*X)</title>
		<link>http://www.netbackuphowto.com/2009/04/29/oracle-10g-hot-backup-without-rman-unix/</link>
		<comments>http://www.netbackuphowto.com/2009/04/29/oracle-10g-hot-backup-without-rman-unix/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 15:05:51 +0000</pubDate>
		<dc:creator>savasirez</dc:creator>
				<category><![CDATA[Netbackup Howto]]></category>
		<category><![CDATA[Oracle Backup]]></category>
		<category><![CDATA[oracle 10g backup]]></category>
		<category><![CDATA[oracle 10g hot backup]]></category>
		<category><![CDATA[oracle 10g hotbackup]]></category>
		<category><![CDATA[oracle hot backup]]></category>
		<category><![CDATA[oracle hotbackup]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=341</guid>
		<description><![CDATA[This page describes Oracle hot backup without using an rman database. It can have some missing parts, so please share your knowledge if anything is missing according to you. Pre-requisites: You must have Oracle license on Netbackup. (Correction. Oracle license is not required for this approach, Thanks to Bahadır) Policy Creation: 1. Create the following [...]]]></description>
			<content:encoded><![CDATA[<p>This page describes Oracle hot backup without using an rman database. It can have some missing parts, so please share your knowledge if anything is missing according to you.</p>
<p><span id="more-341"></span></p>
<p><strong>Pre-requisites:</strong></p>
<p><span style="text-decoration: line-through;">You must have Oracle license on Netbackup. </span>(Correction. Oracle license is not required for this approach, Thanks to Bahadır)<span style="text-decoration: line-through;"><br />
</span></p>
<p><strong>Policy Creation:</strong></p>
<p>1. Create the following scripts under directory /usr/openv/netbackup/bin</p>
<p><a title="bpstart_notify" href="http://www.netbackuphowto.com/wp-content/uploads/2009/04/bpstart_notify" target="_blank">bpstart_notify</a></p>
<p>Change the following lines (arguments in bold) for your system. Lines 62 to 72.<br />
&#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;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
&#8220;FULL&#8221;)<br />
echo `date` full backup started on $1 &#8211; policy $2 schedule $3 &gt;&gt; $OUTF<br />
/usr/openv/netbackup/bin/db_begin_bkup -user <strong>oracle</strong> -home <strong>/u01/app/oracle/product/10.2.0/db_1 </strong>-base <strong>/u01/app/oracle</strong> -sid <strong>orcl </strong>-init <strong>/u01/app/oracle/product/10.2.0/db_1/admin/orcl/pfile/init.ora</strong> &gt;&gt; $OUTF<br />
;;<br />
&#8220;INCR&#8221;)<br />
echo `date` differential incremental backup started on $1 &#8211; policy $2 schedule $3 &gt;&gt; $OUTF<br />
/usr/openv/netbackup/bin/db_begin_bkup -user<strong> oracle</strong> -home <strong>/u01/app/oracle/product/10.2.0/db_1</strong> -base <strong>/u01/app/oracle</strong> -sid <strong>orcl </strong>-init <strong>/u01/app/oracle/product/10.2.0/db_1/admin/orcl/pfile/init.ora</strong> &gt;&gt; $OUTF<br />
;;<br />
&#8220;CINC&#8221;)<br />
echo `date` cumulative incremental backup started on $1 &#8211; policy $2 schedule $3 &gt;&gt; $OUTF<br />
/usr/openv/netbackup/bin/db_begin_bkup -user <strong>oracle </strong>-home <strong>/u01/app/oracle/product/10.2.0/db_1</strong> -base <strong>/u01/app/oracle</strong> -sid <strong>orcl </strong>-init <strong>/u01/app/oracle/product/10.2.0/db_1/admin/orcl/pfile/init.ora</strong> &gt;&gt; $OUTF<br />
;;<br />
&#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;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p><a title="bpend_notify" href="http://www.netbackuphowto.com/wp-content/uploads/2009/04/bpend_notify" target="_blank">bpend_notify<br />
</a>Change the following lines  (arguments in bold) for your system. Lines 64 to 75.<br />
&#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;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>&#8220;FULL&#8221;)<br />
echo `date` full backup finished on $1 &#8211; policy $2 schedule $3. Exit status = $5 &gt;&gt; $OUTF<br />
/usr/openv/netbackup/bin/db_end_bkup -user <strong>oracle </strong>-home <strong>/u01/app/oracle/product/10.2.0/db_1</strong> -base <strong>/u01/app/oracle</strong> -sid <strong>orcl</strong> -init <strong>/u01/app/oracle/product/10.2.0/db_1/admin/orcl/pfile/init.ora</strong> &gt;&gt; $OUTF<br />
;;<br />
&#8220;INCR&#8221;)<br />
echo `date` differential incremental backup finished on $1 &#8211; policy $2 schedule $3. Exit status = $5 &gt;&gt; $OUTF<br />
/usr/openv/netbackup/bin/db_end_bkup -user <strong>oracle </strong>-home <strong>/u01/app/oracle/product/10.2.0/db_1</strong> -base <strong>/u01/app/oracle</strong> -sid <strong>orcl</strong> -init <strong>/u01/app/oracle/product/10.2.0/db_1/admin/orcl/pfile/init.ora</strong> &gt;&gt; $OUTF<br />
;;<br />
&#8220;CINC&#8221;)<br />
echo `date` cumulative incremental backup finished on $1 &#8211; policy $2 schedule $3. Exit status = $5 &gt;&gt; $OUTF<br />
/usr/openv/netbackup/bin/db_end_bkup -user <strong>oracle </strong>-home <strong>/u01/app/oracle/product/10.2.0/db_1</strong> -base <strong>/u01/app/oracle</strong> -sid <strong>orcl</strong> -init <strong>/u01/app/oracle/product/10.2.0/db_1/admin/orcl/pfile/init.ora</strong> &gt;&gt; $OUTF<br />
;;<br />
&#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;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p><a title="db_begin_bkup" href="http://www.netbackuphowto.com/wp-content/uploads/2009/04/db_begin_bkup" target="_blank">db_begin_bkup<br />
</a>Change the following lines (at the end of the file, CUSTOMIZATION section)<br />
&#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;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
line 471<br />
ORACLE_DBA=${ORACLE_DBA:=oracle}<br />
line 479<br />
ORACLE_BASE=${ORACLE_BASE:=/u01/app/oracle}<br />
line 488<br />
ORACLE_HOME=${ORACLE_HOME:=/u01/app/oracle/product/10.2.0/db_1}<br />
line 494<br />
ORACLE_SID=${ORACLE_SID:=orcl}<br />
line 501<br />
SQLCMD=${SQLCMD:=${ORACLE_HOME}/bin/sqlplus}<br />
line 508<br />
ORACLE_INIT=${ORACLE_INIT:=${ORACLE_HOME}/admin/${ORACLE_SID}/pfile/init.ora}<br />
lines 516 and 517<br />
MAIL_ADDR_SUCCESS=${MAIL_ADDR_SUCCESS:=root@localhost}<br />
MAIL_ADDR_FAILURE=${MAIL_ADDR_FAILURE:=root@localhost}<br />
line 529<br />
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:=${ORACLE_HOME}/lib}<br />
line 536<br />
CONTROL_DIR=/tmp/ORACLE_BACKUP<br />
&#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;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p><a title="db_end_bkup" href="http://www.netbackuphowto.com/wp-content/uploads/2009/04/db_end_bkup" target="_blank">db_end_bkup<br />
</a>Change the following lines (at the end of the file, CUSTOMIZATION section)<br />
&#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;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
line 410<br />
ORACLE_DBA=${ORACLE_DBA:=oracle}<br />
line 418<br />
ORACLE_BASE=${ORACLE_BASE:=/u01/app/oracle}<br />
line 427<br />
ORACLE_HOME=${ORACLE_HOME:=/u01/app/oracle/product/10.2.0/db_1}<br />
line 433<br />
ORACLE_SID=${ORACLE_SID:=orcl}<br />
line 440<br />
SQLCMD=${SQLCMD:=${ORACLE_HOME}/bin/sqlplus}<br />
line 447<br />
ORACLE_INIT=${ORACLE_INIT:=${ORACLE_HOME}/admin/${ORACLE_SID}/pfile/init.ora}<br />
lines 455 and 456<br />
MAIL_ADDR_SUCCESS=${MAIL_ADDR_SUCCESS:=root@localhost}<br />
MAIL_ADDR_FAILURE=${MAIL_ADDR_FAILURE:=root@localhost}<br />
line 468<br />
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:=${ORACLE_HOME}/lib}<br />
line 475<br />
CONTROL_DIR=/tmp/ORACLE_BACKUP</p>
<p>&#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;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>2. Create a policy, choose Policy Type to be <strong>standard</strong> and choose Oracle data directories and Archivelog directories in Backup Selections.</p>
<p>3. Name bpstart_notify as bpstart_notify.policy_name (e.g: if your backup policy name is OracleBackup then the file name should be bpstart_notify.OracleBackup)<br />
Do the same for bpend_notify as well.<br />
Do not rename db_begin_bkup and bp_end_bkup as they will be called by the first two scripts.</p>
<p>4. Make all the scripts executable and owned by root.</p>
<p>chown root bpstart_notify*<br />
chown root bpend_notify*<br />
chown root db_begin_bkup<br />
chown root db_end_bkup</p>
<p>chmod 755 bpstart_notify*<br />
chmod 755 bpend_notify*<br />
chmod 755 db_begin_bkup<br />
chmod 755 db_end_bkup</p>
<p>5. Try a manual backup and see if it works.</p>
<p>Ps : The scripts create the following files, so you can monitor script processes while the backup process continues.<br />
BPRD_CALLED<br />
SESSION_START_CALLED<br />
BPSTART_CALLED<br />
BACKUP_CALLED<br />
BACKUP_EXIT_CALLED<br />
SESSION_CALLED<br />
BPEND_CALLED</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2009/04/29/oracle-10g-hot-backup-without-rman-unix/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

