<?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>The NetWorker Blog &#187; Basics</title>
	<atom:link href="http://nsrd.info/blog/tag/basics/feed/" rel="self" type="application/rss+xml" />
	<link>http://nsrd.info/blog</link>
	<description>EMC NetWorker commentary from a long term backup consultant and theorist</description>
	<lastBuildDate>Mon, 21 May 2012 21:37:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>5 rules for upgrading NetWorker</title>
		<link>http://nsrd.info/blog/2012/01/09/5-rules-for-upgrading-networker/</link>
		<comments>http://nsrd.info/blog/2012/01/09/5-rules-for-upgrading-networker/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 06:51:13 +0000</pubDate>
		<dc:creator>Preston de Guise</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[NetWorker]]></category>
		<category><![CDATA[Support]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[updates]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[upgrades]]></category>

		<guid isPermaLink="false">http://nsrd.info/blog/?p=3489</guid>
		<description><![CDATA[So a new version of NetWorker has come out, or is coming out, and it&#8217;s been decided that you&#8217;re going to upgrade, but you want a few tips for making that upgrade as painless as possible. Here&#8217;s my 5 rules for upgrading NetWorker: Read the release notes. If you&#8217;re not going to read the release <a href='http://nsrd.info/blog/2012/01/09/5-rules-for-upgrading-networker/' class='excerpt-more'>[...]</a>
Related posts:<ol>
<li><a href='http://nsrd.info/blog/2011/12/12/10-networker-configuration-rules/' rel='bookmark' title='10 NetWorker Configuration Rules'>10 NetWorker Configuration Rules</a> <small>Over the last 15 years, I&#8217;ve administered, configured and supported...</small></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://nsrd.info/blog/wp-content/uploads/2012/01/Upgrading-NetWorker.jpg" onclick="return TrackClick('http%3A%2F%2Fnsrd.info%2Fblog%2Fwp-content%2Fuploads%2F2012%2F01%2FUpgrading-NetWorker.jpg','Upgrading+NetWorker')"><img class="aligncenter size-full wp-image-3493" title="Upgrading NetWorker" src="http://nsrd.info/blog/wp-content/uploads/2012/01/Upgrading-NetWorker.jpg" onclick="return TrackClick('http%3A%2F%2Fnsrd.info%2Fblog%2Fwp-content%2Fuploads%2F2012%2F01%2FUpgrading-NetWorker.jpg','Upgrading+NetWorker')" alt="Upgrading NetWorker" width="220" height="506" /></a></p>
<p>So a new version of NetWorker has come out, or is coming out, and it&#8217;s been decided that you&#8217;re going to upgrade, but you want a few tips for making that upgrade as painless as possible. Here&#8217;s my 5 rules for upgrading NetWorker:</p>
<ol>
<li><strong>Read the release notes</strong>. If you&#8217;re not going to read the release notes, you are better off staying on your current version, no matter what issues you&#8217;re having. I can&#8217;t stress enough the importance of reading the release notes and having a thorough grasp of:</li>
<ul>
<li>What has changed?</li>
<li>What are the known issues with the current release?</li>
<li>What were the resolved issues between the current release and the release you&#8217;re currently running?</li>
</ul>
<li><strong>Do a bootstrap and index backup</strong> if upgrading between major or minor releases. If going between service packs on the same release, you can skip the index backup so long as your backups have been successful lately, but ensure you still do a bootstrap backup.</li>
<li><strong>Unload all tapes (physical or virtual) in jukeboxes before the upgrade</strong>. You&#8217;ll see why shortly.</li>
<li><strong>Upgrade in this order</strong>:</li>
<ul>
<li>Storage node(s) on the day of the upgrade, before the NetWorker server</li>
<li>Server on the day of the upgrade, after the storage node(s)</li>
<li>Client(s) later, at suitable times</li>
</ul>
<li><strong>After the upgrade but before the NetWorker services are restarted</strong> on the storage node(s) and server, <em>delete the nsr/tmp</em> directory on those hosts.</li>
</ol>
<p>Obviously standard caveats, such as following any additional instructions in the release notes or upgrade notes should of course be followed, but sticking to the above rules as well can save a lot of hassle over time. I&#8217;ve noticed over the years that a odd, random problems following upgrades can be solved by clearing the nsr/tmp directory on the server and storage nodes. If there&#8217;s no tapes in the jukeboxes when the services first start after the upgrade, there&#8217;s less futzing for NetWorker to take care of before it&#8217;s fully up and running, too.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Share this using...</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fnsrd.info%2Fblog%2F2012%2F01%2F09%2F5-rules-for-upgrading-networker%2F&amp;submitHeadline=5+rules+for+upgrading+NetWorker&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2012%2F01%2F09%2F5-rules-for-upgrading-networker%2F&amp;title=5+rules+for+upgrading+NetWorker" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fnsrd.info%2Fblog%2F2012%2F01%2F09%2F5-rules-for-upgrading-networker%2F&amp;title=5+rules+for+upgrading+NetWorker" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fnsrd.info%2Fblog%2F2012%2F01%2F09%2F5-rules-for-upgrading-networker%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fnsrd.info%2Fblog%2F2012%2F01%2F09%2F5-rules-for-upgrading-networker%2F&amp;title=5+rules+for+upgrading+NetWorker" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fnsrd.info%2Fblog%2F2012%2F01%2F09%2F5-rules-for-upgrading-networker%2F&amp;bm_description=5+rules+for+upgrading+NetWorker" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fnsrd.info%2Fblog%2F2012%2F01%2F09%2F5-rules-for-upgrading-networker%2F&amp;T=5+rules+for+upgrading+NetWorker" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2012%2F01%2F09%2F5-rules-for-upgrading-networker%2F&amp;title=5+rules+for+upgrading+NetWorker" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2012%2F01%2F09%2F5-rules-for-upgrading-networker%2F&amp;title=5+rules+for+upgrading+NetWorker" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fnsrd.info%2Fblog%2F2012%2F01%2F09%2F5-rules-for-upgrading-networker%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2012%2F01%2F09%2F5-rules-for-upgrading-networker%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+5+rules+for+upgrading+NetWorker+@+http%3A%2F%2Fnsrd.info%2Fblog%2F2012%2F01%2F09%2F5-rules-for-upgrading-networker%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fnsrd.info%2Fblog%2F2012%2F01%2F09%2F5-rules-for-upgrading-networker%2F&amp;t=5+rules+for+upgrading+NetWorker" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
<p>Related posts:<ol>
<li><a href='http://nsrd.info/blog/2011/12/12/10-networker-configuration-rules/' rel='bookmark' title='10 NetWorker Configuration Rules'>10 NetWorker Configuration Rules</a> <small>Over the last 15 years, I&#8217;ve administered, configured and supported...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://nsrd.info/blog/2012/01/09/5-rules-for-upgrading-networker/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Basics &#8211; Specifying a default Jukebox</title>
		<link>http://nsrd.info/blog/2010/08/05/basics-specifying-a-default-jukebox/</link>
		<comments>http://nsrd.info/blog/2010/08/05/basics-specifying-a-default-jukebox/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 19:03:14 +0000</pubDate>
		<dc:creator>Preston de Guise</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[NetWorker]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[default jukebox]]></category>
		<category><![CDATA[jukebox]]></category>
		<category><![CDATA[NSR_JUKEBOX]]></category>

		<guid isPermaLink="false">http://nsrd.info/blog/?p=2444</guid>
		<description><![CDATA[If you&#8217;ve got multiple jukeboxes within a NetWorker environment, but primarily work with one of them, you may find &#8216;nsrjb&#8217; to be a bit of a pain any time you forget to specify the jukebox name. If you&#8217;re not familiar with this, here&#8217;s how nsrjb reacts in this situation: [root@tara ~]# nsrjb 1: VTL1 [enabled] <a href='http://nsrd.info/blog/2010/08/05/basics-specifying-a-default-jukebox/' class='excerpt-more'>[...]</a>
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve got multiple jukeboxes within a NetWorker environment, but primarily work with one of them, you may find &#8216;nsrjb&#8217; to be a bit of a pain any time you forget to specify the jukebox name. If you&#8217;re not familiar with this, here&#8217;s how nsrjb reacts in this situation:</p>
<pre>[root@tara ~]# nsrjb
1:	VTL1 	[enabled]
2:	VTL2 	[enabled]
No jukebox selected.
Please select a jukebox to use:? [1] _</pre>
<p>(Slight aside: never assume the numbered list is the same; NetWorker doesn&#8217;t guarantee the order being the same between executions &#8211; in fact, I actually only put in an RFE about this a couple of days ago, as I&#8217;m hoping it could at least be alphabetically ordered at all times&#8230;)</p>
<p>If you want to avoid the jukebox-prompt from nsrjb, one of the easiest ways is to specify the jukebox name as part of the command &#8211; e.g.,</p>
<pre>[root@tara ~]# nsrjb -j VTL1</pre>
<p>That&#8217;s fine of course, but if the vast majority of the time you perform operations on a single jukebox, you can specify a default jukebox as an environment variable (NSR_JUKEBOX) and streamline your processes. For example, on Linux, using the bash, this might look as follows:</p>
<pre>[root@tara ~]# export NSR_JUKEBOX=VTL1
[root@tara ~]# nsrjb</pre>
<pre>Jukebox VTL1: (Ready to accept commands)
slot  volume         pool           barcode   volume id        recyclable
1: 800840L4       ClientTesting  800840L4  3814088325       no
2: 800841L4       ClientTesting  800841L4  3797311146       no
3: 800842L4       ClientTesting  800842L4  3847642669       no
4: 800843L4       ClientTesting  800843L4  3780533937       no
5: 800844L4       ClientTesting  800844L4  3763756765       yes
6: 800845L4       ClientTesting  800845L4  3864419885       yes
&lt;snip&gt;</pre>
<p>Being an environment variable, this is something you can choose to set locally – say, on a per storage-node basis, when you have multiple storage nodes. It&#8217;s relatively common for instance to have a tape library on one or more storage nodes, so for the appropriate logins (or even at a system level) on each storage node it would be possible to set the local jukebox as the default, thereby streamlining usage of the units.</p>
<p>As an example, here&#8217;s a lab storage node with the setting in use:</p>
<pre>[root@fawn ~]# export NSR_JUKEBOX="rd=fawn:VTL3"
[root@fawn ~]# nsrjb -s tara</pre>
<pre>Jukebox rd=fawn:VTL3: (Ready to accept commands)
&lt;snip&gt;</pre>
<p>For something that can take you less than 30 seconds to set, the environment variable NSR_JUKEBOX can certainly be a big time saver if you have multiple jukeboxes in your environment and (like me) you&#8217;re a command line junkie.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Share this using...</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fnsrd.info%2Fblog%2F2010%2F08%2F05%2Fbasics-specifying-a-default-jukebox%2F&amp;submitHeadline=Basics+%26%238211%3B+Specifying+a+default+Jukebox&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2010%2F08%2F05%2Fbasics-specifying-a-default-jukebox%2F&amp;title=Basics+%26%238211%3B+Specifying+a+default+Jukebox" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fnsrd.info%2Fblog%2F2010%2F08%2F05%2Fbasics-specifying-a-default-jukebox%2F&amp;title=Basics+%26%238211%3B+Specifying+a+default+Jukebox" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fnsrd.info%2Fblog%2F2010%2F08%2F05%2Fbasics-specifying-a-default-jukebox%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fnsrd.info%2Fblog%2F2010%2F08%2F05%2Fbasics-specifying-a-default-jukebox%2F&amp;title=Basics+%26%238211%3B+Specifying+a+default+Jukebox" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fnsrd.info%2Fblog%2F2010%2F08%2F05%2Fbasics-specifying-a-default-jukebox%2F&amp;bm_description=Basics+%26%238211%3B+Specifying+a+default+Jukebox" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fnsrd.info%2Fblog%2F2010%2F08%2F05%2Fbasics-specifying-a-default-jukebox%2F&amp;T=Basics+%26%238211%3B+Specifying+a+default+Jukebox" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2010%2F08%2F05%2Fbasics-specifying-a-default-jukebox%2F&amp;title=Basics+%26%238211%3B+Specifying+a+default+Jukebox" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2010%2F08%2F05%2Fbasics-specifying-a-default-jukebox%2F&amp;title=Basics+%26%238211%3B+Specifying+a+default+Jukebox" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fnsrd.info%2Fblog%2F2010%2F08%2F05%2Fbasics-specifying-a-default-jukebox%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2010%2F08%2F05%2Fbasics-specifying-a-default-jukebox%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Basics+%26%238211%3B+Specifying+a+default+Jukebox+@+http%3A%2F%2Fnsrd.info%2Fblog%2F2010%2F08%2F05%2Fbasics-specifying-a-default-jukebox%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fnsrd.info%2Fblog%2F2010%2F08%2F05%2Fbasics-specifying-a-default-jukebox%2F&amp;t=Basics+%26%238211%3B+Specifying+a+default+Jukebox" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://nsrd.info/blog/2010/08/05/basics-specifying-a-default-jukebox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basics &#8211; jbverify</title>
		<link>http://nsrd.info/blog/2009/04/08/basics-jbverify/</link>
		<comments>http://nsrd.info/blog/2009/04/08/basics-jbverify/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 09:38:20 +0000</pubDate>
		<dc:creator>Preston de Guise</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[jbverify]]></category>
		<category><![CDATA[jukebox]]></category>

		<guid isPermaLink="false">http://nsrd.wordpress.com/?p=301</guid>
		<description><![CDATA[Now, some might say that I&#8217;m not the smartest card in the deck for what I&#8217;m about to note, but sometimes I don&#8217;t notice new commands when they appear in NetWorker, particularly if I skimmed through release notes. I was pleasantly surprised today to find that a new command had slipped in at some point <a href='http://nsrd.info/blog/2009/04/08/basics-jbverify/' class='excerpt-more'>[...]</a>
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Now, some might say that I&#8217;m not the smartest card in the deck for what I&#8217;m about to note, but sometimes I don&#8217;t notice new commands when they appear in NetWorker, particularly if I skimmed through release notes.</p>
<p>I was pleasantly surprised today to find that a new command had slipped in <em>at some point</em> called &#8220;jbverify&#8221;. I can immediately see it however entering my stable of must-use commands, particularly in a support environment.</p>
<p>To quote the man page, <em>jbverify</em>:</p>
<blockquote><p><em><strong>[V]erifies the devices defined in the NetWorker database, making sure that each one of them is configured properly by checking them  for accessibility  and  usability.</strong></em></p></blockquote>
<p>This is the sort of diagnostic tool that support people live for, and sites suddenly experiencing strange jukebox issues should think of as a matter of course.</p>
<p>When run on my lab server this afternoon, I got the following badly formatted but still very useful output:</p>
<pre># jbverify
14866:jbverify:
 Jbverify is running on host nox, Linux 2.6.18-128.1.6.el5

14912:jbverify:
 Processing stand-alone devices...

14913:jbverify:
 Processing /d/nsr/02/_AF_readonly
14915:jbverify:
 Finished processing /d/nsr/02/_AF_readonly

14913:jbverify:
 Processing /d/nsr/idata/backup/_AF_readonly
14915:jbverify:
 Finished processing /d/nsr/idata/backup/_AF_readonly

14913:jbverify:
 Processing /d/nsr/01/_AF_readonly
14915:jbverify:
 Finished processing /d/nsr/01/_AF_readonly

14913:jbverify:
 Processing /d/nsr/idata/backup
14915:jbverify:
 Finished processing /d/nsr/idata/backup

14913:jbverify:
 Processing /d/nsr/idata/clone/_AF_readonly
14915:jbverify:
 Finished processing /d/nsr/idata/clone/_AF_readonly

14913:jbverify:
 Processing /d/nsr/01
14915:jbverify:
 Finished processing /d/nsr/01

14913:jbverify:
 Processing /d/nsr/03
14915:jbverify:
 Finished processing /d/nsr/03

14913:jbverify:
 Processing /d/nsr/03/_AF_readonly
14915:jbverify:
 Finished processing /d/nsr/03/_AF_readonly

14913:jbverify:
 Processing /d/nsr/02
14915:jbverify:
 Finished processing /d/nsr/02

14913:jbverify:
 Processing /d/nsr/idata/clone
14915:jbverify:
 Finished processing /d/nsr/idata/clone

14917:jbverify:
 Finished processing stand-alone devices.

14918:jbverify:
 Processing jukebox devices...

14920:jbverify:
 Processing jukebox LTO1_LIB:

14733:jbverify:
 Testing drive 1 (/dev/nst0) of JB LTO1_LIB

14927:jbverify:

 Jukebox LTO1_LIB on nox successfully processed.

14929:jbverify:

 Finished processing jukebox devices.

**********************************************************************

         Summary report of jbverify
         ======= ====== == ========

Hostname   Device Handle    Blocksize  Jukebox  Drv No. Status
--------   -------------    ---------  -------  ------- ------
nox        /d/nsr/02/_AF_readonly 131072 N/A    N/A     Pass
nox        /d/nsr/idata/backup/_AF_readonly 131072 N/A N/A Pass
nox        /d/nsr/01/_AF_readonly 131072 N/A    N/A     Pass
nox        /d/nsr/idata/backup 131072  N/A      N/A     Pass
nox        /d/nsr/idata/clone/_AF_readonly 131072 N/A N/A Pass
nox        /d/nsr/01        131072     N/A      N/A     Pass
nox        /d/nsr/03        131072     N/A      N/A     Pass
nox        /d/nsr/03/_AF_readonly 131072 N/A    N/A     Pass
nox        /d/nsr/02        131072     N/A      N/A     Pass
nox        /d/nsr/idata/clone 131072   N/A      N/A     Pass
nox        /dev/nst0        65536      LTO1_LIB 1       Pass

**********************************************************************</pre>
<p>If you&#8217;ve come from NetBackup, the nature of this program is somewhat reminsicent of the <em>robtest</em> utility. I don&#8217;t claim EMC are special for having introduced this tool, but I do applaud that it&#8217;s there (and lament that I didn&#8217;t notice it sooner).</p>
<p>(One thing to note: after running <em>jbverify</em>, make sure you reset your jukebox.)</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Share this using...</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F04%2F08%2Fbasics-jbverify%2F&amp;submitHeadline=Basics+%26%238211%3B+jbverify&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F04%2F08%2Fbasics-jbverify%2F&amp;title=Basics+%26%238211%3B+jbverify" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F04%2F08%2Fbasics-jbverify%2F&amp;title=Basics+%26%238211%3B+jbverify" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F04%2F08%2Fbasics-jbverify%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F04%2F08%2Fbasics-jbverify%2F&amp;title=Basics+%26%238211%3B+jbverify" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F04%2F08%2Fbasics-jbverify%2F&amp;bm_description=Basics+%26%238211%3B+jbverify" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F04%2F08%2Fbasics-jbverify%2F&amp;T=Basics+%26%238211%3B+jbverify" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F04%2F08%2Fbasics-jbverify%2F&amp;title=Basics+%26%238211%3B+jbverify" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F04%2F08%2Fbasics-jbverify%2F&amp;title=Basics+%26%238211%3B+jbverify" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F04%2F08%2Fbasics-jbverify%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F04%2F08%2Fbasics-jbverify%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Basics+%26%238211%3B+jbverify+@+http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F04%2F08%2Fbasics-jbverify%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F04%2F08%2Fbasics-jbverify%2F&amp;t=Basics+%26%238211%3B+jbverify" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://nsrd.info/blog/2009/04/08/basics-jbverify/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basics &#8211; Using datazone encryption with NetWorker</title>
		<link>http://nsrd.info/blog/2009/03/22/basics-using-datazone-encryption-with-networker/</link>
		<comments>http://nsrd.info/blog/2009/03/22/basics-using-datazone-encryption-with-networker/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 06:03:34 +0000</pubDate>
		<dc:creator>Preston de Guise</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[NetWorker]]></category>
		<category><![CDATA[AES]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://nsrd.wordpress.com/?p=253</guid>
		<description><![CDATA[I&#8217;m not fond of software encryption (or compression, for that matter). Particularly in a 24&#215;7 enterprise environment, clients (i.e., production servers) have better things to be doing than doing on-the-fly software encryption or compression. In these environments, hardware encryption routers should be the product of choice for achieving totally secure backups. Such devices also have <a href='http://nsrd.info/blog/2009/03/22/basics-using-datazone-encryption-with-networker/' class='excerpt-more'>[...]</a>
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not fond of software encryption (or compression, for that matter). Particularly in a 24&#215;7 enterprise environment, clients (i.e., production servers) have better things to be doing than doing on-the-fly software encryption or compression. In these environments, hardware encryption routers should be the product of choice for achieving totally secure backups. Such devices also have advantages in terms of key management – much more flexible, scalable and appropriate for role based data access.</p>
<p>That being said, in smaller environments, or environments where servers are relatively idle overnight, NetWorker&#8217;s datazone encryption can be sufficient to achieve a reasonable modicum of backup protection with minimum effort – and most importantly, cost.</p>
<p>To get started using NetWorker datazone encryption, you first need to assign a pass phrase. This is done in the NetWorker server properties (typically accessed within NMC):</p>
<p><img class="aligncenter size-full wp-image-255" title="datazone-encryption" src="http://nsrd.files.wordpress.com/2009/03/datazone-encryption.jpg" alt="datazone-encryption" width="450" height="251" />With the pass phrase in place, you can then configure directives within NetWorker to make use of AES 256 bit encryption. However! As soon as you turn encryption on, you lose <em>all</em> potential for hardware based compression for your media. Why? Quite simply, <em>compression</em> is about finding patterns in data and reducing all the matching patterns to a single reference point; however, <em>encryption</em> is all about eliminating patterns, making the data appear completely random.</p>
<p>Thus, if you want to still get some measure of compression, you should, when using this method, employ software based compression in your directive as well.</p>
<p>Thus, a base directive might look like the following:</p>
<pre>&lt;&lt; / &gt;&gt;
+compressasm: .
+aes: .</pre>
<p>This will apply compression first to all files encountered, then once the file has been compressed, it will be encrypted. A side benefit of this is that by compressing first, you reduce the amount of data to be encrypted*.</p>
<p>So long as the datazone pass phrase is stored in the server, encryption will occur, and no password will be required to recover the data. Remember, this style of encryption, using a single pass-phrase, <em>isn&#8217;t</em> about being able to restrict whom within the datazone can recover the data, but instead it&#8217;s about keeping the data stored on-tape (which is potentially off-site, or otherwise at higher risk of theft), from being recovered.</p>
<p><strong>[Edit, 2009-08-15]</strong></p>
<p>It&#8217;s been pointed out to me that you can&#8217;t compress + encrypt at the client side. Indeed, I&#8217;ve now found the part in the administration guide that explicitly says this. What is <em>extremely disappointing</em> about this is that NetWorker actually doesn&#8217;t <em>warn</em> you that it&#8217;s not going to compress + encrypt! To me, that&#8217;s a security issue.</p>
<p>So, for the examples above, forget about enabling client side compression as well as encryption &#8211; you can have one or the other, but not both.</p>
<p>&#8211;<br />
* In the same way that ice-cream that&#8217;s 99% fat free, but 87% sugar is a &#8220;benefit&#8221;.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Share this using...</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F22%2Fbasics-using-datazone-encryption-with-networker%2F&amp;submitHeadline=Basics+%26%238211%3B+Using+datazone+encryption+with+NetWorker&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F22%2Fbasics-using-datazone-encryption-with-networker%2F&amp;title=Basics+%26%238211%3B+Using+datazone+encryption+with+NetWorker" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F22%2Fbasics-using-datazone-encryption-with-networker%2F&amp;title=Basics+%26%238211%3B+Using+datazone+encryption+with+NetWorker" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F22%2Fbasics-using-datazone-encryption-with-networker%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F22%2Fbasics-using-datazone-encryption-with-networker%2F&amp;title=Basics+%26%238211%3B+Using+datazone+encryption+with+NetWorker" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F22%2Fbasics-using-datazone-encryption-with-networker%2F&amp;bm_description=Basics+%26%238211%3B+Using+datazone+encryption+with+NetWorker" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F22%2Fbasics-using-datazone-encryption-with-networker%2F&amp;T=Basics+%26%238211%3B+Using+datazone+encryption+with+NetWorker" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F22%2Fbasics-using-datazone-encryption-with-networker%2F&amp;title=Basics+%26%238211%3B+Using+datazone+encryption+with+NetWorker" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F22%2Fbasics-using-datazone-encryption-with-networker%2F&amp;title=Basics+%26%238211%3B+Using+datazone+encryption+with+NetWorker" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F22%2Fbasics-using-datazone-encryption-with-networker%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F22%2Fbasics-using-datazone-encryption-with-networker%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Basics+%26%238211%3B+Using+datazone+encryption+with+NetWorker+@+http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F22%2Fbasics-using-datazone-encryption-with-networker%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F22%2Fbasics-using-datazone-encryption-with-networker%2F&amp;t=Basics+%26%238211%3B+Using+datazone+encryption+with+NetWorker" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://nsrd.info/blog/2009/03/22/basics-using-datazone-encryption-with-networker/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Basics &#8211; Remote Control</title>
		<link>http://nsrd.info/blog/2009/03/03/basics-remote-control/</link>
		<comments>http://nsrd.info/blog/2009/03/03/basics-remote-control/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 08:22:15 +0000</pubDate>
		<dc:creator>Preston de Guise</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[nsrexec]]></category>

		<guid isPermaLink="false">http://nsrd.wordpress.com/?p=169</guid>
		<description><![CDATA[I learned this technique several years ago before NetWorker supported running an nsrjb command from the backup server to manipulate a jukebox on a storage node. (Previously it had required that actual nsrjb commands, when run from the command line, be run from the owner of the jukebox.) While you don&#8217;t need it any more <a href='http://nsrd.info/blog/2009/03/03/basics-remote-control/' class='excerpt-more'>[...]</a>
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I learned this technique several years ago before NetWorker supported running an nsrjb command from the backup server to manipulate a jukebox on a storage node. (Previously it had required that actual nsrjb commands, when run from the command line, be run from the owner of the jukebox.)</p>
<p>While you don&#8217;t need it any more to control remote jukeboxes, it can still be useful to know how to do remote control operations in NetWorker – particularly if you&#8217;re say, debugging backups on a client but you don&#8217;t have console access to that client.</p>
<p>Note that this <em>only</em> applies to commands that obey the following restrictions:</p>
<ul>
<li>Name starts with &#8220;nsr&#8221; or &#8220;save&#8221;</li>
<li>Resides in the same directory as the &#8220;save&#8221; command on the client.</li>
</ul>
<p>Thus, this isn&#8217;t about remote hijacking of a NetWorker client. Such commands can only be executed by an authorised administrator on the backup server as specified in the nsr/servers file. Before you (quite rightly) point out that it would mean that a valid NetWorker administrator <em>could</em> in fact hijack a client by say, doing a directed recovery out to that client of an appropriately named file, <em>they can do that already – that&#8217;s part of the trust relationship of the NetWorker administrator anyway</em>.</p>
<p>So, with all those caveats out of the way, it&#8217;s remarkably simple. Going from a Unix host, you do the following:</p>
<pre># export RUSER=&lt;user&gt;
# export RCMD=&lt;cmd&gt;
# nsrexec -c &lt;client&gt;</pre>
<p>Where:</p>
<ul>
<li>user will typically be &#8220;root&#8221; or &#8220;administrator&#8221;, depending on whether your backup server is Unix or Windows.</li>
<li>cmd will be a NetWorker command you want executed.</li>
<li>clientName is the name of the client the command is to be executed from.</li>
</ul>
<p>For instance, say I&#8217;ve got a NetWorker server called &#8220;nox&#8221;, and a client called &#8220;asgard&#8221; that I don&#8217;t have administrative login to, but I want to simulate a backup without firing up a savegroup. To do so, I could do the following:</p>
<pre># export RUSER=root
# export RCMD="save -e tomorrow -b Default -LL -q -s nox /tmp"
# nsrexec -c asgard
save: /tmp  36 MB 00:00:05     38 files
completed savetime=1235278395</pre>
<p>Admittedly this is not a technique you should need to know often, but it&#8217;s useful to know about.</p>
<p>&#8211;<br />
* You <em>do</em> populate your nsr/servers file, don&#8217;t you? If you don&#8217;t, go do it <em><strong>NOW</strong></em>. I mean it, stop what you&#8217;re doing, go and fix up the nsr/servers file on every client in your environment!</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Share this using...</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F03%2Fbasics-remote-control%2F&amp;submitHeadline=Basics+%26%238211%3B+Remote+Control&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F03%2Fbasics-remote-control%2F&amp;title=Basics+%26%238211%3B+Remote+Control" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F03%2Fbasics-remote-control%2F&amp;title=Basics+%26%238211%3B+Remote+Control" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F03%2Fbasics-remote-control%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F03%2Fbasics-remote-control%2F&amp;title=Basics+%26%238211%3B+Remote+Control" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F03%2Fbasics-remote-control%2F&amp;bm_description=Basics+%26%238211%3B+Remote+Control" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F03%2Fbasics-remote-control%2F&amp;T=Basics+%26%238211%3B+Remote+Control" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F03%2Fbasics-remote-control%2F&amp;title=Basics+%26%238211%3B+Remote+Control" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F03%2Fbasics-remote-control%2F&amp;title=Basics+%26%238211%3B+Remote+Control" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F03%2Fbasics-remote-control%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F03%2Fbasics-remote-control%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Basics+%26%238211%3B+Remote+Control+@+http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F03%2Fbasics-remote-control%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F03%2F03%2Fbasics-remote-control%2F&amp;t=Basics+%26%238211%3B+Remote+Control" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://nsrd.info/blog/2009/03/03/basics-remote-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basics &#8211; Changing saveset browse/retention times</title>
		<link>http://nsrd.info/blog/2009/02/16/basics-changing-saveset-browseretention-times/</link>
		<comments>http://nsrd.info/blog/2009/02/16/basics-changing-saveset-browseretention-times/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 08:10:26 +0000</pubDate>
		<dc:creator>Preston de Guise</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[NetWorker]]></category>
		<category><![CDATA[Browse]]></category>
		<category><![CDATA[Retention]]></category>
		<category><![CDATA[Saveset]]></category>

		<guid isPermaLink="false">http://nsrd.wordpress.com/?p=127</guid>
		<description><![CDATA[Ever need to adjust the browse/retention time for a saveset, but you&#8217;ve not been sure how to do so? Here&#8217;s how. To change the browse or retention time, you&#8217;ll need to find out the saveset ID (SSID) of the given saveset. This can be done with mminfo. For instance, say you had a backup done <a href='http://nsrd.info/blog/2009/02/16/basics-changing-saveset-browseretention-times/' class='excerpt-more'>[...]</a>
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Ever need to adjust the browse/retention time for a saveset, but you&#8217;ve not been sure how to do so? Here&#8217;s how.</p>
<p>To change the browse or retention time, you&#8217;ll need to find out the saveset ID (SSID) of the given saveset. This can be done with mminfo.</p>
<p>For instance, say you had a backup done last night of a machine called &#8216;archon&#8217; that has now been rebuilt, but you want to keep the old backup for much longer than normal &#8211; e.g., ten years instead of the normal 3.</p>
<p>First, to find out what you need to change, get a list of the SSIDs:</p>
<pre># mminfo -q "client=archon,savetime&gt;=24 hours ago" -r name,ssid
 name                          ssid
/                              4036558666
/Volumes/TARDIS/Yojimbo        4019781450
/Volumes/Yu                    4003004234</pre>
<p>(If you&#8217;re confused about that savetime command, see my other post here.)</p>
<p>Now, for each of those SSIDs that are returned, we&#8217;ll run a nsrmm command to adjust the browse and retention time*.</p>
<p>The basic nsrmm command for adjusting the browse and retention time is:</p>
<pre># nsrmm -S ssid -w browse -e retent</pre>
<p>or, for a single instance of a saveset:</p>
<pre># nsrmm -S ssid/cloneid -w browse -e retent</pre>
<p>Where the &#8216;browse&#8217; and &#8216;retent&#8217; values can be either one of the two following:</p>
<ul>
<li>A literal date in US date format ** – e.g., &#8220;12/31/2019&#8243; for 31 December 2019.</li>
<li>A &#8216;fuzzy&#8217; english worded date – e.g., &#8220;+10 years&#8221; for 10 years from today.</li>
</ul>
<p>Note that (rather obviously), your browse time cannot exceed your retention time, and generally its recommended that you set browse time to retention time.</p>
<p>So in this case, you&#8217;d run for each SSID or SSID/CloneID you want to affect:</p>
<pre># nsrmm -S ssid -w "+10 years" -e "+10 years"</pre>
<p>Which will look like the following, based on my mminfo output:</p>
<pre># nsrmm -S 4036558666 -w "+10 years" -e "+10 years"
# nsrmm -S 4019781450 -w "+10 years" -e "+10 years"
# nsrmm -S 4003004234 -w "+10 years" -e "+10 years"</pre>
<p>It&#8217;s that simple.</p>
<p>&#8211;<br />
* You can also do this against an instance of a saveset by using the SSID/Clone ID; to do that variant, request &#8220;-r name,ssid,cloneid&#8221;, then use the two numbers in the nsrmm command separated by a forward slash &#8211; ssid/cloneid.</p>
<p>** The restriction on US date format may have eased in 7.5. I&#8217;m going to do some additional playing around with locales sometime soonish.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Share this using...</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F16%2Fbasics-changing-saveset-browseretention-times%2F&amp;submitHeadline=Basics+%26%238211%3B+Changing+saveset+browse%2Fretention+times&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F16%2Fbasics-changing-saveset-browseretention-times%2F&amp;title=Basics+%26%238211%3B+Changing+saveset+browse%2Fretention+times" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F16%2Fbasics-changing-saveset-browseretention-times%2F&amp;title=Basics+%26%238211%3B+Changing+saveset+browse%2Fretention+times" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F16%2Fbasics-changing-saveset-browseretention-times%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F16%2Fbasics-changing-saveset-browseretention-times%2F&amp;title=Basics+%26%238211%3B+Changing+saveset+browse%2Fretention+times" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F16%2Fbasics-changing-saveset-browseretention-times%2F&amp;bm_description=Basics+%26%238211%3B+Changing+saveset+browse%2Fretention+times" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F16%2Fbasics-changing-saveset-browseretention-times%2F&amp;T=Basics+%26%238211%3B+Changing+saveset+browse%2Fretention+times" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F16%2Fbasics-changing-saveset-browseretention-times%2F&amp;title=Basics+%26%238211%3B+Changing+saveset+browse%2Fretention+times" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F16%2Fbasics-changing-saveset-browseretention-times%2F&amp;title=Basics+%26%238211%3B+Changing+saveset+browse%2Fretention+times" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F16%2Fbasics-changing-saveset-browseretention-times%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F16%2Fbasics-changing-saveset-browseretention-times%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Basics+%26%238211%3B+Changing+saveset+browse%2Fretention+times+@+http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F16%2Fbasics-changing-saveset-browseretention-times%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F16%2Fbasics-changing-saveset-browseretention-times%2F&amp;t=Basics+%26%238211%3B+Changing+saveset+browse%2Fretention+times" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://nsrd.info/blog/2009/02/16/basics-changing-saveset-browseretention-times/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Basics &#8211; Stopping and starting NetWorker from the Windows command line</title>
		<link>http://nsrd.info/blog/2009/02/11/basics-stopping-and-starting-networker-from-the-windows-command-line/</link>
		<comments>http://nsrd.info/blog/2009/02/11/basics-stopping-and-starting-networker-from-the-windows-command-line/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 20:33:43 +0000</pubDate>
		<dc:creator>Preston de Guise</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[NetWorker]]></category>

		<guid isPermaLink="false">http://nsrd.wordpress.com/?p=109</guid>
		<description><![CDATA[I always like to know how to work with the command line, even on Windows. (As I say in my book, while a picture may be worth a thousand works, a GUI is not necessarily worth a thousand command line options.) As such, when I want to stop and restart NetWorker on Windows, I find <a href='http://nsrd.info/blog/2009/02/11/basics-stopping-and-starting-networker-from-the-windows-command-line/' class='excerpt-more'>[...]</a>
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I always like to know how to work with the command line, even on Windows. (As I say in my <a title="Book link" href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2FEnterprise-Systems-Backup-Recovery-Corporate%2Fdp%2F1420076396%3Fie%3DUTF8%26s%3Dbooks%26qid%3D1221104920%26sr%3D8-1&amp;tag=entesystbacka-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=9325" onclick="return TrackClick('http%3A%2F%2Fwww.amazon.com%2Fgp%2Fredirect.html%3Fie%3DUTF8%26amp%3Blocation%3Dhttp%253A%252F%252Fwww.amazon.com%252FEnterprise-Systems-Backup-Recovery-Corporate%252Fdp%252F1420076396%253Fie%253DUTF8%2526s%253Dbooks%2526qid%253D1221104920%2526sr%253D8-1%26amp%3Btag%3Dentesystbacka-20%26amp%3BlinkCode%3Dur2%26amp%3Bcamp%3D1789%26amp%3Bcreative%3D9325','Book+link')" target="_blank">book</a>, while a picture may be worth a thousand works, a GUI is not necessarily worth a thousand command line options.)</p>
<p>As such, when I want to stop and restart NetWorker on Windows, I find it faster on the command line than going to the services panel and scrolling through to the various processes.</p>
<p><em>Note: All of these options are documented in the NetWorker and License Manager administration manuals, but as always, there&#8217;s a difference between something that&#8217;s documented and something you can find, so I&#8217;m presenting these for those who are pressed for time.</em></p>
<p>There are lengthy names for each of the NetWorker client service, NetWorker server service, and NetWorker Management Console server service which you may think would make it inconvenient to stop and restart from the command line, but thankfully there&#8217;s shortcut names as well. These are:</p>
<ul>
<li><strong>NetWorker Remote Exec Service</strong>: <em>nsrexecd</em></li>
<li><strong>NetWorker Backup and Recover Server</strong>: nsrd</li>
<li><strong>EMC GST Service</strong>: gstd</li>
<li><strong>NetWorker License Manager</strong>: lgtolmd</li>
</ul>
<p>Now, if you&#8217;re wanting to quickly stop everything, you can rely on process dependencies and run:</p>
<pre>C:\&gt; net stop nsrexecd /y</pre>
<p>That will shutdown <em>everything</em>, since everything relies on the nsrexecd (client) process in order to run.</p>
<p>If you want to start NetWorker on a client, all you need to run is:</p>
<pre>C:\&gt; net start nsrexecd</pre>
<p>If you&#8217;re wanting to start NetWorker on a server though, you should run:</p>
<pre>C:\&gt; net start nsrd</pre>
<p>There&#8217;s a simple reason for this &#8211; nsrd relies on nsrexecd, so Windows dependency checking will start nsrexecd first for you.</p>
<p>Similarly, if you want to start the management console on a Windows machine, you&#8217;d run:</p>
<pre>C:\&gt; net start gstd</pre>
<p>And if you&#8217;re running Legato License Manager, you&#8217;d run:</p>
<pre>C:\&gt; net start lgtolmd</pre>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Share this using...</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F11%2Fbasics-stopping-and-starting-networker-from-the-windows-command-line%2F&amp;submitHeadline=Basics+%26%238211%3B+Stopping+and+starting+NetWorker+from+the+Windows+command+line&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F11%2Fbasics-stopping-and-starting-networker-from-the-windows-command-line%2F&amp;title=Basics+%26%238211%3B+Stopping+and+starting+NetWorker+from+the+Windows+command+line" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F11%2Fbasics-stopping-and-starting-networker-from-the-windows-command-line%2F&amp;title=Basics+%26%238211%3B+Stopping+and+starting+NetWorker+from+the+Windows+command+line" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F11%2Fbasics-stopping-and-starting-networker-from-the-windows-command-line%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F11%2Fbasics-stopping-and-starting-networker-from-the-windows-command-line%2F&amp;title=Basics+%26%238211%3B+Stopping+and+starting+NetWorker+from+the+Windows+command+line" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F11%2Fbasics-stopping-and-starting-networker-from-the-windows-command-line%2F&amp;bm_description=Basics+%26%238211%3B+Stopping+and+starting+NetWorker+from+the+Windows+command+line" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F11%2Fbasics-stopping-and-starting-networker-from-the-windows-command-line%2F&amp;T=Basics+%26%238211%3B+Stopping+and+starting+NetWorker+from+the+Windows+command+line" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F11%2Fbasics-stopping-and-starting-networker-from-the-windows-command-line%2F&amp;title=Basics+%26%238211%3B+Stopping+and+starting+NetWorker+from+the+Windows+command+line" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F11%2Fbasics-stopping-and-starting-networker-from-the-windows-command-line%2F&amp;title=Basics+%26%238211%3B+Stopping+and+starting+NetWorker+from+the+Windows+command+line" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F11%2Fbasics-stopping-and-starting-networker-from-the-windows-command-line%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F11%2Fbasics-stopping-and-starting-networker-from-the-windows-command-line%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Basics+%26%238211%3B+Stopping+and+starting+NetWorker+from+the+Windows+command+line+@+http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F11%2Fbasics-stopping-and-starting-networker-from-the-windows-command-line%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F11%2Fbasics-stopping-and-starting-networker-from-the-windows-command-line%2F&amp;t=Basics+%26%238211%3B+Stopping+and+starting+NetWorker+from+the+Windows+command+line" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://nsrd.info/blog/2009/02/11/basics-stopping-and-starting-networker-from-the-windows-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basics &#8211; Matching savesets with files on disk backup units</title>
		<link>http://nsrd.info/blog/2009/02/03/basics-matching-savesets-with-files-on-disk-backup-units/</link>
		<comments>http://nsrd.info/blog/2009/02/03/basics-matching-savesets-with-files-on-disk-backup-units/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 06:11:17 +0000</pubDate>
		<dc:creator>Preston de Guise</dc:creator>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[NetWorker]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://nsrd.wordpress.com/?p=52</guid>
		<description><![CDATA[Generally speaking, you don&#8217;t want to be mucking around with the contents of your disk backup units except under extreme circumstances. In fact, I really recommend that you don&#8217;t do so unless you 100% know what you&#8217;re doing. So this post is all about that 1-5% of the time where you may find it necessary <a href='http://nsrd.info/blog/2009/02/03/basics-matching-savesets-with-files-on-disk-backup-units/' class='excerpt-more'>[...]</a>
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Generally speaking, you don&#8217;t want to be mucking around with the contents of your disk backup units except under extreme circumstances. In fact, I really recommend that you <em>don&#8217;t</em> do so unless you 100% know what you&#8217;re doing.</p>
<p>So this post is all about that 1-5% of the time where you may find it necessary to say, search for a saveset that&#8217;s reported in the media database that you&#8217;re having problems accessing from the disk backup unit.</p>
<p>It&#8217;s actually trivially easy, once you know how.</p>
<p>You may be familiar with the following style of query:</p>
<pre># mminfo -q "savetime&gt;=24 hours ago" -r "volume,client,level,sumsize,savetime(22)"</pre>
<p>The (22) at the end of the savetime report parameter tells mminfo to allow 22 characters for the reporting of the savetime. The benefit of this is that you get not only the savetime <em>date</em>, but also the <em>time</em> as well.</p>
<p>NetWorker actually allows you to put that (number) postfix onto <em>any</em> field that it can output in mminfo. This can output additional information, such as the above, or give more room to output longer fields, or even limit the size of fieldnames when you don&#8217;t need too much information. (E.g., if the first 4 characters of all client names can uniquely identify the client, you might limit the client to 4 characters in an mminfo report.)</p>
<p>Now, where we&#8217;re heading with this, is that the sorts of filenames used for the savesets written to disk backup units are <em>not</em> some random collection of strings &#8211; they&#8217;re actually the <em>long saveset ID</em>.</p>
<p>Consider then a filename of:</p>
<pre>/d/nsr/02/63/05/cd3a182f-00000006-7b7801de-497801de-01871a00-3d2a4f4b</pre>
<p>This isn&#8217;t just a random filename, it&#8217;s the saveset ID, but just in a format you may not used to.</p>
<p>To get the long saveset ID in mminfo output, we use the (number) postfix on the <em>ssid</em> field. This would be as follows:</p>
<pre># mminfo -q "ssid=071462366" -r "ssid(53)"
cd3a182f-00000006-7b7801de-497801de-01871a00-3d2a4f4b</pre>
<p>With that information in hand, you can then search for a file with the same name as the long saveset ID on disk.</p>
<p>You can also do a reverse lookup. Say for instance, you know there&#8217;s an issue with a particular saveset file on a disk backup unit. To find out what the actual saveset ID is for this saveset, you can run the counter-query:</p>
<pre>mminfo -q "ssid=cd3a182f-00000006-7b7801de-497801de-01871a00-3d2a4f4b" -r ssid</pre>
<p>So, there you go &#8211; very easy!</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Share this using...</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F03%2Fbasics-matching-savesets-with-files-on-disk-backup-units%2F&amp;submitHeadline=Basics+%26%238211%3B+Matching+savesets+with+files+on+disk+backup+units&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F03%2Fbasics-matching-savesets-with-files-on-disk-backup-units%2F&amp;title=Basics+%26%238211%3B+Matching+savesets+with+files+on+disk+backup+units" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F03%2Fbasics-matching-savesets-with-files-on-disk-backup-units%2F&amp;title=Basics+%26%238211%3B+Matching+savesets+with+files+on+disk+backup+units" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F03%2Fbasics-matching-savesets-with-files-on-disk-backup-units%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F03%2Fbasics-matching-savesets-with-files-on-disk-backup-units%2F&amp;title=Basics+%26%238211%3B+Matching+savesets+with+files+on+disk+backup+units" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F03%2Fbasics-matching-savesets-with-files-on-disk-backup-units%2F&amp;bm_description=Basics+%26%238211%3B+Matching+savesets+with+files+on+disk+backup+units" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F03%2Fbasics-matching-savesets-with-files-on-disk-backup-units%2F&amp;T=Basics+%26%238211%3B+Matching+savesets+with+files+on+disk+backup+units" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F03%2Fbasics-matching-savesets-with-files-on-disk-backup-units%2F&amp;title=Basics+%26%238211%3B+Matching+savesets+with+files+on+disk+backup+units" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F03%2Fbasics-matching-savesets-with-files-on-disk-backup-units%2F&amp;title=Basics+%26%238211%3B+Matching+savesets+with+files+on+disk+backup+units" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F03%2Fbasics-matching-savesets-with-files-on-disk-backup-units%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F03%2Fbasics-matching-savesets-with-files-on-disk-backup-units%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Basics+%26%238211%3B+Matching+savesets+with+files+on+disk+backup+units+@+http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F03%2Fbasics-matching-savesets-with-files-on-disk-backup-units%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fnsrd.info%2Fblog%2F2009%2F02%2F03%2Fbasics-matching-savesets-with-files-on-disk-backup-units%2F&amp;t=Basics+%26%238211%3B+Matching+savesets+with+files+on+disk+backup+units" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://nsrd.info/blog/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://nsrd.info/blog/2009/02/03/basics-matching-savesets-with-files-on-disk-backup-units/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic

Served from: nsrd.info @ 2012-05-24 15:31:53 -->
