What is data backup and data recovery?

Data backup is an insurance plan. It is defined as a system in operation to avoid errors or system failures, and data lossing, storing the copy of whole or in part from the application host data set or array of hard disk to other storage medium. Data recovery is a system in operation to rescue and recover the lost data in database from data copy.

According to the backup size of database, there are four types of database backups. They are used in different occasions respectively:

1. Fully backups: This is Most common used for most people. It can backup the entire database, including user tables, system tables, indexes, views and stored procedures and all database objects. But it needs to spend more time and space, therefore,  we suggest you do a full backup once a week generally.

2. Transaction logs backups: Transaction log is a separate document, which records changes in the database, just only need to backup the modifies since the last backup in the database, so it only need very little time. In order to make the database robust, we suggest you backup the transaction logs an hour or even more frequently.

3. Differential backups: Designed to create backup copies of files that have changed since the last normal backup. The presence of the archive attribute indicates that the file has been modified and only files with this attribute are backed up.

4. Daily backups:Designed to back up files using the modification date on the file itself.

If a file has been modified on the same day as the backup, the file will be backed up. This technique doesn't change the archive attributes of files.

According to the states of the database, there are three types of database backup:

1. Cold backup, at this time, the database is closed to ensure the integrity of the database better.

2. Hot backup, the database is in operation, this method relies on a log of database.

3. Logical backup, use the software to extract data from the database and wrote the result in a file.

When the database has corruption or cause users incorrect manipulation, failures of operating system caused by the data cannot be seen or be read, lost. Engineers can read the data from the backup and make them recovery by some technological means.

Data backup and recovery is very important for database. You will want to have redundant backup sets that extend back for several backup periods.


: What is lock (database)?
: What is Database Integrity?



Tags: data  backup  system  operation  database  backups  transaction  logs  file  

Readers also visit these:

How can I get technical support?
How to install Database Compare in my local disk?
What is date type?
What is T-SQL (Transact-SQL)?
How to compare and synchronize the permissions?

Related Questions:

What is data model?
What is Database Integrity?
What is data storage?