Best Method for differential backup

Source: Internet
Author: User
Best Method for arranging differential Database Backup

For large databases, full database backup requires a large amount of disk space. To save time and disk space, you can schedule multiple differential backups after a full database backup. Each successive differential database backup is greater than the previous backup, which requires a longer backup time, restoration time, and more space. Therefore, we recommend that you regularly perform new full backups to provide new differential baselines.

When using differential database backup, we recommend that you follow the following principles:

  1. After each full database backup, the differential database backup is scheduled on a regular basis. For example, you can perform a differential Database Backup every four hours. For highly active systems, this frequency can be higher.

  2. When the differential backup is not too large, a new full database backup is scheduled on a regular basis. For example, you can back up the complete database once a week.
Note:
In full recovery mode, transaction log backup must also be arranged. It is recommended that log backup be performed more frequently than differential database backup. For more information, see .
Partial backup differential backup

This section is only related to databases that contain multiple file groups. In simple mode, it is only related to read-only file groups.

In most cases, partial differential backups can be used with partial backups as expected. However, if the read-only or read/write permissions on the file group are changed between partial backup and partial differential backup, the problem may occur. An error may occur when you try to perform partial differential backup, depending on whether the file is included in the partial differential backup. For information about whether a file group is automatically included in some differential backups, see .

Best Practice:After changing a file group to a read/write file group, partial backup should be performed for the next backup, rather than partial differential backup. The only exception is that you intend to change the file group back to the read-only file group before the next backup.

Best Practice:After changing the file group to read-only access, perform a full file backup for the file group so that subsequent differential backups will automatically skip this file group.

File differential backup

Differential file backup can be considered in the following cases:

  • The backup frequency of some files in the file group is lower than that of other files.

  • The file is large and the data is not updated frequently; or the same data is updated repeatedly.

For more information about how to use differential backup (including the best method), see .

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.