<?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>Joe's Amazing Technicolor Weblog &#187; metadata</title>
	<atom:link href="http://slagwerks.com/blog/index.php/tag/metadata/feed/" rel="self" type="application/rss+xml" />
	<link>http://slagwerks.com/blog</link>
	<description></description>
	<lastBuildDate>Fri, 23 Jul 2010 22:31:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>the stable rdiff-backup is not looking so hot for metadata on OS X</title>
		<link>http://slagwerks.com/blog/index.php/2008/06/06/the-stable-rdiff-backup-is-not-looking-so-hot-for-metadata-on-os-x/</link>
		<comments>http://slagwerks.com/blog/index.php/2008/06/06/the-stable-rdiff-backup-is-not-looking-so-hot-for-metadata-on-os-x/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 16:32:56 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[Backup Bouncer]]></category>
		<category><![CDATA[macports]]></category>
		<category><![CDATA[metadata]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[rdiff-backup]]></category>

		<guid isPermaLink="false">http://slagwerks.com/blog/?p=54</guid>
		<description><![CDATA[Preamble: after a bunch of research, rdiff-backup looked like a good open source solution for OS X backup. And it&#8217;s in&#160;macports! Wrinkle: after getting further into my current backup project, I&#8217;ve become more aware of the difficulty of getting all of the various forms of OS X metadata backed up. Some research revealed the tool [...]]]></description>
			<content:encoded><![CDATA[<p>Preamble: after a bunch of research, rdiff-backup looked like a good open source solution for <span class="caps">OS</span> X backup. And it&#8217;s in&nbsp;<a href="http://www.macports.org/">macports</a>!</p>
<p>Wrinkle: after getting further into my current backup project, I&#8217;ve become more aware of the difficulty of getting all of the various forms of <span class="caps">OS</span> X metadata backed up. Some research revealed the tool <a href="http://www.n8gray.org/code/backup-bouncer/">Backup Bouncer</a>, which provides a way to run some tricky tests on any <span class="caps">OS</span> X backup system. Here I&#8217;m using the latest bbouncer (0.1.2), on a 10.4.11 system all patched up through security update&nbsp;2008-03.</p>
<p>The stable version of rdiff-backup in macports is 1.0.5, which is what&#8217;s being used for the following tests. I&#8217;ve poked at both this and the rdiff-backup-devel version, which is 1.1.15, but it doesn&#8217;t automatically pull in the xattr module from macports. I&#8217;ll retest with that version later. Also note that the bbouncer results don&#8217;t suggest that xattr is doing 1.0.5 much&nbsp;good. </p>
<pre><code>$ ./bbouncer create-vol rdifftest
$ sudo rdiff-backup /Volumes/Src /tmp/bb
$ sudo rdiff-backup --force -r 1D /tmp/bb /Volumes/rdifftest/
$ ./bbouncer verify -d /Volumes/Src/ /Volumes/rdifftest/
Verifying:    basic-permissions ... ok
Verifying:           timestamps ...
   Sub-test:    modification time ... ok
ok
Verifying:             symlinks ... ok
Verifying:    symlink-ownership ... ok
Verifying:            hardlinks ... ok
Verifying:       resource-forks ... FAIL
Verifying:         finder-flags ... FAIL
Verifying:         finder-locks ... FAIL
Verifying:        creation-date ... FAIL
Verifying:            bsd-flags ... FAIL
Verifying:       extended-attrs ...
   Sub-test:             on files ... FAIL
   Sub-test:       on directories ... FAIL
   Sub-test:          on symlinks ... FAIL
FAIL
Verifying: access-control-lists ...
   Sub-test:             on files ... FAIL
   Sub-test:              on dirs ... FAIL
FAIL
Verifying:                 fifo ... FAIL
Verifying:              devices ... FAIL
Verifying:          combo-tests ...
   Sub-test:  xattrs + rsrc forks ... FAIL
   Sub-test:     lots of metadata ... FAIL
FAIL</code></pre>
<p>That&#8217;s a whole lot of <span class="caps">FAIL</span>, especially compared to the built-in <span class="caps">OS</span> X rsync, which passes on resource forks and finder flags, extended attributes for files and directories, ACLs, and the last few&nbsp;tests.</p>
<p>Granted, there are a bunch of things being tested by bbouncer that may or may not be of interest to the average user. A <a href="http://www.n8gray.org/blog/2008/06/02/backup-bouncer-is-working/">recent post by the author</a> points out that bbouncer has a -T flag for indicating which level of paranoia to run at. Rerunning the test for rdiff-backup 1.0.5 with only critical tests is somewhat&nbsp;instructive:</p>
<pre><code>$ ./bbouncer verify -d -T critical /Volumes/Src/ /Volumes/rdifftest/
Verifying:    basic-permissions ... ok
Verifying:           timestamps ...
   Sub-test:    modification time ... ok
ok
Verifying:             symlinks ... ok
Verifying:       resource-forks ... FAIL
Verifying:         finder-flags ... FAIL</code></pre>
<p>Compare to <span class="caps">OS</span> X&#8217;s&nbsp;rsync:</p>
<pre><code>$ ./bbouncer verify -d -T critical /Volumes/Src/ /Volumes/Dst/10-rsync-apple/
Verifying:    basic-permissions ... ok
Verifying:           timestamps ...
   Sub-test:    modification time ... ok
ok
Verifying:             symlinks ... ok
Verifying:       resource-forks ... ok
Verifying:         finder-flags ... ok</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://slagwerks.com/blog/index.php/2008/06/06/the-stable-rdiff-backup-is-not-looking-so-hot-for-metadata-on-os-x/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
