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.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 DB Restore Failing. Not Enough Space
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

albertkohl
Aged Yak Warrior

USA
740 Posts

Posted - 08/13/2012 :  00:27:50  Show Profile  Visit albertkohl's Homepage  Reply with Quote
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

USA
740 Posts

Posted - 08/13/2012 :  00:54:16  Show Profile  Visit albertkohl's Homepage  Reply with Quote
nevermind, i overlooked the restore statement.
Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2179 Posts

Posted - 08/13/2012 :  01:43:05  Show Profile  Visit jackv's Homepage  Reply with Quote
Have looked at RESTORE with MOVE?

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

prett
Posting Yak Master

USA
212 Posts

Posted - 08/21/2012 :  23:38:07  Show Profile  Visit prett's Homepage  Reply with Quote
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 - 10/26/2014 :  14:01:49  Show Profile  Reply with Quote
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 Posts

Posted - 12/02/2014 :  10:54:49  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2019 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000