<?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>HostingFu &#187; hard disk</title>
	<atom:link href="http://hostingfu.com/tag/hard-disk/feed" rel="self" type="application/rss+xml" />
	<link>http://hostingfu.com</link>
	<description>Web Hosting Blog by a Software Developer</description>
	<lastBuildDate>Mon, 19 Jul 2010 09:27:08 +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>Hard Disk Crashes &#8211; Are You Prepared?</title>
		<link>http://hostingfu.com/article/hard-disk-crashes-are-you-prepared</link>
		<comments>http://hostingfu.com/article/hard-disk-crashes-are-you-prepared#comments</comments>
		<pubDate>Mon, 22 Dec 2008 00:26:16 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[hard disk]]></category>
		<category><![CDATA[redundancy]]></category>

		<guid isPermaLink="false">http://hostingfu.com/?p=176</guid>
		<description><![CDATA[Via TechNation, The Podcast Network, probably the world&#8217;s first podcasting network, went offline on Saturday due to technical issues, i.e. crashed hard drive(s) on their dedicated server. As of now (Monday, 48 hours later), the site is still not back. On Saturday Dec 20, the hard drive on TPN&#8217;s server suddenly died. We are in [...]]]></description>
			<content:encoded><![CDATA[<p>Via <a href="http://www.technation.com.au/2008/12/21/the-podcast-network-suffers-massive-technical-failure/">TechNation</a>, <a href="http://www.thepodcastnetwork.com/">The Podcast Network</a>, probably the world&#8217;s first podcasting network, went <a href="http://tpn.thepodcastnetwork.com/2008/12/20/tpn-technical-issues/">offline on Saturday due to technical issues</a>, i.e. crashed hard drive(s) on their dedicated server. As of now (Monday, 48 hours later), the site is still not back.</p>
<blockquote><p>On Saturday Dec 20, the hard drive on TPN&#8217;s server suddenly died. We are in the process of restoring and re-building all of our sites and will have all of the shows back online asap.</p></blockquote>
<p>Hard drive crashes &#8212; it&#8217;s <b>not</b> if but <b>when</b>, and when that actually happens, are you prepare for it? Especially when it keeps every file of your online business, how much down time can you afford to loose, and how much are you willing to pay to reduce the downtime?</p>
<p><span id="more-176"></span></p>
<p>If you do not run mission critical applications and have a <em>very low</em> budget (like me), here are some of simple things that you can do that do not cost a lot to implement.</p>
<h3 id="toc-1-have-a-contingency-recovery-plan">1. Have a Contingency Recovery Plan</h3>
<p>Even when you have top of line hardware with redundant power supply and RAID&#8217;ed disk arrays, there is still a possibility that you&#8217;ll loose all your files due to an accident (natural disasters, security breach, or fat fingered sysadmin typed in <code>rm -rf /</code>). So always having a recovery plan in mind might be a good thing. For those working on <a href="http://aws.amazon.com/ec2/">Amazon EC2</a>, not having a persistent local storage is something taken from granted, and smart ways to preserve data and to provide fast server recovery sprung naturally. Maybe all sysadmins and website owners should have the same attitude.</p>
<p>It&#8217;s a good idea to come up and document a check list of &#8220;todo&#8217;s&#8221; when disaster happens, so you won&#8217;t miss out something during the panic.</p>
<p>Cost: $0 (but lots of thinking)</p>
<h3 id="toc-2-backups-as-frequent-as-you-can-afford">2. Backups &#8212; as Frequent as You Can Afford</h3>
<p>It&#8217;s something that have been emphasised again and again &#8212; make sure you have backups! Moreover, <b>NEVER</b> rely on your hosting provider to provide backups for you, if you are on shared hosting or VPS. Because (1) you can never be assured that the exact files you want to be backup has been backed up (2) backups are usually within the same data centre (or even on the same computer God forbids), which is useless if access to that provider has been cut (3) it&#8217;s much faster to restore data if you can DIY instead of firing a few support requests.</p>
<p>How frequent is frequent enough? No less than once per day in my case. You definitely do not want to restore from a database that&#8217;s more than 2 weeks old. Some backup tools like <a href="http://www.nongnu.org/rdiff-backup/">rdiff-backup</a> and <a href="http://www.rsnapshot.org/">rsnapshot</a> also let you keep a few rolling backups, so you can have something like &#8220;daily backups from the last 7 days&#8221;.</p>
<p>For me, I use rsync to my <a href="http://hostingfu.com/article/dreamhost-now-offers-personal-backup-space">DreamHost account&#8217;s backup user</a>. Since I already have a DreamHost account, it does not cost me anything extra for backups 50GB or less. There are many alternate rsync backup storage providers. I have personally used <a href="http://www.bqinternet.com/">BQInternet</a>, they are pretty good at reasonable price and rdiff-backup is supported there.</p>
<p>Finally thing about backups &#8212; make sure you check the status regularly and make sure you can restore from backups. You might wish to run something on weekly basis to verify that everything you need has been backed up. Data restoration procedure should also be part of (1) Contingency Recover Plan &#8212; no point of keeping regular backups if you can&#8217;t restore them. Not just restoring &#8212; but restoring the data <b>quickly</b> on new servers in case of disaster, so your downtime is limited.</p>
<p>Cost: 10G &#8212; $5/month (<a href="http://www.bqinternet.com/backup/">BQInternet</a>).</p>
<h3 id="toc-3-serving-large-media-files-from-the-cloud">3. Serving Large Media Files from the Cloud</h3>
<p>I don&#8217;t do podcasting nor video casting because I sounds crap and looks like an idiot in front of a camera. However in the case of The Podcast Network, they ought to serve their podcast MP3&#8242;s from those cloud-storage like Amazon S3/CloudFront or Mosso Cloud Files. If you have 100&#8242;s of GB of media files, it makes more sense to have them served directly from the cloud, which probably would have replicated your files multiple times already. Instead of restoring them from off-site backups (which can take <em>weeks</em>), your big media files can continue to be served on the clouds even when your main server has been rebuilt from scratch.</p>
<p>That means you can probably get away without backing up those files (which will make backing up/restoring <b>much</b> faster). Or just push them up to two different cloud service providers.</p>
<p>Cost: $0.15/GB/month storage + $0.10i/$0.17o/GB data transfer (<a href="http://aws.amazon.com/s3/">Amazon S3</a>).</p>
<h3 id="toc-4-dr-servers-ready-but-not-deployed">4. DR Servers &#8212; Ready but not Deployed</h3>
<p>Paying for one server can be expensive for some people, and having to pay for a live data redundancy server would be unthinkable. Building a DR solution that has two servers always in sync with each other is another complex topic to look at, and it will probably stay unavailable to most amateur webmasters.</p>
<p>However, it is still a good idea to have some providers that can <em>instantly</em> (or <em>very very quickly</em>, depending on how much in panic you are) provision a new servers when you need to execute your recovery plan. That&#8217;s where VPS shines &#8212; many virtual private server providers can instantly provision a server when you sign up, so your downtime is minimised.</p>
<p>Cost: $0 (but I recommend <a href="http://www.linode.com/">Linode</a> and <a href="http://www.slicehost.com/">SliceHost</a>)</p>
<h3 id="toc-5-constant-server-monitoring">5. Constant Server Monitoring</h3>
<p>What we are trying to do here is to quickly re-deploy the backups when you realise that an unrecoverable disaster had happened to your website/server. But how do you know that a site is down? It happened to me before that my site was down for 10+ hours and I have only realised that it was down when one of my users emailed me. You should be the first one to be notified when your site is down, so you can quickly determine the cause and decide whether to execute your recovery plan.</p>
<p>There are many site monitoring services and I have used both <a href="http://www.pingdom.com/">Pingdom</a> and <a href="http://site24x7.com/">Site24x7</a>. Both provides good service. If you have quite a few sites/servers to monitor, then Pingdom might be the cheaper choice.</p>
<p>Cost: $9.95/month (<a href="http://www.pingdom.com/">Pingdom</a>).</p>
<p>That&#8217;s pretty much the minimum you need to do if you have your business websites online. Any good tips on reducing the downtime cheaply?</p>
]]></content:encoded>
			<wfw:commentRss>http://hostingfu.com/article/hard-disk-crashes-are-you-prepared/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
