<?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; nbu tips</title>
	<atom:link href="http://www.netbackuphowto.com/tag/nbu-tips/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>NetBackup Tips (Command line)</title>
		<link>http://www.netbackuphowto.com/2009/04/29/netbackup-tips-command-line/</link>
		<comments>http://www.netbackuphowto.com/2009/04/29/netbackup-tips-command-line/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 22:38:19 +0000</pubDate>
		<dc:creator>savasirez</dc:creator>
				<category><![CDATA[NetBackup Tips]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[nbu cli]]></category>
		<category><![CDATA[nbu cli tips]]></category>
		<category><![CDATA[nbu tips]]></category>
		<category><![CDATA[netbackup cli]]></category>
		<category><![CDATA[netbackup cli tips]]></category>
		<category><![CDATA[netbackup command line tips]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=333</guid>
		<description><![CDATA[1. Inventory a robot (then update) /usr/openv/volmgr/bin/vmupdate -rt robot_type -rn robot_number -list     (robot_type is tld etc&#8230;) 2. Clean a tape drive manually tpclean -C &#60;drive name&#62; 3. Find backup images of a client for spesific date range. bpimagelist -U -client &#60;CLIENT_NAME&#62; -d &#60;START_DATE&#62; -e &#60;END_DATE&#62; 4.  Find tape media used for backup of a client [...]]]></description>
			<content:encoded><![CDATA[<p>1. Inventory a robot (then update)<br />
/usr/openv/volmgr/bin/vmupdate -rt robot_type -rn robot_number -list     (robot_type is tld etc&#8230;)</p>
<p><span id="more-333"></span></p>
<p>2. Clean a tape drive manually<br />
tpclean -C &lt;drive name&gt;</p>
<p>3. Find backup images of a client for spesific date range.<br />
bpimagelist -U -client &lt;CLIENT_NAME&gt; -d &lt;START_DATE&gt; -e &lt;END_DATE&gt;</p>
<p>4.  Find tape media used for backup of a client for spesific date range.<br />
bpimagelist -U -client &lt;CLIENT_NAME&gt; -d &lt;START_DATE&gt; -e &lt;END_DATE&gt; -media</p>
<p>5. Monitor backup jobs<br />
/usr/openv/netbackup/bin/admincmd/bpdbjobs -report</p>
<p>6. Howto re-use used tape media (That is: to re-use a tape media used by another system or older netbackup software)<br />
&#8220;Expire that media&#8221;<br />
bpexpdate -ev media_id -d 0 -force -host NBUHostname<br />
&#8220;De-assign that media&#8221;<br />
vmquery -deassignbyid media_id 4 0<br />
&#8220;Move that media to a volume pool (preferably a Scratch pool)&#8221;<br />
vmchange -m media_id -p Scratch_Pool_Number<br />
&#8220;Re-label that media&#8221;<br />
bplabel -ev media_id -d robot_type -p Pool_name</p>
<p>7. Check drive usage<br />
/usr/openv/volmgr/bin/vmoprcmd</p>
<p>8. Take a drive down/up<br />
/usr/openv/volmgr/vmoprcmd -down &lt;drive_index&gt;<br />
/usr/openv/volmgr/vmoprcmd -up &lt;drive_index&gt;</p>
<p>9. Howto unfreeze a media<br />
&#8220;Find the frozen media id&#8217;s&#8221;<br />
/usr/openv/netbackup/bin/goodies/available_media | grep -i frozen<br />
&#8220;Unfreeze the media according to the media id found above&#8221;<br />
bpmedia -unfreeze -ev &lt;media_id&gt; -h &lt;media_server&gt;</p>
<p>10. Delete a tape media from NetBackup<br />
&#8220;Make sure no images exist on the tape&#8221;<br />
bpimmedia -mediaid media_id -L<br />
&#8220;Expire the tape&#8221;<br />
bpexpdate -ev media_id -d 0 -host NBUHostname -force<br />
&#8220;Find the pool name of the tape and make sure the status of that tape&#8221;<br />
vmquery -m media_id<br />
&#8220;De-assign the tape&#8221;<br />
vmquery -deassignbyid &lt;media_id&gt; &lt;pool_number&gt; &lt;status from vmquery -m&gt;<br />
vmquery -deassignbyid media_id 4 0×0<br />
&#8220;Delete the tape from NetBackup&#8221;<br />
vmdelete -m media_id</p>
<p>12. Properties of a volume pool<br />
vmpool -listall</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2009/04/29/netbackup-tips-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Application connection failed for servername&#8221; error on Windows 2008 MS-Sql Client</title>
		<link>http://www.netbackuphowto.com/2008/12/29/application-connection-failed-for-servername-error-on-windows-2008-ms-sql-client/</link>
		<comments>http://www.netbackuphowto.com/2008/12/29/application-connection-failed-for-servername-error-on-windows-2008-ms-sql-client/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 13:31:11 +0000</pubDate>
		<dc:creator>savasirez</dc:creator>
				<category><![CDATA[NetBackup Tips]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[ms-sql]]></category>
		<category><![CDATA[ms-sql on windows 2008]]></category>
		<category><![CDATA[ms-sql tips]]></category>
		<category><![CDATA[nbu tips]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=203</guid>
		<description><![CDATA[If you are getting an error like this on a windows 2008 system while trying to connect through netbackup ms-sql client&#8230; Application connection failed for servername\. Please select a different SQL server host and instance, or press &#8216;cancel&#8217; to exit the NetBackup for SQL Server Graphical User Interface. According to this page, this error is [...]]]></description>
			<content:encoded><![CDATA[<p>If you are getting an error like this on a windows 2008 system while trying to connect through netbackup ms-sql client&#8230;</p>
<p><span id="more-203"></span></p>
<p><em>Application connection failed for servername\. Please select a different SQL server host and instance, or press &#8216;cancel&#8217; to exit the NetBackup for SQL Server Graphical User Interface.</em></p>
<p>According to this page, this error is caused by windows 2008&#8242;s &#8220;User Account Control&#8221;. You need to run&#8221;Netbackup Ms-Sql client&#8221; with &#8220;Run As Administrator&#8221; privilege.</p>
<p>Right click &#8220;Netbackup Ms-Sql client&#8221; and select &#8220;Run as Administrator&#8221; and &#8220;Apply&#8221;. Try to connect to ms-sql server again and you should be able to see databases now&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2008/12/29/application-connection-failed-for-servername-error-on-windows-2008-ms-sql-client/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

