12.2 Backup Sets

Source: Internet
Author: User

12.2 Backup Sets


12.2.1 Backup Set

A single backup is called a backup set.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7A/22/wKiom1ai7t_SBkXQAAF6Vbgb-IU498.png "title=" Backup set. png "alt=" Wkiom1ai7t_sbkxqaaf6vbgb-iu498.png "/>


The backup engine generates a header for each backup set so that you can quickly query for any backup sets contained in that media set at a later time.

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7A/22/wKiom1ai8MKT_iezAAEbvTNW--8902.png "title=" Media content 1.png "style=" Float:none; "alt=" Wkiom1ai8mkt_iezaaebvtnw--8902.png "/>


650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7A/22/wKioL1ai8QPC8R4pAAH2XNmtpHU370.png "title=" Media content 2.png "style=" Float:none; "alt=" Wkiol1ai8qpc8r4paah2xnmtphu370.png "/>


12.2.2 Options for backup sets

(1) Name
Specifies the backup set name. The system automatically suggests a default name based on the database name and backup type.
T-SQL Example: with NAME = N ' sqldb01-full database backup '

(2) Description
A brief description of the backup set.
T-SQL Example: with DESCRIPTION = N ' Full backup '

(3) Backup set expiration time
You can specify how many days to expire, or specify expiration after a specific date, so that the space occupied by the backup set can be reused. Note: Only one of these two parameters can be selected.
"Later Than (days)" Specifies the number of days after which the backup set expires and can be overwritten. This value range is 0-99,999 days, and 0 days indicates that the backup set will never expire.
T-SQL Example: with retaindays = 14
On (a specific date) specifies the date on which the backup set expires and can be overwritten.
T-SQL Example: with expiredate = N ' 2013-10-31 '



12.2.3 Header Information

Each backup generates 2 headers.
(1) The header of the media set
The header of the media set identifies which media set this media belongs to, as well as information such as the date of writing.

(2) The header of the backup set
The backup engine will number each backup set on the backup media. The header of the backup set contains this number information, along with other necessary information such as backup type (full backup, differential backup, etc.), backup start time, backup stop time, and so on.



This article is from the "SQL Server Administrator's Guide" blog, declined reprint!

12.2 Backup Sets

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.