Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
| Search | Today's Posts | Mark Forums Read
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 29th, 2004, 07:05 AM
Registered User
Join Date: Sep 2004
Location: Lahore, Punjab, Pakistan.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to restore single file group

Dear All,

I am using SQL server database consist of multiple .NDF files. I want to take a backup of single file group because one single file group contains approx 50 GB data and I have more 15 .NDF files.

Now problem is that when I take a backup of single file group and want to restore on a same existing database I filed to do so.

Anybody have an idea about this how to accomplish this whole work?

Old September 29th, 2004, 11:25 PM
Friend of Wrox
Join Date: Sep 2004
Location: New Delhi, Dekhi, India.
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Anantsharma Send a message via Yahoo to Anantsharma


Friend, its a big topic to discuss practically. Many thiungs to keep in mind and to be varified specially in case of File groups.

First I like to say that you must restore all the T-Log files recent than the data files u r restoring.

If u r using Enterprise manager to restore then, u have to carefully check the check box saying "Select a subset of backup sets" and then read and cofigure other properties well. Click the Selecttion Criteria button just after the check box and there u can select the Files and filegroups in more filtered manner. Be sure to restote the Filegropu backup with NO RECOVERY. Cos u will have to apply T-Logs also. (Choose 2nd option of three displayed). Whe u r sure that no further Log are left, then Last Log file must be restored With RECOVERY (First option).

If u r using T-SQL then I hope u can find the Syntax in Books Online easily. Further considerations are same. Here is an example.


** 2 means the secon backup set of ur backup media which hold the Tlog backup.

Good luck.

B. Anant

Similar Threads
Thread Thread Starter Forum Replies Last Post
store a single line of text from a file....how???? danielnixon General .NET 2 May 1st, 2008 12:09 PM
Listing the group from a Workgroup file lryckman Access 7 January 12th, 2008 06:43 AM
Restore file from Recycle Bin eelisMX Pro VB.NET 2002/2003 0 December 8th, 2006 09:53 AM
xsl matching with single file javaclimber XSLT 2 September 14th, 2005 12:16 AM
Multiple file input single file output.... jdm_mboy Biztalk 1 July 2nd, 2003 03:35 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.