<?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>My Geek Finds &#187; nas</title>
	<atom:link href="http://www.mygeekfinds.com/tag/nas/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mygeekfinds.com</link>
	<description>Tech notes, Virtualization, Networking, Gadgets, and Geek fun</description>
	<lastBuildDate>Tue, 29 Mar 2011 13:35:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>AVAMAR Pre-backup Script to Mount Remote Shares on Celerra NAS</title>
		<link>http://www.mygeekfinds.com/2009/03/avamar-pre-backup-script-to-mount-remote-shares-on-celerra-nas/</link>
		<comments>http://www.mygeekfinds.com/2009/03/avamar-pre-backup-script-to-mount-remote-shares-on-celerra-nas/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 15:29:44 +0000</pubDate>
		<dc:creator>Hersey</dc:creator>
				<category><![CDATA[Backups]]></category>
		<category><![CDATA[My Notes]]></category>
		<category><![CDATA[avamar]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[celerra]]></category>
		<category><![CDATA[nas]]></category>

		<guid isPermaLink="false">http://www.mygeekfinds.com/?p=3</guid>
		<description><![CDATA[When backuping shares on my Celerra using AVAMAR without a ndmp backup accelerator node I have to create a backup policy that connects to an avamar client on one of my servers and then runs a pre backup script to map a network drive to the remote share.]]></description>
			<content:encoded><![CDATA[<p>When backuping shares on my Celerra using AVAMAR without a ndmp backup accelerator node I have to create a backup policy that connects to an avamar client on one of my servers and then runs a pre backup script to map a network drive to the remote share.</p>
<p>The script is just a .bat file that uses the <a href="http://technet.microsoft.com/en-us/library/bb490717.aspx">NET USE</a> command to map a network drive to the share on the Celerra.  This worked fine, except I noticed that only files with read access for everyone were being backed up.  All of my user profile or home directories were returning access denied errors.  I did not want to grant everyone access to all files and directories.</p>
<p>To fix this I had to add a username and password to the NET USE command to map the drive as a user that has read access on all directories on the shares.</p>
<p>I created a backup admin user for this and set all files and directories to allow this user read access.</p>
<p>The pre backup script mount_x.bat now looks like this:</p>
<blockquote><p>net use /delete X:<br />
net use X: \\NAS\Share /USER:Domain\backupadmin password</p></blockquote>
<p>Once the backup is complete I then run a post backup script to to remove the mapping with another script umount_x.bat:</p>
<blockquote><p>net use /delete X:</p></blockquote>
<p>The scripts have to be in C:\Program Files\avs\etc\scripts\ on the avamar client.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mygeekfinds.com/2009/03/avamar-pre-backup-script-to-mount-remote-shares-on-celerra-nas/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

