SharePoint 2010 offers some new backup and restore features for content data. Almost anything can be backed up and restored, from the whole farm to site collections, services, and search indexes. In this article, we will take a look at how to perform recovery from an unattached content database.
How can I restore a single item or list from a SharePoint backup?
In SharePoint 2007, employing the SQL database backup is a popular method for backing up SharePoint content. It is easier to manage, and requires less administrative work than the out-of-the-box SharePoint backup/restore feature. However, if we just want to recover a single site, list, or document, the process is quite painful and inefficient in SharePoint 2007. We would need to recover the entire farm before we could get to the individual file.
SharePoint 2010 provides a new feature called Unattached Content Database Recovery. Using this method, we can browse the SQL database backup and select just the content we want to recover. Here are the steps:
Step 1: We will assume that you have performed a backup of your site. For example:
Open Microsoft SQL Server Management Studio > Right click on the content database and select Tasks > Back Up...
Enter the Backup Name, select Destination, and click OK to start.
Step 2: Now, let's restore this backup database to the SQL Server with a different name.
Open Microsoft SQL Server Management Studio > Right click on Databases and select Restore Database...
Enter the new database name. Make sure you don't overwrite the original content database. Select the Source and click OK to start.
Step 3: Go to Central Administration > Backup and Restore > Recover data from an unattached content database.
Step 4: Enter the Database Name and Authentication, and then choose Browse content.
Step 5: In this example, we will recover a Calendar list from the backup set:
Step 6: Enter the File path and click on Start Export.
Step 7: Finish export.
Step 8: The exported .cmp file can then be imported to SharePoint using the SharePoint 2010 Management Shell (which is also a new feature in SharePoint 2010) command:
Import-SPWeb -identity http://destination_sitecollection -path \\path\exported_file.cmp
The limitations of this feature are:
More Recent Articles
|Your requested content delivery powered by FeedBlitz, LLC, 9 Thoreau Way, Sudbury, MA 01776, USA. +1.978.776.9498|