<?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>Delivering Quality &#187; Ubuntu</title>
	<atom:link href="http://www.markdeepwell.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markdeepwell.com</link>
	<description>A Software Developers View of the World</description>
	<lastBuildDate>Thu, 09 Sep 2010 03:38:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Using Ubuntu for Time Machine in Snow Leopard</title>
		<link>http://www.markdeepwell.com/2009/11/using-ubuntu-for-time-machine-in-snow-leopard/</link>
		<comments>http://www.markdeepwell.com/2009/11/using-ubuntu-for-time-machine-in-snow-leopard/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 16:47:41 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[Time Machine]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=365</guid>
		<description><![CDATA[Instructions for creating a sparse bundle disk image for using Time Machine with Ubuntu on Snow Leopard.]]></description>
			<content:encoded><![CDATA[<p>Over a year ago Matthias Kretschmann posted an excellent guide on how to use  <a href="http://www.kremalicious.com/2008/06/ubuntu-as-mac-file-server-and-time-machine-volume/">Ubuntu as a Time Machine</a> backup server. The guide is quite well written all the configuration steps worked, but I received <strong>Error 45 creating backup disk image</strong> when Time Machine ran. Some more research revealed that this is because of changes to the sparse bundle image in Snow Leopard.</p>
<p>To make it work I had to create my own sparse bundle with a  plist file in it to associate my MacBook&#8217;s unique id with the time machine image. Leopard and earlier releases of OS X would create a sparse disk image with the name from the network cards mac address, but in Snow Leopard  it uses the computer Hardware UUID. I imagine this is because notebooks can have more than one mac address, one for wired and one for wireless.</p>
<h3>How to create a sparse bundle in Snow Leopard</h3>
<p><strong>Step 1</strong>: Create the disk image with your computer&#8217;s name:</p>
<p><tt>hdiutil create -size 500G -fs HFS+J -volname 'Time Machine Backup'  -type SPARSEBUNDLE computer_name.sparsebundle</tt></p>
<p><strong>Step 2</strong>: Create a file called <tt>com.apple.TimeMachine.MachineID.plist</tt> inside the sparsebundle folder and fill it with the following:</p>
<div style="overflow:scroll">
<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
&lt;dict&gt;
    &lt;key&gt;com.apple.backupd.HostUUID&lt;/key&gt;
    &lt;string&gt;UUID_STRING&lt;/string&gt;
&lt;/dict&gt;
&lt;/plist&gt;</code></pre>
</div>
<p>Make sure you replace UUID_STRING with your unique machine identifier. This can be found by loading System Profiler (Hardware UUID).</p>
<p><strong>Step 3</strong>: Transfer the sparse bundle disk image to your Ubuntu computer:</p>
<p><tt>rsync -avP computer_name.sparsebundle username@ubuntumachine:~/<br />
</tt></p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2009/11/using-ubuntu-for-time-machine-in-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
