Article ID: 192952 - Last Review: March 14, 2006 - Revision: 5.0

FIX: Database Dumps May Be Overwritable Despite Options

This article was previously published under Q192952
BUG #: 17458 (SQLBUG_65)
Expand all | Collapse all

SYMPTOMS

The DUMP statement has two options, EXPIREDATE and RETAINDAYS, that are intended to prevent database or transaction log dumps from being overwritten when a DUMP statement with the INIT option is subsequently used. However, these options do not work properly when the date specified is after December 31, 1999.

WORKAROUND

To work around this problem, after dumping your database or transaction log, copy the dump file to another location.

STATUS

Microsoft has confirmed this to be a problem in SQL Server 6.5. This problem has been corrected in Service Pack 5a for Microsoft SQL Server 6.5.For more information, click the following article number to view the article in the Microsoft Knowledge Base:
197177  (http://support.microsoft.com/kb/197177/ ) INF: How to Obtain SQL Server 6.5 Service Pack 5a
For more information, contact your primary support provider.

MORE INFORMATION

The symptoms described in this article can affect either tape or disk dumps.

The dump header information (either tape or disk) has a field reserved for ExpireDate. This date is set by using either the EXPIREDATE or RETAINDAYS dump options. When the date is later than December 31, 1999, the ExpireDate field is set to NULL, thus permitting subsequent DUMP statements (with INIT) to be allowed.

The ExpireDate field can be examined on any dump file with the LOAD HEADERONLY command.

For the syntax and further explanation of the DUMP statement and the EXPIREDATE and RETAINDAYS options, please see the SQL Server Books Online.

APPLIES TO
  • Microsoft SQL Server 6.5 Enterprise Edition
  • Microsoft SQL Server 6.5 Standard Edition
Keywords: 
kbbug kbfix kbsqlserv650sp5fix KB192952
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations