Here are the steps to follow if you need to recover a deleted site collection from a SQL database backup. For purposes of covering various scenarios, I tried to outline related IIS and AAM configurations to be aware of during the process.
* SharePoint Central Administration > Operations > Backup and Restore
Perform a full farm backup
* SharePoint Central Administration > Application Management > Create or Extend Web Application
* Create a new Web Application
It doesn't matter what you name this database, it will be deleted in a later step
* SharePoint Central Administration > Application Management > Content Databases
You will see that the number of sites is 0 because there are no site collections associated with this web application yet
* SQL Management Studio
* Locate the content database backup which contains the site collection you would like to restore
* Restore this content database, overwriting the one you created for your new web application
Here is where you want to be concious of the name you give the restored database. I like to name the first content database for a web application WSS_WebApp_WebAppName and subsequent content databases for the web application as WSS_SiteCollection_SiteCollectionName.
* Attach the restored content database to the new web application
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN> Stsadm.exe –o addcontentdb –url http://servername –databasename databasename –databaseserver servername
* SharePoint Central Administration > Application Management > Content Databases
You will now see the content database you restored. The number of sites should be 1 if there was originally 1 site collection in that database when it was backed up.
* Navigate to the URL of the new web application. Verify that the site collection was restored and is
functioning properly
* IIS Management
Note all IIS settings for the original web application including host headers and ip addresses of the IIS web site
* SharePoint Central Administration > Operations > Alternate Access Mappings
Note all of the AAM's for the original web application
* SharePoint Central Administration > Application Management > Delete Web Application
Delete the original web application
* SharePoint Central Administration > Operations > Alternate Access Mappings
Add all of the necessary AAM's to the new web application, make sure the default AAM is fully qualified
* IIS Management
Update the IIS web site for the new web application with all necessary host headers. If the original web application had its own unique, internal ip address asssigned to it, then assign that ip address to the new web application
* Test the URLs for the restored site collection
Friday, October 19, 2007
SharePoint V3: Recover Site Collection from SQL DB Backup
Labels:
Disaster Recovery,
SharePoint,
SharePoint 3.0,
Support
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2007
(80)
-
▼
October
(11)
- SharePoint V3: Error: Shared Services Provider c...
- SharePoint V3: Patches: KB934525 (WSS V3), KB937...
- SharePoint V3: Error: Your Client Does Not Suppo...
- SharePoint V3: Recover Site Collection from SQL D...
- SharePoint V3: Stsadm.exe Backup Script
- Microsoft Download Center: 2007 Office System Doc...
- SharePoint V3: Basic Backup Plan Using Out of Box...
- SharePoint V3: 64 bit PDF iFilter
- SharePoint V3: Technique for Creating Branded Sit...
- SharePoint V3: Pros and Cons of Managing Users an...
- SharePoint V3: Out of Box Options for Backing MOS...
-
▼
October
(11)
Events / Conferences / User Groups
- AIIM Conference
- Boston Area SharePoint User Group
- Boston Azure User Group
- Collaborate
- DevConnections
- DevIntersection
- Enterprise Search Summit
- Microsoft Build
- Microsoft SharePoint Conference
- Microsoft TechEd
- New England ASP.NET Professionals User Group
- New England Oracle Applications User Group
- Oracle Applications User Group (OAUG)
- Oracle OpenWorld
- PeopleSoft Government Contractor Special Interest Group
- PeopleSoft Southern New England Users Group
- Quest International Users Group
- SharePoint Saturday
- SPTechCon
- SQL PASS
- SQL Saturday
- Startup Weekend
No comments:
Post a Comment