Click here to Skip to main content
11,648,785 members (84,735 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: SQL2000 T-SQL
Am i trying to restore a sql server 2000 database from a .bak file with this T-SQL code:
RESTORE DATABASE SomeDB
FROM DISK = 'C:\Program Files\Microsoft SQL Server\MSSQL\BACKUP\backupFile.bak'
WITH MOVE 'db1_Data' TO 'C:\Program Files\Microsoft SQL Server\MSSQL\Data\db1_Data.MDF',
    MOVE 'db1_Log' TO 'C:\Program Files\Microsoft SQL Server\MSSQL\Data\db1_Log.LDF'
I keep receiving this error:

MODIFY FILE encountered operating system error 112(There is not enough space on the disk.) while attempting to expand the physical file.

RESTORE FILELISTONLY
FROM DISK = 'C:\Program Files\Microsoft SQL Server\MSSQL\BACKUP\F30AxleLine.bak'
tells me that the mdf has a size of 32519946240, a maxsize of 35184372080640 and the ldf has a size of 524812288 and a maxsize of 35184372080640. I currently have 180GB free space available so i do not believe this is actually a space issue.

I do not have the original mdf or the ldf files before the backup was made, so I cannot take another backup.

What am I doing wrong here?
Posted 28-Oct-12 23:26pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 F-ES Sitecore 409
1 CPallini 370
2 OriginalGriff 334
3 Kornfeld Eliyahu Peter 324
4 Sergey Alexandrovich Kryukov 254
0 OriginalGriff 1,512
1 Sergey Alexandrovich Kryukov 1,022
2 jyo.net 994
3 DamithSL 986
4 CPallini 945


Advertise | Privacy | Mobile
Web01 | 2.8.150804.4 | Last Updated 29 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100