{"id":1866,"date":"2010-02-06T06:32:30","date_gmt":"2010-02-05T20:32:30","guid":{"rendered":"http:\/\/nsrd.info\/blog\/?p=1866"},"modified":"2018-12-11T19:02:32","modified_gmt":"2018-12-11T09:02:32","slug":"snapshots-and-backups","status":"publish","type":"post","link":"https:\/\/nsrd.info\/blog\/2010\/02\/06\/snapshots-and-backups\/","title":{"rendered":"Snapshots and Backups"},"content":{"rendered":"<p>Every now and then the topic arises over whether snapshots are backups.<\/p>\n<p>This is going through a resurgence at the moment, as <a title=\"NetApp gives up on NearStore VTL\" href=\"http:\/\/searchstorage.techtarget.com.au\/news\/38532-NetApp-gives-up-on-NearStore-virtual-tape-library\" target=\"_blank\">NetApp has dropped development of their VTL systems<\/a>, with <a title=\"NetApp NearStore limbo\" href=\"http:\/\/www.theregister.co.uk\/2010\/02\/05\/netapp_nearstore_limbo\/\" target=\"_blank\">some indications being that they&#8217;re going to revert to recommending people use snapshots and replication for backup<\/a>.<\/p>\n<p>So this raises the question again \u2013 is a snapshot a backup? I&#8217;ll start by quoting from <a title=\"Enterprise Systems Backup and Recovery: A Corporate Insurance Policy\" href=\"http:\/\/www.enterprisesystemsbackup.com\" target=\"_blank\">my book<\/a> here:<\/p>\n<blockquote><p>A backup is a copy of any data that can be used to restore the data as\/when required to its original form. That is, a backup is a valid copy of data, files, applications, or operating systems that can be used for the purposes of recovery.<\/p><\/blockquote>\n<p>On the face of this definition, a snapshot is indeed a backup, and I&#8217;d agree that on a per-instance basis snapshots can act as backups.&nbsp;However, I&#8217;d equally argue that building your entire backup and recovery <em>system<\/em> on the basis of snapshots and replication is like building a house of cards on shifting sand in the face of an oncoming storm. In short, I don&#8217;t believe that snapshots and replication alone provide:<\/p>\n<ol>\n<li>Sufficient long-term protection.<\/li>\n<li>Sufficient long-term management.<\/li>\n<li>Sufficient long-term performance.<\/li>\n<\/ol>\n<p>I&#8217;ll be the first to argue that in a system with high SLAs, having snapshots and\/or replication is going to be almost a 100% requirement. You can&#8217;t meet a 1 hour data loss deadline if you only backup once every 24 hours \u2013 and backing up every hour using conventional backup systems is rarely appropriate (or rarely even works). So I&#8217;m not dismissing snapshots at all.<\/p>\n<p>It&#8217;s easy to discuss the theoretical merits of using snapshots in lieu of backup\/recovery software as a total backup <em>system<\/em>, but I think that the practical considerations quickly overcome any theoretical discussion. So let&#8217;s consider a situation though where you want to keep your backups for 6 months. (These days that&#8217;s a fairly short period.) Do you really want to keep 6 months of snapshots around? Let&#8217;s assume we keep hourly snapshots for 2 weeks, then one snapshot per day for the rest of the time. That&#8217;s 504 snapshots per system \u2013 in fact, normally per NAS filesystem. Say you&#8217;ve got 4 NAS units and 30 filesystems on each one \u2013 that&#8217;s around 60,000 snapshots over a course of 6 months.<\/p>\n<p>What&#8217;s 60,000+ snapshots going to do to:<\/p>\n<ul>\n<li>Primary production storage performance?<\/li>\n<li>Storage and backup administrator management?<\/li>\n<li>Storage costs?<\/li>\n<li>Indexing costs?<\/li>\n<\/ul>\n<p>The argument that snapshots and replication alone can replace a healthy enterprise backup system (or act in lieu of it) just doesn&#8217;t wash as far as I&#8217;m concerned. It looks good on paper to some, but on closer inspection, it&#8217;s a paper tiger.&nbsp;By all means within environments with heavy SLAs they&#8217;re likely to form part of the data protection solution, but they shouldn&#8217;t be the <em>only<\/em> solution.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Every now and then the topic arises over whether snapshots are backups. This is going through a resurgence at the&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5,13],"tags":[138,152,1252,820,901],"class_list":["post-1866","post","type-post","status-publish","format-standard","hentry","category-backup-theory","category-general-thoughts","tag-backup","tag-backup-system","tag-recovery","tag-replication","tag-snapshots"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKpIN-u6","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/1866","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/comments?post=1866"}],"version-history":[{"count":1,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/1866\/revisions"}],"predecessor-version":[{"id":7575,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/1866\/revisions\/7575"}],"wp:attachment":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/media?parent=1866"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/categories?post=1866"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/tags?post=1866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}