Download Backup Restore User's Guide

Transcript
Overview
2. Overview
This chapter introduces some basic knowledge and ways about how to backup and restore a
database with concrete examples. Users can select the way which you acquaint with or
convenient to accomplish this function.
DBMaster provided many useful tools and ways as follow sections to backup and restore
database.
2.1 Types of Database Failures
Database failures can be divided into two types: system failures and media failures. When either
of these types of failure occurs, there is the possibility of data inconsistency or data loss in a
database. A DBMS should provide facilities for recovering from failures and for replacing a
damaged database with a backup copy.
2.1.1 SYSTEM FAILURES
A system failure, known as an instance failure, is a failure from the main memory in a computer
system. System failures may be caused by a power failure, an application or operating system
crash, a memory error, or other reason. The result is the unexpected termination of DBMS.
Applications and active transactions can terminate abnormally when a system failure occurs.
Since the exact state of a transaction in progress or a transaction that has not been completely
written to disk cannot be reliably be determined after a system failure, these types of transactions
require recovery. The most common method of protection against system failures is the use of a
transaction log, or a journal file.
2.1.2 MEDIA FAILURES
Media failure (also known as disk failure) is a failure of the disk storage system of a computer
system. Media failures are usually caused by physical trauma to the disk itself, such as a head
crash, fire, or exposure to vibration or g-forces outside its physical operating limits.
There is nothing to prevent the loss of data on an affected disk when a media failure occurs. One
or more files may be physically damaged because of the failure, requiring restoration of the
database. However, the database can be successfully restored if the database provides backup
and restoration facilities.
©Copyright 1995-2012 CASEMaker Inc.
2-1