A Configuration Manager 2007 backup doesn't backup the database files even though the backup logs show that it was successful

Article ID: 2733915 - View products that this article applies to.
Expand all | Collapse all

Symptoms

A scheduled Configuration Manager 2007 backup runs and appears to complete but the database files are not present in the backup location. There are no errors logged in the smsbkup.log or the smssqlbkup.log and they both show that the backup was successful.

Cause

This can occur if the database was attached in SQL using lower case characters for the database name. Note that this issue happens only when the database was first detached and then reattached again using the lower case database name.

Resolution

Follow the steps mentioned below to properly detach the database and attach it back with an upper case name.

1. On the Configuration Manager site server, stop the following services:

SMS_Executive
SMS_Site_Backup
SMS_Site_Component_Manager
SMS_Site_VSS_Writer
SMS Agent Host (on the server where the management point for that site is installed)

2. On the SQL Server stop the following service:

SMS_Site_SQL_Backup_(siteservername)
 
3. Perform the following SQL commands or manually right-click and choose the Tasks->Detach option.

USE master;
GO
EXEC sp_detach_db @dbname = '<DB Name>';
GO

4. Attach the database either using the SQL commands below or manually by using the Databases->Attach option. If you're doing it manually, make sure that the Attach As column has the correct DB name in upper case.

USE master;
GO
CREATE DATABASE <DB Name in upper case>
    ON (FILENAME = '<SQL DB file path>\<db>.mdf'),
    (FILENAME = '<SQL DB log file path>\<db>.ldf')
    FOR ATTACH;
GO

4. Restart the services on the SQL server and the Configuration Manager server.

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2733915 - Last Review: July 25, 2012 - Revision: 2.0
Applies to
  • Microsoft System Center Configuration Manager 2007
  • Microsoft System Center Configuration Manager 2007 Service Pack 2
  • Microsoft System Center Configuration Manager 2007 Service Pack 1
Keywords: 
kbsmsbackuprecovery kbsccm kbtshoot kbbug kbfix KB2733915

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com