Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 restore faild

Author  Topic 

mzainaldeen
Starting Member

1 Post

Posted - 2008-10-06 : 04:10:42
I am trying to restore using one of my .bak file and the restore failed.
Sql server report this:
System.Data.SqlClient.SqlError: There is insufficient free space on disk volume 'C:\' to create the database. The database requires 10462641600 additional free bytes, while only 5003348143 bytes are available. (Microsoft.SqlServer.Smo)
than i restore the database to a system with more disk space the problem still.
Any help will be much appreciated.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-10-06 : 04:25:00
http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=3230376&SiteID=17
http://seer.support.veritas.com/docs/262416.htm
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-10-06 : 10:00:40
you need to change your location of MDf and LDf file while restoring.
Go to Top of Page

james_wells
Yak Posting Veteran

55 Posts

Posted - 2008-10-06 : 16:35:34
example on how to restore to a different location

use master;
restore filelistonly
from disk = 'backup_drive:backup_path\backup_name'

displays the logical name and path\name of the database
files when they were backed up

use master;
restore database DATABASE_NAME
from disk = 'backup_drive:backup_path\backup_name'
with
move 'DATA_FILE_NAME' TO 'new_drive:new_path\data_file_name' ,
move 'LOG_FILE_NAME' TO 'new_drive:new_path\log_file_name'


Go to Top of Page
   

- Advertisement -