Please start any new threads on our new site at 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
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 DB restore
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Yak Posting Veteran

84 Posts

Posted - 01/16/2013 :  11:47:21  Show Profile  Reply with Quote

A backup I am trying to restore has 1 mdf file and 85 ndf files.
The server I am trying to restore doesn't have enough space in the default location.

I can use the following to change the path. Do I have to use 85 move lines to create the script or is there way I can specify one place for all ndf files?

Thanks for your help!

restore database DB
from disk='D:\Folder\DBBACK_0917.bak' 
replace, recovery, stats=5, maxtransfersize=1048576

Flowing Fount of Yak Knowledge

7174 Posts

Posted - 01/16/2013 :  21:38:49  Show Profile  Reply with Quote
You can dynamically point it to same drive.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000