BACKUP & RECOVERY Option 1: Transaction Processing Systems.

Slides:



Advertisements
Similar presentations
Backup Strategy. An Exam question will ask you to describe a backup strategy. Be able to explain: Safe, secure place in different location. Why? – For.
Advertisements

11 BACKING UP AND RESTORING DATA Chapter 4. Chapter 4: BACKING UP AND RESTORING DATA2 CHAPTER OVERVIEW Describe the various types of hardware used to.
CSCI 3140 Module 8 – Database Recovery Theodore Chiasson Dalhousie University.
©2006 ITT Educational Services Inc. Course Name: IT390 Business Database Administration Unit 5 Slide 1 IT390 Business Database Administration Unit 5 :
Understand Database Backups and Restore Database Administration Fundamentals LESSON 5.2.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Advanced Databases DBA: Backups 1. Advanced Databases Agenda Define backup Discuss Backup Terminology Explain various backup and restore options in Oracle.
Database Backup and Recovery
 Mechanism for restoring a database quickly and accurately after loss or damage  RESPONSIBILITY OF ?????  Recovery facilities: Backup Facilities Backup.
 Mechanism for restoring a database quickly and accurately after loss or damage  RESPONSIBILITY OF ?????  Recovery facilities: Backup Facilities Backup.
®® Microsoft Windows 7 for Power Users Tutorial 10 Backing Up and Restoring Files.
Backup and Recovery Part 1.
Security and Backup Avoid disasters – have a good backup policy Avoid disasters – have a tight security scheme in place UK law dictates the board of directors.
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
Servers Redundant Array of Inexpensive Disks (RAID) –A group of hard disks is called a disk array FIGURE Server with redundant NICs.
Backup & Restore The purpose of backup is to protect data from loss. The purpose of restore is to recover data that is temporarily unavailable due to some.
Academic Year 2014 Spring. MODULE CC3005NI: Advanced Database Systems “DATABASE RECOVERY” (PART – 1) Academic Year 2014 Spring.
Document Backup I & II Nasouh Keilani Computer Technician.
Procedures for Backup and Recovery Section 14. Key points and questions What data should be backed up and how often? What do we mean by full backup, incremental.
1 Chapter Overview Backing Up Your Network Backing Up and Restoring Active Directory.
Backup Strategy. Backup strategy Backup copy is a second copy saved to another location, usually on a backup device e.g. USB stick.Backup copy is a second.
SQL Server 2008 Implementation and Maintenance Chapter 7: Performing Backups and Restores.
LAN / WAN Business Proposal. What is a LAN or WAN? A LAN is a Local Area Network it usually connects all computers in one building or several building.
CS 352 : Computer Organization and Design University of Wisconsin-Eau Claire Dan Ernst Storage Systems.
Backup and Restore CPTE 433 John Beckett. Why Back Up? So you can restore later! SLA Restore Policy Backup Policy Backup Schedule.
1 Chapter 12 File Management Systems. 2 Systems Architecture Chapter 12.
BACKUP & RESTORE The purpose of backup is to protect data from loss. The purpose of restore is to recover data that is temporarily unavailable due to some.
Chapter 4 Solving Data Backup Challenges Prepared by: Khurram N. Shamsi.
IT:Network:Applications  What is the worst that could happen? ◦ It will  When is the worst time that could happen? ◦ That’s when it will.
15 Copyright © 2005, Oracle. All rights reserved. Performing Database Backups.
CREATE THE DIFFERENCE Back ups and Recovery Janet Francis/Geoff Leese January 2010.
Maintaining File Services. Shadow Copies of Shared Folders Automatically retains copies of files on a server from specific points in time Prevents administrators.
1 Maintain System Integrity Maintain Equipment and Consumables ICAS2017B_ICAU2007B Using Computer Operating system ICAU2231B Caring for Technology Backup.
© 2001 by Prentice Hall11-1 Local Area Networks, 3rd Edition David A. Stamper Part 4: Installation and Management Chapter 11 LAN Administration: Backup.
IOS110 Introduction to Operating Systems using Windows Session 10 1.
Managing Disks and Drives Chapter 13 powered by dj.
Mark A. Magumba Storage Management. What is storage An electronic place where computer may store data and instructions for retrieval The objective of.
MS SQL by: Bryan Bankhead CIS 407. General Concepts  Backing up and Restoring databases and transaction logs is a way that SQL Server provides protection.
Recovery System By Dr.S.Sridhar, Ph.D.(JNUD), RACI(Paris, NICE), RMR(USA), RZFM(Germany) DIRECTOR ARUNAI ENGINEERING COLLEGE TIRUVANNAMALAI.
Chapter 6 Protecting Your Files. 2Practical PC 5 th Edition Chapter 6 Getting Started In this Chapter, you will learn: − What you should know about losing.
Reliability and Recovery CS Introduction to Operating Systems.
Chapter 16 Recovery Yonsei University 1 st Semester, 2015 Sanghyun Park.
XP Practical PC, 3e Chapter 6 1 Protecting Your Files.
Cosc 4750 Backups Why Backup? In case of failure In case of loss of files –User and system files Because you will regret it, if you don’t. –DUMB = Disasters.
Security and Backup. Introduction A back-up strategy must cover all eventualities: Accidental damage Equipment failure Deliberate damage It must consider:
1 Chapter Overview Understanding Data Restoration Issues Understanding the Types of Database Backups Understanding the Restoration Process.
Fault Tolerance and Disaster Recovery. Topics Using Antivirus software Fault tolerance –Power –Redundancy –Storage –Services Disaster Recovery –Backup/Restore.
20/12/20151 Data Structures Backing up and Archiving Data.
Understanding Backup and Recovery Methods Lesson 8.
IT1001 – Personal Computer Hardware & system Operations Week7- Introduction to backup & restore tools Introduction to user account with access rights.
Learningcomputer.com SQL Server 2008 – Backup and Restore Database.
The aim of producing a backup strategy is to make sure that a computer system can be returned to its original state if data has been lost or corrupted.
12 Copyright © Oracle Corporation, All rights reserved. User-Managed Complete Recovery.
Managing Data & Information Procedures & Techniques.
CREATE THE DIFFERENCE Back ups and Recovery. CREATE THE DIFFERENCE Aims This lecture aims to cover –Back ups –Transaction logging –Security threats.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
19 Copyright © 2004, Oracle. All rights reserved. Database Backups.
Backing Up Lesson 12. Backups A backup is simply a copy of the data on a computer’s hard disks, stored on another medium in case a hard drive fails. If.
This courseware is copyrighted © 2016 gtslearning. No part of this courseware or any training material supplied by gtslearning International Limited to.
( ) 1 Chapter # 8 How Data is stored DATABASE.
BACKUP AND RESTORE. The main area to be consider when designing a backup strategy Which information should be backed up Which technology should be backed.
Chapter 6 Protecting Your Files
File-System Management
Local Area Networks, 3rd Edition David A. Stamper
Basic Guide to Computer Backups
Database Administration
CompTIA Security+ Study Guide (SY0-401)
AS ICT Module 2 Objectives: Security of Data
Backing up a Hard Disk Windows XP Tutorial 6.
CompTIA Security+ Study Guide (SY0-501)
Presentation transcript:

BACKUP & RECOVERY Option 1: Transaction Processing Systems

Backup & Recovery  Backup is the process of making a copy of data in case the original is lost or damaged.  Recovery is the opposite of the backup process where the backup copy of the data is restored and placed back on to the system.  Various procedures used to perform backups together with advantages and disadvantages.

Backup & Recovery  Backups provide a snapshot copy of data at particular points in time. A backup copy allows the systems data to be recovered back to the state it was at the precise moment the backup copy was made.  In the event of complete system failure that destroys the data completely, it is important to be able to recover to a point as close as possible to the time the failure occurred.

Backup & Recovery  The most common cause for a system failure requiring backup and recovery is hard drive failure. Specifically the read/write heads – being the moving parts of the drive.  Other issues include viruses, editing of previous files or hard/software configuration. To recover from most scenarios the approach to backup should be regular and kept for a reasonable time.  Frequency of backups and length of time stored is dependent entirely on the value of the data. Currently recreating 10MB of data can potentially cost a business $50,000 (inc. the cost of the system being inoperable). Additionally it is estimated that 43% of businesses who suffer severe or total loss of data never reopen.

Full and Partial Backups  There are three types of backups…  Full  Partial – Incremental  Partial – Differential

Backup & Recovery  Full Backup  Full backup, as it sounds, is a complete copy of ALL data within the system. This is a complete image of the entire hard disk, the operating system, configuration settings and all user data. Typically made weekly.  ADV’s – easiest to restore from complete failure  DISADV’s – time, large amounts of storage required

Backup & Recovery  Incremental Backup  Incremental Backup makes partial backups that copy all files that have changed or been created since the last backup. Incremental only includes files where the archive bit is true. Typically made daily.  ADV’s – faster than full  DISADV’s – extra time required to recover data. Often the last full followed by consequent incrementals.

Backup & Recovery  Differential Backup  Differential Backup uses partial backups to make copies of all files that have been altered since the last full backup. If made daily then they will contain copies of all files within all previous partial backups since the last full was made.  ADV’s – faster than full  DISADV’s – extra time required to recover data. Often the last full followed by consequent partial. Increasing file size leading up to next full backup.

Transaction Logs, Mirroring and Rollback  We said previously that transaction logs contain historical details of each transaction performed in a system – including transaction currently being processed. These details can be used to restore a system to a state at some precise point in time so that completed transaction can be recommitted or rolled back AND incomplete transactions can be continued or rolled back. Come to page 416 for two examples of this…

Backup Media Magnetic tape remains the dominant media for backing up data on large systems, including most TPS’s. This is due to large volume of storage, inexpensive per Gig and compared to alternate systems. That said the following could be utilised…

Backup Media Complete the table above using page … MediaBrief description Magnetic tape Hard disk CD DVD Online system

Backup Procedures You should be careful not to utilise the same backup procedures continuously. Multiple types and sets of backup media should be purchased and used with the aim being to have as many complete backups copies produced in as many different times as possible. This way data can be recovered back to a variety of different past states. Most backup procedures fail due to human error.

Backup Procedures For example… Mr C’s laptop Mr C’s Playstation 3 College tape backups recovered-from-a-raid-failure / recovered-from-a-raid-failure /

Backup Procedures In groups of 2-3 I want you to propose… 1. A backup system (with associated media) for HOME 2. A backup system (with associated media) for SCHOOL ______________________________________________  When you are finished you can play thisthis

Backup Procedures There are three approaches to backup that the syllabus talks about… - Grandfather, Father, Son (GFS) - Round Robin - Towers of Hanoi

Backup Procedures Grandfather, Father, Son This is the most commonly used rotation scheme. GFS is as follows… Daily Backups – Son Weekly Backups – Father Monthly Backups - Grandfather Full or partial backups are performed each working day to a son tape except for on a Friday. Every Friday (except the last of the month) a Father tape is used as a full backup for the week. On the last Friday of the month a grandfather backup is completed in full for the month.

Backup Procedures Grandfather, Father, Son The son tapes are reused each week, the set of father tapes are reused each month and the grandfather tapes are reused each year. Typically the monthly/grandfather tapes are stored offsite and weekly tapes are stored in a local location such as a safe.

Backup Procedures MONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAY MonTueWedThursWeek 1 MonTueWedThursWeek 2 MonTueWedThursWeek 3 MonTueWedThursMonth 1 MonTueWedThursWeek 1 MonTueWedThursWeek 2 MonTueWedThursWeek 3 MonTueWedThursMonth 2 MonTueWedThursWeek 1 MonTueWedThursWeek 2 MonTueWedThursWeek 3 MonTueWedThursMonth 3 There are 10 different tapes represented above for a 3 week GFS rotation. Come to page for further detail…

Backup Procedures Round Robin Backup A round robin treats all tapes equally. Each tape is numbered sequentially for example on a Monday to Friday rotation there would be 5 tapes numbered 1-5. As tape 5 is used for backup tape 1 is reused and the cycle continues. Each tape added to the cycle extends the ability to restore a further day. This is suitable for small businesses only and would typically look like 30 tapes on rotation over the course of a month. Full backups should be archived at regular intervals if using this method.

Backup Procedures Towers of Hanoi The Towers of Hanoi rotation is based on the game you played previously. To transfer this logic puzzle to a backup rotation each disk represents a tape and the order in which the disk are moved determines the order in which the tapes are moved. In the example on the next page (with 6 tapes) the complete sequence of movement takes 32 days. Tapes used less often will contain data from the distant past whilst those used more often contain most recent data.

Backup Procedures Towers of Hanoi with 6 tapes labelled A-E Day 1Day 2Day 3 Day 4Day 5Day 6Day 7Day 8 ABACABAD Day 9Day 10Day 11 Day 12Day 13Day 14Day 15Day 16 ABACABAE Day 17Day 18Day 19 Day 20Day 21Day 22Day 23Day 24 ABACABAD Day 25Day 26Day 27 Day 28Day 29Day 30Day 31Day 32 ABACABAF

Backup Procedures Towers of Hanoi The Towers of Hanoi requires specialized backup software that operates in conjunction with tape libraries. The software performs the daily tape rotation automatically loading and backing up the correct tape in the sequence. The same software is used to restore in the event of an issue over the course of the cycle.