<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>David Warburton &#187; Other Backups</title>
	<atom:link href="http://blog.davidwarburton.net/category/storage-backups/other-backups/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.davidwarburton.net</link>
	<description>Musings of a VM and storage engineer with a subtle addiction to scripting</description>
	<lastBuildDate>Sun, 13 May 2012 17:04:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.davidwarburton.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>David Warburton &#187; Other Backups</title>
		<link>http://blog.davidwarburton.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.davidwarburton.net/osd.xml" title="David Warburton" />
	<atom:link rel='hub' href='http://blog.davidwarburton.net/?pushpress=hub'/>
		<item>
		<title>Using CrashPlan to backup a network share</title>
		<link>http://blog.davidwarburton.net/2010/03/12/using-crashplan-to-backup-a-network-share/</link>
		<comments>http://blog.davidwarburton.net/2010/03/12/using-crashplan-to-backup-a-network-share/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 23:12:07 +0000</pubDate>
		<dc:creator>DavidWarburton</dc:creator>
				<category><![CDATA[Batch]]></category>
		<category><![CDATA[Other Backups]]></category>

		<guid isPermaLink="false">http://blog.davidwarburton.net/?p=87</guid>
		<description><![CDATA[Some time ago I started using CrashPlan with CrashPlan Central to finally start backing up my family photos and important documents off-site. It&#8217;s been working pretty well, despite my frustrations over slow upload speeds. It&#8217;s pretty much a fire and forget solution. Recently I&#8217;ve installed FreeNAS on to an old PC to (a) start getting [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.davidwarburton.net&#038;blog=11246690&#038;post=87&#038;subd=davidwarburton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some time ago I started using CrashPlan with <a href="http://b2.crashplan.com/consumer/features-central.html" target="_blank">CrashPlan Central</a> to finally start backing up my family photos and important documents off-site. It&#8217;s been working pretty well, despite my frustrations over slow upload speeds. It&#8217;s pretty much a fire and forget solution.</p>
<p>Recently I&#8217;ve installed <a href="http://freenas.org/FreeNAS" target="_blank">FreeNAS</a> on to an old PC to (a) start getting some stability to my storage solution, and (b) play around with ZFS and iSCSI at home. I tried OpenFiler but it pales in comparison to FreeNAS. I&#8217;ve gone against my better judgement and I&#8217;m using some of the cooler plugins including the Torrent client, Dynamic DNS and I&#8217;ve even installed SABNzbd on it. FreeNAS comes with rsync built in and even <a href="http://www.cis.upenn.edu/~bcpierce/unison/" target="_blank">Unison</a> which is an interesting solution to cross platform backup/synchronisation, but I&#8217;ve payed for my CrashPlan Central plan so want to make use of it!Only problem now is backing up my data!</p>
<p>CrashPlan doesn&#8217;t support backing up from a network share &#8211; either mapped drive or UNC path. There is a <a href="http://support.crashplan.com/doku.php/recipe/back_up_windows_mapped_drives" target="_blank">work around</a> on the CrashPlan site which works but is a little convoluted so wanted to post a nice, quick version here.</p>
<p>Read on after the break&#8230; <span id="more-87"></span>The problem is simply that CrashPlan runs as a service using the SYSTEM account. To allow us to backup a network share we have a couple of options&#8230;.</p>
<ol>
<li>Change the service to run as a standard user account (e.g. the one you&#8217;re logged in to your machine as)</li>
<li>Map a drive under the SYSTEM account so that it is visible to CrashPlan</li>
</ol>
<p>I&#8217;d recommend the latter but if you just plan on using this on a desktop machine and/or want a quick and dirty solution, here&#8217;s how you change the logon account for the service&#8230;</p>
<ul>
<li>Open up the Services MMC and find the <strong>CrashPlan Backup Service</strong>. Double-click it to open its properties<br />
<a href="http://davidwarburton.files.wordpress.com/2010/03/service_1.png"><img class="alignnone size-thumbnail wp-image-88" title="service_1" src="http://davidwarburton.files.wordpress.com/2010/03/service_1.png?w=144&h=150" alt="Select CrashPlan service" width="144" height="150" /></a></li>
<li>Click the <strong>Log On</strong> tab and then select the <strong>This account</strong> radio button. </li>
<li>Enter the username and password of a local/domain user account with full permissions to the network share you want to back up <br />
<a href="http://davidwarburton.files.wordpress.com/2010/03/service_2.png"><img class="alignnone size-thumbnail wp-image-90" title="service_2" src="http://davidwarburton.files.wordpress.com/2010/03/service_2.png?w=150&h=113" alt="Enter a local/domain username" width="150" height="113" /></a></li>
<li>Click <strong>OK</strong> and then restart the service <br />
<a href="http://davidwarburton.files.wordpress.com/2010/03/service_3.png"><img class="alignnone size-thumbnail wp-image-91" title="service_3" src="http://davidwarburton.files.wordpress.com/2010/03/service_3.png?w=150&h=74" alt="Restart the service" width="150" height="74" /></a></li>
<li>Relaunch the CrashPlan application and you&#8217;ll now be able to see drives that you currently have mapped as a backup selection as well as local drives</li>
</ul>
<p> </p>
<p>The preferred method is to map a drive as the SYSTEM account. That in itself is no big deal, the thing is getting the drive mapped as soon as the machine boots and doing it each and every time your machine restarts. To do this we simply make use of Vista/7&#8242;s Task Scheduler.</p>
<p>The batch script, which we&#8217;ll save as <strong>c:\mount.bat</strong> simply uses a<strong> NET USE</strong> command. The one drawback to this method is that the username and <em>password</em> need to be saved in the script. You must use a username which has permissions to the network share. This need not be a local username, in the case of FreeNAS, if you have it joined to a domain as I do.</p>
<p>Here&#8217;s the code:</p>
<pre>net use M: <a href="//\\freenas\media">\\freenas\media</a> /USER:dave@mydomain.lan myP4ssw0rd</pre>
<p>Once you have that saved open up the Task Scheduler&#8230;</p>
<p><a href="http://davidwarburton.files.wordpress.com/2010/03/task_1.png"><img class="alignnone size-thumbnail wp-image-92" title="task_1" src="http://davidwarburton.files.wordpress.com/2010/03/task_1.png?w=128&h=150" alt="Open the task scheduler" width="128" height="150" /></a></p>
<p>Create a new task (I keep my tasks in a seperate folder to the default Windows ones simply for easier administration). Give your ask a name, for example <strong>Mount drive for CrashPlan</strong>. Select <strong>Run whether user is logged on or not</strong>, tick the <strong>Run with highest privileges</strong> box and then click <strong>Change User or Group&#8230;</strong></p>
<p><a href="http://davidwarburton.files.wordpress.com/2010/03/task_2.png"><img class="alignnone size-thumbnail wp-image-93" title="task_2" src="http://davidwarburton.files.wordpress.com/2010/03/task_2.png?w=150&h=111" alt="Change the username" width="150" height="111" /></a></p>
<p>Type <strong>system</strong> and then <strong>Check Names</strong> (it should capitalise and underline). Click <strong>OK</strong>.</p>
<p>Back in the Create Task window slect the <strong>Triggers</strong> tab and click <strong>New&#8230;</strong> Select <strong>At log on&#8230;</strong> from the drop down list and click <strong>OK </strong>to close the window.</p>
<p>Now select the <strong>Actions </strong>tab and, again, click <strong>New&#8230;</strong> leave the action as <strong>Start a program</strong> and then browse to your batch that we created above.</p>
<p><a href="http://davidwarburton.files.wordpress.com/2010/03/task_3.png"><img class="alignnone size-thumbnail wp-image-94" title="task_3" src="http://davidwarburton.files.wordpress.com/2010/03/task_3.png?w=150&h=116" alt="Create the action" width="150" height="116" /></a></p>
<p>Click <strong>OK </strong>to close the New Action window and again for the <strong>Create Task </strong>window.</p>
<p>Job done! You can right click on the task and select Run to try it out.</p>
<p>A much more elegant solution would be to have a native FreeNAS (or just BSD) client for CrashPlan or to make use of rsync/Unison. This will do me for now though.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidwarburton.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidwarburton.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davidwarburton.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davidwarburton.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/davidwarburton.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/davidwarburton.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/davidwarburton.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/davidwarburton.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davidwarburton.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davidwarburton.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davidwarburton.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davidwarburton.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davidwarburton.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davidwarburton.wordpress.com/87/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.davidwarburton.net&#038;blog=11246690&#038;post=87&#038;subd=davidwarburton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.davidwarburton.net/2010/03/12/using-crashplan-to-backup-a-network-share/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3a54ad2551bd756d17e5f75aab3c2acd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">DavidWarburton</media:title>
		</media:content>

		<media:content url="http://davidwarburton.files.wordpress.com/2010/03/service_1.png?w=144" medium="image">
			<media:title type="html">service_1</media:title>
		</media:content>

		<media:content url="http://davidwarburton.files.wordpress.com/2010/03/service_2.png?w=150" medium="image">
			<media:title type="html">service_2</media:title>
		</media:content>

		<media:content url="http://davidwarburton.files.wordpress.com/2010/03/service_3.png?w=150" medium="image">
			<media:title type="html">service_3</media:title>
		</media:content>

		<media:content url="http://davidwarburton.files.wordpress.com/2010/03/task_1.png?w=128" medium="image">
			<media:title type="html">task_1</media:title>
		</media:content>

		<media:content url="http://davidwarburton.files.wordpress.com/2010/03/task_2.png?w=150" medium="image">
			<media:title type="html">task_2</media:title>
		</media:content>

		<media:content url="http://davidwarburton.files.wordpress.com/2010/03/task_3.png?w=150" medium="image">
			<media:title type="html">task_3</media:title>
		</media:content>
	</item>
	</channel>
</rss>
