IMS 4212: Data and Database Administration 1 Dr. Lawrence West, Management Dept., University of Central Florida Data & Database Administration.

Slides:



Advertisements
Similar presentations
Networking Essentials Lab 3 & 4 Review. If you have configured an event log retention setting to Do Not Overwrite Events (Clear Log Manually), what happens.
Advertisements

Chapter 16: Recovery System
Backups Rob Limbaugh March 2, Agenda  Explain of a Backup and purpose  Habits  Discuss Types  Risk/Scope  Disasters and Recovery.
DataBase Administration Scheduling jobs Backing up and restoring Performing basic defragmentation and index rebuilding Using alerts Archiving.
©2006 ITT Educational Services Inc. Course Name: IT390 Business Database Administration Unit 5 Slide 1 IT390 Business Database Administration Unit 5 :
June 23rd, 2009Inflectra Proprietary InformationPage: 1 SpiraTest/Plan/Team Deployment Considerations How to deploy for high-availability and strategies.
Understand Database Backups and Restore Database Administration Fundamentals LESSON 5.2.
Fundamentals, Design, and Implementation, 9/e Chapter 11 Managing Databases with SQL Server 2000.
Lesson 11 – NETWORK DISASTER RECOVERY Disaster recovery plans Network backup and restoration OVERVIEW.
1 Choosing Disaster Recovery Solution for Database Systems EECS711 : Security Management and Audit Spring 2010 Presenter : Amit Dandekar Instructor : Dr.
Database Backup and Recovery
Backing Up and Restoring Databases Lesson 16. Skills Matrix.
Module 5 Understanding SQL Server 2008 R2 Recovery Models.
Backup and Restore. Backup  Databases live in a fragile environment  Machines can fail  Disks can fail  Programs can fail.
Presented by Joseph Galvan & Stacy Kemp BACKUPS.  Using database backups, a database administrator (DBA’s) can restore from the last backup or to a specific.
Academic Year 2014 Spring. MODULE CC3005NI: Advanced Database Systems “DATABASE RECOVERY” (PART – 1) Academic Year 2014 Spring.
NovaBACKUP 10 xSP Technical Training By: Nathan Fouarge
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
1 Chapter Overview Backing Up Your Network Backing Up and Restoring Active Directory.
November 2009 Network Disaster Recovery October 2014.
SQL Server 2008 Implementation and Maintenance Chapter 7: Performing Backups and Restores.
1 Introducing Windows Backup There are different methods for starting Windows 2000 Backup. Requirements for running Windows 2000 Backup All users can back.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
Managing Multi-User Databases AIMS 3710 R. Nakatsu.
IMS 4212: Distributed Databases 1 Dr. Lawrence West, Management Dept., University of Central Florida Distributed Databases Business needs.
Chapter 11: Designing a Data Recovery Solution for a Database MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study.
IMS 6217: Data Warehousing / Business Intelligence Part 3 1 Dr. Lawrence West, Management Dept., University of Central Florida Analysis.
Chapter 18: Windows Server 2008 R2 and Active Directory Backup and Maintenance BAI617.
©2006 Merge eMed. All Rights Reserved. Energize Your Workflow 2006 User Group Meeting May 7-9, 2006 Disaster Recovery Michael Leonard.
Rajib Kundu Agenda Definitions Failover Cluster Database Snapshots Log shipping Database Mirroring.
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 12 Distributed Database Management Systems.
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.
IMS 4212: Database Implementation 1 Dr. Lawrence West, Management Dept., University of Central Florida Physical Database Implementation—Topics.
7. Replication & HA Objectives –Understand Replication and HA Contents –Standby server –Failover clustering –Virtual server –Cluster –Replication Practicals.
Component 8/Unit 9bHealth IT Workforce Curriculum Version 1.0 Fall Installation and Maintenance of Health IT Systems Unit 9b Creating Fault Tolerant.
IMS 4212: Database Security 1 Dr. Lawrence West, Management Dept., University of Central Florida Data & Database Administration Security.
1 Principles of Database Systems With Internet and Java Applications Today’s Topic Chapter 15: Reliability and Security in Database Servers Instructor’s.
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.
1 Backups Part of a Systems Administrators job is maintaining the integrity of the system. This does not mean that she is expected to prevent anything.
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.
SYS364 Database Design Continued. Database Design Definitions Initial ERD’s Normalization of data Final ERD’s Database Management Database Models File.
Learningcomputer.com SQL Server 2008 – Backup and Restore Database.
Database technology Introduction ER Modeling Database objects (intro) SQL.
IMS 4212: Database Implementation 1 Dr. Lawrence West, Management Dept., University of Central Florida Physical Database Implementation—Topics.
Data Disaster Recovery Planning Greg Fibiger 1/7/2016.
2 Copyright © 2006, Oracle. All rights reserved. Configuring Recovery Manager.
IMS 4212: Constraints & Triggers 1 Dr. Lawrence West, Management Dept., University of Central Florida Stored Procedures in SQL Server.
1 Chapter Overview Using Standby Servers Using Failover Clustering.
1 Ch 11. Backup your data. 2 Backup Device An object contain location of backup device Location can be a file or a tape device.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Backing Up and Restoring Databases Advanced Database Dr. AlaaEddin Almabhouh.
IMS 4212: Course Introduction 1 Dr. Lawrence West, Management Dept., University of Central Florida ISM 4212 Dr. Larry West
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.
Unit 8: Database and Storage Pool Backup and Recovery.
WHAT ARE BACKUPS? Backups are the last line of defense against hardware failure, floods or fires the damage caused by a security breach or just accidental.
Administrating a Database
Sponsors.
Integrating Disk into Backup for Faster Restores
Database Administration
AS ICT Module 2 Objectives: Security of Data
Curacao SQL Saturday June 11, 2016
Managing Multi-User Databases
SpiraTest/Plan/Team Deployment Considerations
Prepared by Jaroslav makovski
High Availability/Disaster Recovery Solution
Using the Cloud for Backup, Archiving & Disaster Recovery
Administrating a Database
Backup & Recovery.
Presentation transcript:

IMS 4212: Data and Database Administration 1 Dr. Lawrence West, Management Dept., University of Central Florida Data & Database Administration Database Backup Backing Up in SQL Server –The Transaction Log –Differential Backup –Full Backup –Copying the Database

IMS 4212: Data and Database Administration 2 Dr. Lawrence West, Management Dept., University of Central Florida Backing up Databases Why should we back up? What are the tradeoffs with backing up? What is the worst thing that could happen to your data? –How likely is it to happen? –What would it cost? What else could happen? –Likelihood? Cost? What backup strategies are available?

IMS 4212: Data and Database Administration 3 Dr. Lawrence West, Management Dept., University of Central Florida Backing up Databases Database Backup Strategies –Mirroring –Offsite mirroring –Logging transactions –Differential backups –Rollback/Commit strategies for business transactions –SQL Server backup

IMS 4212: Data and Database Administration 4 Dr. Lawrence West, Management Dept., University of Central Florida Mirroring Mirroring is the practice of replicating transactions onto two different storage systems as they occur Some DBMS will automatically implement mirroring Can also be implemented at the application level –Create two connection objects to different DB –Execute each Update/Insert/Delete against both connections –Only query one –Second copy is available for full use if the primary becomes unavailable –Either copy can be restored from the other

IMS 4212: Data and Database Administration 5 Dr. Lawrence West, Management Dept., University of Central Florida Off-Site Mirroring Off-Site Mirroring is just mirroring with one copy of the DB located in a geographically distant location –"Distant" should be far enough away to not be affected by the same disaster Network speed must support multi-site operations Reverting to the remote copy for routine operations may be troublesome for queries with large result sets

IMS 4212: Data and Database Administration 6 Dr. Lawrence West, Management Dept., University of Central Florida Backup in SQL Server The Transaction Log Differential Backup Full Backup Copying the Database

IMS 4212: Data and Database Administration 7 Dr. Lawrence West, Management Dept., University of Central Florida The Transaction Log The transaction log is a separate physical file created when the database is created Every DB event since the last backup is recorded (mirrored) in the transaction log (as SQL statements) In the event of failure:

IMS 4212: Data and Database Administration 8 Dr. Lawrence West, Management Dept., University of Central Florida The Transaction Log (cont.) The TL should be on a separate physical drive from the database –Faster reads and writes –Less likelihood of losing both data sources at once The TL may also be backed up (which resets the active TL)

IMS 4212: Data and Database Administration 9 Dr. Lawrence West, Management Dept., University of Central Florida The Transaction Log (cont.) Making more frequent (smaller) TL backups: –Reduces the time needed for backing up –Keeps the TL physical file size smaller –Increases (slightly) the time needed to restore the DB

IMS 4212: Data and Database Administration 10 Dr. Lawrence West, Management Dept., University of Central Florida Differential Backup A differential backup is a backup of the database since the last time a full or differential database backup was performed Smaller than a full backup Good when some parts of the DB are more volatile than others TL backups can be applied on top of a differential backup

IMS 4212: Data and Database Administration 11 Dr. Lawrence West, Management Dept., University of Central Florida Full Backup A Full Backup backs up the entire database Takes longer than the other backup strategies (obviously) Creates a larger file size May be used to copy or move a database

IMS 4212: Data and Database Administration 12 Dr. Lawrence West, Management Dept., University of Central Florida Backup Strategies How frequently is each type of backup performed? –Transaction log backup –Differential backup –Full backup Where is data kept? What is time needed to perform the backup –And performance degradation while backup is in progress How long to restore the DB to full operating condition –Hardware replacement –DB backup

IMS 4212: Data and Database Administration 13 Dr. Lawrence West, Management Dept., University of Central Florida Managing Backup Media Know what media must be restored in what order in the event of a failure Recycle media when its contents have been made redundant –Recommended to keep one backup of a backup Manage age of media—destroy when too old Manage storage of media Manage media labeling

IMS 4212: Data and Database Administration 14 Dr. Lawrence West, Management Dept., University of Central Florida Managing Backup Media (cont.) You should manage backup media so that the same disaster does not burn up your operating data and your backup At a minimum backup media should be removed from the room –Building City –State The abandoned coal mine repository

IMS 4212: Data and Database Administration 15 Dr. Lawrence West, Management Dept., University of Central Florida Backing Up in SQL Server Available in Tasks menu You may select a backup file Backup devices (tape drives) will be recognized if installed