I am running sql server 2005 on a server dedicated to hosting a couple of rather large databases.
I have setup a maintenance plan that runs nightly, and among other things does a full backup of all databases (through the backup database task).
Everything was running fine until i added a snapshot of one of the user databases. Now I get the following error:Executing the query "DBCC CHECKDB WITH NO_INFOMSGS
" failed with the following error: "A database snapshot cannot be created because it failed to start.
Write to sparse file 'C:\\Program Files\\Microsoft SQL Server\\MSSQL.1\\MSSQL\\DATA\\MSDBData.mdf:MSSQL_DBCC7' failed due to lack of disk space.
The database snapshot for online checks could not be created. Either the reason is given in a previous error or one of the underlying volumes does not support sparse files or alternate streams. Attempting to get exclusive access to run checks offline.
The database could not be exclusively locked to perform the operation.
Check statement aborted. The database could not be checked as a database snapshot could not be created and the database or table could not be locked. See Books Online for details of when this behavior is expected and what workarounds exist. Also see previous errors for more details.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
Firstly, are snapshots included in the "All Databases" option of the backup databases task. And if so, is the only way to exclude them to use a custom T-SQL task instead of a backup database task?
Any help would be much appreciated