<?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>Peter&#039;s Musings &#187; rsync</title>
	<atom:link href="http://thecodergeek.com/post/tag/rsync/feed" rel="self" type="application/rss+xml" />
	<link>http://thecodergeek.com</link>
	<description>A day (or more) in the life of a CS &#38; Math student...</description>
	<lastBuildDate>Tue, 02 Mar 2010 02:37:31 +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>Backup Strategies</title>
		<link>http://thecodergeek.com/post/224</link>
		<comments>http://thecodergeek.com/post/224#comments</comments>
		<pubDate>Sun, 21 Jun 2009 05:18:51 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Linux & F/OSS]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[survival]]></category>

		<guid isPermaLink="false">http://thecodergeek.com/?p=224</guid>
		<description><![CDATA[With my primary hard drive (a three-year old WD Raptor WD740) having been on life support, so to speak, for the last 3 months, I&#8217;ve been a lot more diligent about keeping backup copies of my data. Every couple of &#8230; <a href="http://thecodergeek.com/post/224">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>With my primary hard drive (a three-year old WD Raptor WD740) having been on life support, so to speak, for the last 3 months, I&#8217;ve been a lot more diligent about keeping backup copies of my data. Every couple of days, I log out entirely and run a simple rsync script to copy my entire /home directory to a specialized partition on my secondary disk, which I keep at /mnt/backup for simplicity sake.</p>
<p>While its parameter handling can be a bit quirky, I find that it is extremely useful for two reasons: The first more or less negates its quirky parameter handling: Clear and thorough documentation, with lots of example program calls  The second is that it saves me a lot of time in copying the files. Similar to the <a title="Peter's Musings » Leonidas: On the Brink of Release" href="http://thecodergeek.com/post/200#Presto">DeltaRPM feature I raved about with Fedora 11</a>, it copies over only the changed content instead of the entire directory tree. With my home directory at nearly 20 GB, incrementally updating my backup like this prevents a good 90+% of the data from needed to be copied again.</p>
<p>In this way, I know that I have at least two copies of my data at any given time. A major plus to copying the directory tree as-is is that, once the drive does die and I replace it, I merely need to copy it over, without changing anything or unpacking huge tarballs and applying diffs, et al.</p>
<p>The disadvantage to this is that I only have one consistent backup copy of my data at a given time, and that backup is on a hard drive in the same computer. So, should there be a massive system failure of some sort (knock on wood!), then I would lose my data for certain. I also intend to purchase CD-RWs for this purpose &#8211; that is, as an additional backup medium &#8211; in the near future. But for right now, the second on-disk copy suffices. I also want to setup a RAID system in my next computer build&#8230;but that&#8217;ll have to wait. <img src='http://thecodergeek.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So this simple rsync method, as with any storage decision, has its benefits and downfalls:<br />
Pros:</p>
<ul>
<li>Easy to configure;</li>
<li>Can be automatically run (e.g., in a cron job);</li>
<li>Updates occur via content deltas, not full copies;</li>
<li>Backup data is &#8220;as-is&#8221;, and can be used immediately after copying.</li>
</ul>
<p>Cons:</p>
<ul>
<li>Only one backup copy;</li>
<li>Physical proximity to original data;</li>
<li>Requires space for an entire duplicate of the directory tree.</li>
</ul>
<p>For me, though, this method works out well. Do others have a similar system? Would you suggest any improvements/simplifications? I&#8217;d like to hear your thoughts on the matter! Thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://thecodergeek.com/post/224/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
