<?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>Vembu Blog &#187; Checksums</title>
	<atom:link href="http://blog.vembu.com/tag/checksums/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.vembu.com</link>
	<description>Backup &#38; Beyond</description>
	<lastBuildDate>Mon, 06 Feb 2012 19:48:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Will the real data please stand up? A look at deduplication in the online backup world</title>
		<link>http://blog.vembu.com/will-the-real-data-please-stand-up-a-look-at-deduplication-in-the-online-backup-world/</link>
		<comments>http://blog.vembu.com/will-the-real-data-please-stand-up-a-look-at-deduplication-in-the-online-backup-world/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 10:50:44 +0000</pubDate>
		<dc:creator>Sekar Vembu</dc:creator>
				<category><![CDATA[Online Backup]]></category>
		<category><![CDATA[Remote Backup]]></category>
		<category><![CDATA[SP Edition]]></category>
		<category><![CDATA[Vembu StoreGrid]]></category>
		<category><![CDATA[Checksums]]></category>
		<category><![CDATA[Deduplication]]></category>
		<category><![CDATA[Encryption]]></category>
		<category><![CDATA[StoreGrid]]></category>

		<guid isPermaLink="false">http://blogs.vembu.com/?p=191</guid>
		<description><![CDATA[<p>Talk about <a href="http://en.wikipedia.org/wiki/Data_deduplication" target="_blank">data deduplication</a> (in the  backup and archiving domain) seems to be gaining a fair amount of momentum in  the last few years! Most enterprise backup software vendors like <a href="http://www.symantec.com/business/netbackup" target="_blank">Symantec  (Veritas)</a>, <a href="http://www.emc.com/products/detail/software/avamar.htm" target="_blank">EMC (Avamar)</a> etc. support deduplication in some form or the other &#8211;  some do deduplication in the source system (that is being backed up) and others  do deduplication at the target (backup/storage server). There are also pure  &#8220;deduplication based storage hardware vendors&#8221; like <a href="http://www.datadomain.com/" target="_blank">Data Domain</a> who have gained  considerable traction in the enterprise.<a href="http://blog.vembu.com/wp-content/uploads/2009/02/data-deduplication.jpg"><img class="alignright size-full wp-image-213" title="Data Deduplication" src="http://blog.vembu.com/wp-content/uploads/2009/02/data-deduplication.jpg" alt="" width="480" height="317" /></a></p>
<p>I am actually quite surprised by  the hype around deduplication and the adoption it &#8230; <a href="http://blog.vembu.com/will-the-real-data-please-stand-up-a-look-at-deduplication-in-the-online-backup-world/" class="read_more">Read the rest</a></p>]]></description>
			<content:encoded><![CDATA[<p>Talk about <a href="http://en.wikipedia.org/wiki/Data_deduplication" target="_blank">data deduplication</a> (in the  backup and archiving domain) seems to be gaining a fair amount of momentum in  the last few years! Most enterprise backup software vendors like <a href="http://www.symantec.com/business/netbackup" target="_blank">Symantec  (Veritas)</a>, <a href="http://www.emc.com/products/detail/software/avamar.htm" target="_blank">EMC (Avamar)</a> etc. support deduplication in some form or the other &#8211;  some do deduplication in the source system (that is being backed up) and others  do deduplication at the target (backup/storage server). There are also pure  &#8220;deduplication based storage hardware vendors&#8221; like <a href="http://www.datadomain.com/" target="_blank">Data Domain</a> who have gained  considerable traction in the enterprise.<a href="http://blog.vembu.com/wp-content/uploads/2009/02/data-deduplication.jpg"><img class="alignright size-full wp-image-213" title="Data Deduplication" src="http://blog.vembu.com/wp-content/uploads/2009/02/data-deduplication.jpg" alt="" width="480" height="317" /></a></p>
<p>I am actually quite surprised by  the hype around deduplication and the adoption it seems to have gained in the  enterprise. The reason I am surprised is similar to the one I articulated in my  previous blog post: &#8220;<a href="http://blog.vembu.com/2009/01/synthetic-full-backup-in-the-online-backup-world-are-we-inviting-trouble/" target="_blank">Synthetic Full Backup in the online backup world &#8211; Are we  inviting trouble?</a>&#8220;. The crux of my argument is that backup and archiving is  about building redundancy to the data and not about eliminating redundancy in  the name of efficiency of storage or network bandwidth. So it is my contention  that wherever feasible we should have as much redundancy to the data (that needs  backing up) and only under unavoidable circumstances should we resort to using  synthetic full backup or deduplication. Actually, let me state this more  strongly: <strong>&#8220;avoid falling for the synthetic full backup or deduplication  hype if you can!&#8221;</strong></p>
<p>But who am I to say this. I am neither an  “industry expert” nor am I Steve Jobs to say &#8220;this is what is good for you; take  it or leave it&#8221;. Given that we are a niche company trying to grow (and growing)  in the face of industry giants, we are actually contemplating building  deduplication support in our data backup software, StoreGrid. While not many of  our customers/partners are asking for it, we do get the occasional prospect  saying that deduplication (rather, the lack of it) is a show stopper feature for  them!</p>
<p>As we started thinking about and designing the best way to support  deduplication in StoreGrid, we encountered many options to consider and many  complexities to be handled. But at the end, <strong>we were left with a  fundamental question &#8211; whether a full-fledged deduplication is indeed possible  in the online backup world!</strong> Before I explain some of the options and  the complexities, and why we think a full-fledged de-duplication may not be  feasible in a pure online backup scenario, let me first get into a broad  overview of the two deduplication approaches&#8230;</p>
<p><strong>Deduplication at  the source (client) vs. at the target (backup server) : </strong>There are  vendors who claim they do the deduplication at the source (i.e. the client  system that is being backed up) as opposed to others who claim that they do  deduplication at the target (i.e. at the backup server). If deduplication is  done at the source then it is easy to deduplicate data at a block level across  all files within the source system. If deduplication is done at the target then  it is equally easy to deduplicate data at a block level across all files across  all the client systems backing up to the backup server. Quite obviously doing  deduplication across all files across all clients will be much more effective  than doing deduplication only at a client system level. It is theoretically  possible to do deduplication at the source system and still be able to  deduplicate across all systems backing up to the backup server. In this case,  each client (source) has to continuously update itself with the meta-data of the  blocks that are being stored in the backup server. The meta-data in this case  would simply be the checksums of the blocks. These checksums are looked up to  identify similar blocks of data. I have not personally tested such a product  myself &#8211; i.e. the ones doing deduplication at the source system and still being  able to deduplicate across all systems backing up to the backup server. But this  may not be as efficient in terms of performance as compared to doing the  deduplication at the backup server end, especially if the backup/storage server  resides at a remote data center (and the meta-data needs to be downloaded each  time from the remote server).</p>
<p>Armed with this background, lets dive  deeper into the implications of these &#8216;approaches&#8217; in the online backup  context&#8230;</p>
<p><span style="font-size: small;"><strong>Option 1: Deduplication at  target<br />
</strong></span>One of the most important requirements in the online  backup domain is that the data that is backed up is encrypted before the data  leaves the source system and is sent over the internet to the remote data center  (where the data is stored). Deduplication works by finding similar blocks across  all the files and physically storing only one copy of the block in the storage  system. And encryption works by destroying all patterns in a given data and  making the data random. Because of the way encryption eliminates all patterns,  trying to do deduplication on a set of encrypted files will have no effect &#8211;  i.e. finding similar blocks of data across encrypted data will not be of much  use as encryption would have eliminated all patterns. That means doing  deduplication at the remote storage end, where all the data from different  clients systems are encrypted and stored, is technically not possible. The  option of not encrypting the data that is being backed up to the remote data  center is not really an option in the online backup world.  Another point to note is that deduplication at target doesn&#8217;t really help much in  the case of an online backup scenario &#8211; clients still send all data across  and hence don&#8217;t save anything on bandwidth! Of course, you save on &#8216;server  side storage&#8217; but optimizing this, I&#8217;d assume, comes a distant second to  optimizing bandwidth utilization &#8211; for online backups!</p>
<p><span style="font-size: small;"><strong>Option 2: Deduplication at source &#8211; with a common encryption  key<br />
</strong></span>As I said before it is theoretically possible to do  deduplication at source and still be able to deduplicate across all client  systems in an organization. In order to do that, either the data should not be  encrypted during backup or all the client systems will have to use a common  encryption key to encrypt the data. Not encrypting the data is not really an  option with online backups. Using a common encryption key would mean that for  each block of data that is backed up the checksum signature of the unencrypted  block is also sent to the backup server where it is stored. Every client that is  backed up should look up this database of checksums stored in the backup server  before sending a block of data to the backup server. Though this can be done  efficiently, I am not really fond of this option, because of the performance  penalty, considering that the backup server is at a remote location in the case  of online backups.</p>
<p><strong><span style="font-size: small;">Option 3: Deduplication at local  target backup server &#8211; with offsite replication<br />
</span></strong>The only  practical option I can think of is to have a deployment model where all clients  in an organization backup to a local backup server &#8211; without encryption. The  backed up data is deduplicated at the local backup server and then encrypted and  sent to a remote backup or replication server. This deployment model will ensure  that the deduplication is done on data from across all clients backing up to the  local backup server.  Depending upon a customer&#8217;s preference, the local backup  server can either keep a copy of the deduplicated backed up data (for quicker  restores) or the backed up data at the local backup server can be purged (not  recommended) once the data is moved to the remote backup/replication  server.</p>
<p>In summary, we prefer the last approach, viz. doing the  deduplication at the target backup server which is deployed locally at the site  where clients systems are. This would allow the client to backup to the local  backup server without encrypting the data &#8211; thus facilitating  deduplication at the target. And for offsite storage, the data  from the local backup server would be deduplicated, encrypted and sent to the  remote backup or replication server.  This would also ensure that the benefits of bandwidth savings associated with deduplication are also achieved.</p>
<p>I look forward to feedback &amp;  suggestions on other &#8216;better&#8217; ways of implementing deduplication in the online  backup domain!</p>
<p><em>The above post was written by Sekar Vembu of  Vembu Technologies. Vembu Technologies is a backup software vendor whose  product, StoreGrid, powers the <a href="http://www.vembu.com" target="_blank">online backup</a> services of a large  number of service providers across the globe. Besides <a href="http://www.vembu.com/storegrid/online-backup.html" target="_blank">remote backup</a>, StoreGrid is also used for on premise backups of workstations and servers at  various companies &amp; universities.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vembu.com/will-the-real-data-please-stand-up-a-look-at-deduplication-in-the-online-backup-world/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

