MSSQL 2016: 백업 세트의 처음 부분을 읽는 중 예기치 않은 파일의 끝이 나타났습니다.

Microsoft.SQLServer.2016.Unexpected_end_of_file_while_reading_beginning_of_backup_set_1_5_Rule (Rule)

FROM 절에 지정된 백업 파일의 일부를 읽을 수 없기 때문에 RESTORE 작업이 실패했습니다. 이 오류는 일반적으로 지정된 파일이 SQL Server 7.0 이전 백업이거나 파일이 손상되었음을 나타냅니다.

Knowledge Base article:

요약

FROM 절에 지정된 백업 파일의 일부를 읽을 수 없기 때문에 RESTORE 작업이 실패했습니다. 이 오류는 일반적으로 지정된 파일이 SQL Server 7.0 이전 백업이거나 파일이 손상되었음을 나타냅니다.

해결 방법

RESTORE 작업에 지정된 파일이 SQL Server 7.0 이상의 유효한 백업인지 확인합니다.

백업 파일이 손상되었거나 불완전하지 않은지 확인합니다.

재정의 가능한 매개 변수

이름

설명

기본값

사용

워크플로를 사용하거나 사용하지 않도록 설정합니다.

우선 순위

알림 우선 순위를 정의합니다.

1

심각도

알림 심각도를 정의합니다.

1

Element properties:

TargetMicrosoft.SQLServer.2016.DBEngine
CategoryEventCollection
EnabledTrue
Event_ID3208
Event Source$Target/Property[Type="SQL2016Core!Microsoft.SQLServer.2016.DBEngine"]/ServiceName$
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
MSSQL 2016: 백업 세트의 처음 부분을 읽는 중 예기치 않은 파일의 끝이 나타났습니다.
{0}
Event LogApplication
CommentMom2016ID='{91D7CD52-12CB-4D8A-BE5E-DF199CD565B8}';MOM2016GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}

Member Modules:

ID Module Type TypeId RunAs 
_F6DA1507_12AF_11D3_AB21_00A0C98620CE_ DataSource Microsoft.Windows.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SQLServer.2016.Unexpected_end_of_file_while_reading_beginning_of_backup_set_1_5_Rule" Target="SQL2016Core!Microsoft.SQLServer.2016.DBEngine" Enabled="true" ConfirmDelivery="true" Remotable="true" Comment="Mom2016ID='{91D7CD52-12CB-4D8A-BE5E-DF199CD565B8}';MOM2016GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="_F6DA1507_12AF_11D3_AB21_00A0C98620CE_" Comment="{F6DA1507-12AF-11D3-AB21-00A0C98620CE}" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="SQL2016Core!Microsoft.SQLServer.2016.DBEngine"]/ServiceName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>3208</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SQLServer.2016.Unexpected_end_of_file_while_reading_beginning_of_backup_set_1_5_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>Event ID: $Data/EventDisplayNumber$. $Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>