{"id":1784,"date":"2010-01-18T20:41:32","date_gmt":"2010-01-18T10:41:32","guid":{"rendered":"http:\/\/nsrd.info\/blog\/?p=1784"},"modified":"2018-12-11T19:06:05","modified_gmt":"2018-12-11T09:06:05","slug":"importance-of-full-backup","status":"publish","type":"post","link":"https:\/\/nsrd.info\/blog\/2010\/01\/18\/importance-of-full-backup\/","title":{"rendered":"The importance of full backups"},"content":{"rendered":"<p>Having recently encountered a situation where a NetWorker client on a customer site repeatedly failed its full backup, I wanted to take a few moments to stress the absolute, importance \u2013 no, extreme criticality \u2013 of always being on top of your full backups.<\/p>\n<p>Specifically:<\/p>\n<ul>\n<li>You should <em>always<\/em> know whether your full backups have succeeded or not for each and <em>every<\/em> client of your backup system.<\/li>\n<li>Unless there are specific management directives to the contrary, you should <em>always<\/em> re-run full backups in the event of failure as soon as possible.<\/li>\n<\/ul>\n<p>To put it another way \u2013 a set of backups without a full, when it comes to performing a complete filesystem or system recovery, is about as useful as a chocolate teapot. Perhaps even less so.<\/p>\n<p>I&#8217;ve described previously the importance of having a <a title=\"What is a zero error policy?\" href=\"https:\/\/nsrd.info\/blog\/2009\/08\/11\/what-is-a-zero-error-policy\/\" target=\"_blank\">zero error policy<\/a>, and always knowing if failures occur. So this topic could be summarised as being a subset of the zero error policy. However, if I were to be asked what backup I could &#8220;afford to lose&#8221; in terms of complete system recoverability, I&#8217;d pick an incremental any day over a full. (It&#8217;s actually a fine line, but it&#8217;s still an important differentiation.)<\/p>\n<p>Without a full backup, at best you can pull back bits and pieces of a filesystem. Sure, they might be the most recently modified bits, which in themselves are important, but they&#8217;re not the <em>entire<\/em> filesystem. For most organisations, they barely touch the surface of the filesystem. Incrementals (and for that matter, differentials) are like the proverbial tip of the iceberg \u2013 perhaps without the penguins though*. The real monstrosity in a backup environment \u2013 the rest of the iceberg \u2013 are the fulls.<\/p>\n<p>Let&#8217;s consider it this way \u2013 in most environments (discounting say, backups of database dump regions) you&#8217;ll find that an incremental backup covers somewhere between 5% to 10% of the filesystem. Not only that, the delta change on a day to day basis will also be quite small. That is, in many situations the files that are backed up each day in incremental backup regimes are the same files, modified day after day for working purposes. So while you may have incrementals of even up to 10% per day of your fulls, in turn 90% or more of those files may be the <em>same<\/em> files each day that are getting backed up in incrementals.<\/p>\n<p>If we look at a 200GB filesystem though, even 10% of that filesystem is just 20GB. So if your full is somehow lost, that&#8217;s 180GB that you can&#8217;t readily recover. Additionally, the 20% or so that you can recover is going to be a pigs breakfast as far as getting it back in any consistent state.<\/p>\n<p>NetWorker, through its use of saveset dependency chains, will do its utmost to protect you from regular saveset failures. If a full filesystem backup fails, subsequent incrementals will be chained onto the previous dependency set, retaining the previous full backup for a longer period of time.<\/p>\n<p>It&#8217;s important we don&#8217;t let those dependency chains just keep building and building. They need to be broken and restarted so that we don&#8217;t get into messy situations or use up too much media. That&#8217;s why you should have a policy to rerun a full backup as soon as possible if it fails, rather than just waiting for the next one. (Further, I&#8217;ve far too often seen that sites with a &#8220;just wait until the next full backup runs&#8221; policy continually miss full backup failures, often for months at a time, because that sort of attitude also seems to be accompanied with informal records keeping.)<\/p>\n<p>The next thing to consider is that we mustn&#8217;t just arbitrarily break dependency chains ourselves. By this, I&#8217;m referring to manually recycling media without regards to what may depend on that media, just because we need to free up volumes or have policies that media should be recycled after a certain length of time.<\/p>\n<p>More than anything else, I see this as the reason companies find themselves in situations where NetWorker returns an &#8220;Unknown&#8221; volume being required for recovery. In this situation, NetWorker knows there should be a full backup, but it doesn&#8217;t have access to it, and therefore it can&#8217;t do anything to get the complete filesystem (or other type of data) recovered. Or, if there&#8217;s going to be a significant recovery error<\/p>\n<p>Your full backups are like gold. No, gold isn&#8217;t special enough. Platinum, maybe. Or some combination of gold, platinum and saffron. They&#8217;re not to be cavalierly deleted, they&#8217;re not to be ignored, and they&#8217;re not to be left unchecked. (They&#8217;re not to be uncloned, either.)<\/p>\n<p>In actual fact, it really doesn&#8217;t matter <em>what<\/em> your backup product is. What always matters is that your full backups are done, they&#8217;re done as soon as possible around the scheduled time, they&#8217;re successful, they&#8217;re <em>known<\/em> to be successful, and they&#8217;re successfully cloned. If any of those factors aren&#8217;t in play, you&#8217;ve got to get it fixed straight away.<\/p>\n<p>&#8212;<br \/>\n* Unless they&#8217;re incrementals from a Linux system, of course.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Having recently encountered a situation where a NetWorker client on a customer site repeatedly failed its full backup, I wanted&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,8,16],"tags":[399,400,789,1044],"class_list":["post-1784","post","type-post","status-publish","format-standard","hentry","category-backup-theory","category-data-loss","category-networker","tag-full","tag-full-backup","tag-recoverability","tag-unknown"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKpIN-sM","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/1784","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=1784"}],"version-history":[{"count":1,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/1784\/revisions"}],"predecessor-version":[{"id":7579,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/1784\/revisions\/7579"}],"wp:attachment":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/media?parent=1784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/categories?post=1784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/tags?post=1784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}