<?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; backup</title>
	<atom:link href="http://hostingfu.com/tag/backup/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>WebHostingTalk Database Compromised with Credit Card Stolen</title>
		<link>http://hostingfu.com/article/webhostingtalk-database-compromised-credit-card-stolen</link>
		<comments>http://hostingfu.com/article/webhostingtalk-database-compromised-credit-card-stolen#comments</comments>
		<pubDate>Wed, 08 Apr 2009 03:30:21 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[webhostingtalk]]></category>

		<guid isPermaLink="false">http://hostingfu.com/?p=184</guid>
		<description><![CDATA[Started work at 9:30am this morning and saw Ross&#8217; Twitter status: Wasn&#8217;t their database compromised, offsite backup erased, and hashed password stolen about two weeks ago? So I headed to WebHostingTalk, and got the iNET&#8217;s web page instead with status updates. It&#8217;s not looking good. What data was compromised?At this point, we know that the [...]]]></description>
			<content:encoded><![CDATA[<p>Started work at 9:30am this morning and saw <a href="http://twitter.com/Auraka/status/1472832701">Ross&#8217; Twitter status</a>:</p>
<p style="text-align:center"><img src="http://hostingfu.com/files/images/auraka-wht-twitter-status.png" width="400" height="200" alt="Twitter Status" style="padding:3px;border:#ccc solid 1px;"/></p>
<p><span id="more-184"></span></p>
<p><img src="http://hostingfu.com/files/images/webhostingtalk-hacked.jpg" width="300" height="188" style="float:right;padding:3px;border:#ccc solid 1px;margin:0 0 1ex 1ex;"/> Wasn&#8217;t their database compromised, offsite backup erased, and hashed password stolen <a href="http://www.thewhir.com/web-hosting-news/032309_WebHosting_Talk_User_Data_Hacked">about two weeks ago</a>? So I headed to <a href="http://www.webhostingtalk.com/">WebHostingTalk</a>, and got the iNET&#8217;s web page instead with status updates. It&#8217;s not looking good.</p>
<blockquote>
<p><b>What data was compromised?</b><br/>At this point, we know that the hacker compromised and has publicly posted credit card information from our self-service billing system currently used for sticky posts (located at http://myinet.inetinteractive.com). This system was also used for display (banner) advertising in prior to December 2007.</p>
</blockquote>
<p>You&#8217;ll get a lot more discussion on this matter from other web hosting related forums. Some have been able to download the entire creditcard table with name, card number, CCV number, etc attached. Some have claimed that some number have already been used in China. With hashed-password stolen, it&#8217;s already quite possible to run dictionary attack on those foolish enough to reuse passwords across multiple sites (<a href="http://forum.lxlabs.com/index.php?t=msg&amp;goto=60833">LxLabs&#8217; billing system got compromised for example</a>). With subscribers&#8217; CC details stolen &#8212; it must suck to be iNET right now.</p>
]]></content:encoded>
			<wfw:commentRss>http://hostingfu.com/article/webhostingtalk-database-compromised-credit-card-stolen/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<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>
		<item>
		<title>DreamHost Now Offers Personal Backup Space</title>
		<link>http://hostingfu.com/article/dreamhost-now-offers-personal-backup-space</link>
		<comments>http://hostingfu.com/article/dreamhost-now-offers-personal-backup-space#comments</comments>
		<pubDate>Mon, 15 Sep 2008 11:35:44 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[dreamhost]]></category>

		<guid isPermaLink="false">http://hostingfu.com/?p=170</guid>
		<description><![CDATA[First of all, I did admit that I used DreamHost web space for personal backups. It&#8217;s fast, much more scriptable than Amazon S3, and have lots of space in my $10/month web hosting package &#8212; why not?! Except it is against their ToS and they have been cracking down on users using their allocated space [...]]]></description>
			<content:encoded><![CDATA[<p>First of all, I did admit that <a href="http://hostingfu.com/article/offsite-backup-take-2">I used DreamHost web space for personal backups</a>. It&#8217;s fast, much more scriptable than Amazon S3, and have lots of space in my $10/month web hosting package &#8212; why not?! Except it is against their ToS and they have been cracking down on users using their allocated space for backup rather than for public websites. While you <em>could</em> put your files in &#8220;web accessible&#8221; directories and then guard it with a .htaccess file, at the end of day the message is clear &#8212; DreamHost doesn&#8217;t welcome their servers being used for backups.</p>
<p>However DreamHost is now changing the game. In their <a href="http://wiki.dreamhost.com/V10.08_August_2008">August 2008 newsletter</a>, Josh Jones has announced their new feature &#8212; <b>50GB personal backup space</b> for all web hosting users.</p>
<p><span id="more-170"></span></p>
<p><img src="http://hostingfu.com/files/images/dreamhost-backup-user.png" width="179" height="215" style="float:right;margin:0 0 1ex 1ex" alt="DreamHost: Backup User"/> A new item &#8220;Backup User&#8221; has been added to the User menu to let you manage your backup user. The help text reads:</p>
<blockquote>
<p>At DreamHost, you may only keep website-related content on your regular users.<br/><br />
You do, however, get <b>one</b> user per account where <b>anything legal</b> may be stored; your Backups User.</p>
<p>This user cannot have any websites pointed to it, nor may you share files via it&#8230; it is <b>only</b> to be used as an off-site backup for your personal files.<br/><br />
As such, we <b>keep no backups</b> of files on this account. These are already supposed to be your backups&#8230; not your only copy!<br/><br />
(Of course, you should always keep your own copies of <b>all data</b> stored with us.. we make no guarantees!)</p>
<p>Every full DreamHost Hosting plan includes <b>50GB</b> of backups space!<br/><br />
(Additional usage will be charged at the rate of 10 cents / GB a month: the best backup deal on the net!)</p>
</blockquote>
<p>It then let you manage your special backup user on a different server than your web server. Two methods of access &#8212; either FTP or SFTP.</p>
<h3 id="toc-whats-good">What&#8217;s Good</h3>
<p>A few good points that might tempt myself to use DreamHost&#8217;s backup user:</p>
<ul>
<li>
<p>It comes with your web hosting account, <b>free of charge</b> (if you are already a DreamHost user).</p>
</li>
<li>
<p>50GB free storage is <b>huge</b>, and 10 cent / GB makes it <b>very competitive</b> in pricing. Amazon for example charges 15 cent / GB. <a href="http://www.bqbackup.com/">BQ Internet</a>, which I currently use to back up all my servers, costs 15 &#8211; 50 cents / GB if you use all the space allocated to your plan. Joyent&#8217;s <a href="http://www.joyent.com/connector/bingodisk/signup-for-bingodisk">Bingo Disk</a> is cheap at 4.25 cent / GB (their $49/year 25GB plan), but WebDAV?</p>
</li>
<li>
<p>I don&#8217;t know about how well DreamHost runs, but they look like a big cashflow positive hosting company that is not going to all the sudden going out of business (like many Web 2.0&#8242;ish online storage companies). I trust that they can make sure their disks have enough space.</p>
</li>
<li>
<p>LA servers &#8212; I love LA servers because they are fast enough for me (from Australia).</p>
</li>
</ul>
<p>Well. I am <em>almost</em> sold on DreamHost&#8217;s backup plans, and I actually plan to use more than just the 50GB provided, because their 10 cent / GB overage is just <em>too cheap</em>. I am currently on $5/month backup plan with BQ Internet and while Scott @ BQ Internet runs a good job there, I occasionally still have access issues and would switch over to DreamHost backup if it supports rsync&#8230; Except it doesn&#8217;t.</p>
<h3 id="toc-whats-not-so-good">What&#8217;s Not So Good</h3>
<p>A few issues when I tested out DreamHost backup.</p>
<ol>
<li>
<p>Only FTP and SFTP access are provided. FTP is <a href="http://hostingfu.com/article/dont-use-ftp-what-else">definitely a no-no</a>. SFTP is not too bad &#8212; you can mount it using <a href="http://fuse.sourceforge.net/sshfs.html">FUSE on Linux</a> or <a href="http://www.pqrs.org/tekezo/macosx/sshfs/">Mac</a>. Not too bad <a href="http://www.magnetk.com/sftpdrive/">on Windows</a> either. But if you have 50GB of data that needs to be backed up, and are only changing 10MB everyday &#8212; rsync is still much preferred.</p>
</li>
<li>
<p>No backup on backup users. I found this is a bit ambiguous. Actually I found it less than assuring. I do hope they have RAID storage that does patrol read to against data loss. The last thing you want during data discovery is finding your backup files are totally corrupted.</p>
</li>
</ol>
<p>Looks like a show stopper for me. Hopefully DreamHost can address these issues because there are actually people who are willing to pay for quality backup storage service.</p>
<h3 id="toc-update">Update</h3>
<p>2008-11-05 &#8212; looks like DreamHost is now allowing rsync and scp. Well done!</p>
<p>Just a tip &#8212; DreamHost backup service seems to be taking DSA keys but not RSA keys, just in case you are wondering why you cannot log into their backup server using your private key. Also the shell is protected by <a href="http://www.pizzashack.org/rssh">rssh</a>, allowing only scp, sftp and rsync.</p>
]]></content:encoded>
			<wfw:commentRss>http://hostingfu.com/article/dreamhost-now-offers-personal-backup-space/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Offsite Backup, Take 2</title>
		<link>http://hostingfu.com/article/offsite-backup-take-2</link>
		<comments>http://hostingfu.com/article/offsite-backup-take-2#comments</comments>
		<pubDate>Tue, 31 Oct 2006 13:23:12 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[dreamhost]]></category>

		<guid isPermaLink="false">http://hostingfu.com/?p=64</guid>
		<description><![CDATA[Jeremy Zawodny&#8217;s blog post from early last month has prompted me to look at offsite backup solutions again. Currently I am backing up all my websites, from various servers and accounts, to my home server using rsnapshot, running at 4am every morning. So far so good, and I loves the flexibility of rsnapshot. I guess [...]]]></description>
			<content:encoded><![CDATA[<p>Jeremy Zawodny&#8217;s <a href="http://jeremy.zawodny.com/blog/archives/007624.html">blog post</a> from early last month has prompted me to look at offsite backup solutions again. Currently I am backing up all my websites, from various servers and accounts, to my home server using <a href="http://www.rsnapshot.org/">rsnapshot</a>, running at 4am every morning. So far so good, and I loves the flexibility of rsnapshot. I guess if one of my server dies, it would be trivial re-populating another server, moving the DNS records, and start serving again.</p>
<p>Moreover, the cost of running a home server is in fact less than what Jeremy has calculated. My home server (a 1Ghz Duron + 3 smaller disks) uses less juice, but more importantly, it needs to be running anyway regardless whether I am using it to perform backups or not, as it also provides a few other services. Like, acting as a file server for my home network.</p>
<p><span id="more-64"></span></p>
<p>My home file server backup is another matter. Currently all files are sitting on an RAID1, with home directories rsync&#8217;ed to another drive on daily basis. But for big media files (my photo archives, home videos, etc), there is no live backup at moment.</p>
<p>I really need to backup those files. My <a href="http://anna.yang.id.au/">daughter</a>&#8216;s photos and videos are way more valuable than all my websites combined. I need to have them on some storage, somewhere, as long as it&#8217;s not at home.</p>
<p>So I decided to gave Amazon&#8217;s <a href="http://www.amazon.com/s3">Simple Storage Service</a> a try, since there are so many good reviews about them.</p>
<p>I basically installed two clients &#8212; <a href="https://addons.mozilla.org/firefox/3247/">S3Fox</a> and <a href="http://jungledisk.com/">JungleDisk</a>. One is a Firefox extension that lets me managing S3 buckets and files. The other one is a local WebDAV server that pushes data to S3. However, an evening of attempts later, I decided to give it up. No way I am going to use S3 to backup my data.</p>
<ul>
<li><strong>Middle-ware makes things &#8220;indeterministic&#8221;</strong>. I am trying to copy a folder of 1,000 photos to JungleDisk, so it can translate directory structure to S3&#8242;s schema, and upload the files for me. However, half way through I am getting  a few internal errors from Amazon, but JungleDisk kept on going. Now, is that photo backed up? No sure. Having a middle-man like JungleDisk that translates WebDAV calls to S3&#8242;s service API calls does make things a little bit &#8220;indeterministic&#8221; sometimes.</li>
<li><strong>Uploading is Slow</strong>. From Sydney Australia to Amazon&#8217;s servers, uploading seems to max out at around 30Kbytes/sec. That&#8217;s <em>slow</em> especially when you are considering backing up photos and videos. So I simply gave up without waiting for photos to upload.</li>
<li><strong>Extra complexity</strong>. For the scripts and apps I have seen so far, everyone is trying to implement a filesystem or a pseudo file system on top of S3&#8242;s bucket system. Moreover, between products there is few compatibility. Directory tree uploaded by <code>s3sync.rb</code> cannot be understood by JungleDisk, for example.</li>
</ul>
<p>I know it is cheap as you only pay for the amount you have used. I know it is <em>cool</em> to use a web services to back up your files. I know Amazon can really take care of my files securely. But there is just <em>too much work</em> for me.</p>
<p>So I ended up backing up my files to my <a href="http://www.dremahost.com/">DreamHost</a> account, via <code>scp</code> and <code>rsync</code>. Since I already have a very under-utilising DreamHost account, so I am not really paying another $9.95 per month for an account. Moreover,</p>
<ul>
<li><code>rsync</code> and <code>ssh</code> is faster, much more reliable and easier to understand. They are also easily scriptable.</li>
<li>Uploading across the Pacific to DreamHost&#8217;s server in LA at 95Kbytes/sec &#8212; a big improvement over S3!</li>
</ul>
<p>See my Cacti graph. I think it maxed out my ADSL2+ modem&#8217;s upload.</p>
<p><img src="http://hostingfu.com/files/images/backup-to-dreamhost.png" alt="Traffic graph for uploading to DreamHost"/></p>
<p>Looks like I have just found myself an offsite backup solution.</p>
]]></content:encoded>
			<wfw:commentRss>http://hostingfu.com/article/offsite-backup-take-2/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
