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)
 DB Restore Failing. Not Enough Space

Author  Topic 

albertkohl
Aged Yak Warrior

740 Posts

Posted - 2012-08-13 : 00:27:50
okay, so hopefully this is simple. i have a db i have to restore, problem is, server THINKS there's not enough space.

my server is setup like this:

C: OS
D: SQL
D:\DRIVES\DISK1
D:\DRIVES\DISK2
D:\DRIVES\DISK3

DB is spanned across disk 1/2/3. so the server is calculating free space on d:\ thinking that's the disk everything does, when in reality, the mount points are on 3 separate disks.

any way to override the free space check when restoring dbs?

albertkohl
Aged Yak Warrior

740 Posts

Posted - 2012-08-13 : 00:54:16
nevermind, i overlooked the restore statement.
Go to Top of Page

jackv
Master Smack Fu Yak Hacker

2179 Posts

Posted - 2012-08-13 : 01:43:05
Have looked at RESTORE with MOVE?

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page

prett
Posting Yak Master

212 Posts

Posted - 2012-08-21 : 23:38:07
Could you post the full text of error message here? How do you restore the database?
Go to Top of Page

adolfmitchel
Starting Member

3 Posts

Posted - 2014-10-26 : 14:01:49
Check this article, it will help you to resolve this issue:
Recovery Toolbox for SQL Server unspammed
Go to Top of Page

mari.filippusson
Starting Member

1 Post

Posted - 2014-12-02 : 10:54:49
Hello. This site has available answer for common users:
https://social.technet.microsoft.com/Forums/en-US/09743fae-9dc5-4cf9-a3f0-

876d786ecd9c/how-to-repair-mdf-file?forum=sqldataaccess
1. Click the Windows Start button, then select the following: "Programs" > "Microsoft SQL Server" > "SQL Server Management Studio." Log in to the server using the administrator username and password.
2. Right-click the database icon on the left-hand side of the SQL Server Management Studio screen. Select "Restore Database." Locate the field labeled "To Database" in the dialog box that follows. If your BAK file is being used to restore an existing database, enter the name of that database here. Enter a different name to create a new database from your BAK file.
3. Enter the location of your .bak file. Locate the field labeled "From Device" in the same dialog box. Click the corresponding drop-down menu and select the location of your BAK file. Click "OK." Your SQL Server database has been restored using your BAK file.
Go to Top of Page
   

- Advertisement -