SharePoint 2010 Service Pack 1 introduced several exciting features, including the long-waited-for site recycle bin. This allows you to restore a deleted site within 30 days (default setting that can be changed) after deletion. The functionality is available to site collection administrators and can be huge relief for organizations where users tend to spend too much effort on keeping the site hierarchies “neat” and deleting everything that seems to be “not important any more”.

However, there is a gotcha you should be aware of if you rely on this functionality. The issue is already fixed in August 2011 Cumulative Update Package, but I thought I would share the info, since I could not find any KB describing it. Here you go:

Issue. A list cannot be restored from recycle bin after the parent site is deleted and restored from SharePoint SP1 site collection recycle bin.

Details. A list or document library is deleted in a SharePoint 2010 SP1 site and is available in the user recycle bin. The parent site itself is then deleted and appears in the administrator recycle bin on the site collection level. After you restore the site from site collection administrator recycle bin, the deleted list still appears in the user recycle bin, but any attempt to restore the list fails. List contents is unavailable to users.

Steps to reproduce:

  1. Create a new site in the site collection. For example, the name is New Product Version Team Site: http://MyPortal/sites/MyProduct/NewProductVersion
  2. Create a document library in the newly created site (Project Specs) and upload several documents.
  3. Delete the newly created document library. The library appears in the user recycle bin in the New Product Version site.
  4. Delete the site. The deleted site appears in the site collection recycle bin.
  5. Restore the site from site collection recycle bin.
  6. Open the restored site and go to the user recycle bin. The document library appears there as expected.
  7. Select the document library (Project Specs) and click Restore.

Expected result: The library should be restored from Recycle Bin.

Actual result (on SharePoint 2010 Service Pack 1 without August 2011 Cumulative Update Package): Restore attempt fails with error: “A list with this name “Project Specs” already exists. To restore the list, move or rename the existing list and try again.”

In addition, deleted document library (Project Specs) unexpectedly appears in the “All Site Content” after the site restore. An attempt to open the Project Specs document library from All Site Content page fails with 404 error.

Resolution: Luckily, the SharePoint team already fixed this issue, all you need is obtain and install SharePoint 2010  August 2011 Cumulative Update Package before trying to restore the deleted site. You can find information about August CU here for SharePoint Sever and for SharePoint Foundation. I only posted this issue description for reference, since there seems to be no description of the symptoms in Microsoft Support KB articles.

Technorati Tags:

It was a very pleasant and unusual experience for me this week to speak at the SharePoint Conference Russia – 2011. The conference was awesome and the crowd was much more interested in SharePoint than I was expecting. My session was the last before conference wrap up, and we stayed for almost half hour after the session for Q&A! The biggest challenge for me – surprisingly – was to keep speaking Russian, and not switch to English completely when using all the SharePoint terminology.

Having been to a number of different industry events in the US and Europe before, I cannot help comparing this conference to some of those. As far as I can tell, SharePoint Conference Russia is very close to the SharePoint Saturdays. The event is completely driven by community, in this case – Russian SharePoint User Group, and it is completely free to attend. (Thanks to the sponsors, and I am happy that my employer participated as the sponsor as well!)

There are some differences from the few of the SharePoint Saturdays I’ve seen:
  • SPConfRu had simultaneous live stream online from all 3 concurrent sessions. Never seen this at any other SharePoint event really.
  • The food was absolutely awesome :-) I’m not complaining about the food at other events, but here it was way better than one can expect to get a free event.
  • Unlike other SharePoint Saturdays, good part of the attendees were seriously looking people in good suits – IT directors and CIO’s, not a typical attendee for a free event. I think this shows there is a lack of (and the need for) SharePoint-centric events targeted more at the business users and IT decision makers in Russia. There are no SPTechCon or SharePoint Best Practices here.
  • Finally, the event was on Monday – so they had to call it SharePoint Conference instead of SharePoint Saturday :-)

So once again I’d like to say thank you to the SPConfRU organizersOksana and the team did absolutely great job, and I really look forward to more events from the user group in Russia.

BTW, here’re the slides from my “Planning SharePoint 2010 backup and recovery – where do I start?” session

Technorati Tags:

We had a good discussion tonight with Buckeye SharePoint User Group in Columbus around how you approach backup and recovery in 2010, and how new features might or might not change your backup strategy. Here’s the slide deck from my session:

SharePoint 2010: How new features change your backup and recovery

Apparently, there’s lots of interest in SharePoint 2010 – few folks already have it running in production, some are playing with it in the labs, while others are learning. Good times, interesting to see how SharePoint landscape changes.

Technorati Tags:

Just a quick post for those of you who have been following the Quest SharePoint For All community. We have moved the site to Quest Communities home and it is now available at

I just posted my first blog entry there, a brief look back at the evolution of  SharePoint administration and the challenges Quest Site Administrator has been helping to address since its first release in 2006.

So come join Quest experts, get insights from the product teams, connect with other users and the developers of Quest SharePoint products! And don’t forget to update your blog rolls and RSS feeds.

Technorati Tags:

Two things happened almost simultaneously this morning: I got an email from someone asking what is the “good practice for backup and recovery with SharePoint 2010”, and I saw the news on release of SharePoint 2010 Disaster Recovery Guide by John Ferringer and Sean McDonough.

You can guess what was my response to that question. There is no one-size-fits-all backup and recovery strategy. There are different techniques and tools available, and the choice always depends on the Restore Time and Restore Point Objectives requested by the business and the costs of implementation. And I also sent the link to the book.

I think the new SharePoint 2010 Disaster Recovery Guide is a great read for SharePoint admins who need guidance on where to start with backup and recovery planning. Judging by the table of contents published by Sean I think the book keeps and highlights all the great insights you could find in the SharePoint 2007 version of this book I read and reviewed last year, and puts the material in the logical order to make it easier to read and understand. Congrats to John and Sean and the book release!

Technorati Tags:

When SharePoint 2010 early sneak preview was first published by the product team, one of the big wow’s were the new granular content restore capabilities, available right there in Central Administration. While this is certainly an improvement compared to earlier version of SharePoint, I still cannot call this functionality “granular content restore”. Let’s walk through the steps required to restore a document from database backup with these new capabilities.

How to Restore from Unattached Content Database, Step by Step

1. Find the backup file that contains that document you need. You’ll need to know document original location so that you can match that to the content database. You will also need to find out when the document was corrupted or deleted, so that you grab the backup file from the right date. When you have all this information you can find the reuqired backup file (or probably request it from your SQL DBA or Backup operators).

2. Restore content database to a temporary location. Backup file is not enough, to use the unattached content database recovery you need the database mounted on a SQL server. This can be the same SQL instance used by SharePoint, or a different SQL box. If you restore into the same SQL instance make sure you (or your SQL DBA’s) use a different name for the restored database and don’t override the production content! Note the name of the SQL Server instance and the name of the database copy.

3. Go to SharePoint Central Administration, navigate to Backup and Restore and click the “Recover data from an unattached content database” link under Granular Backup.

4. Type the SQL Instance and temporary database names and specify what you want to do. Note that none of the available options actually allows you to restore a document, you can either create a backup of site collection or export a site or list. If you only need a single document, you’ll need to export the library in order to get it.

5. Select site collection, site and list to export. In this step you also specify the name for the export file and the export options, such as whether security and versions should be included in the export. You are ready to start the export.

Congratulations, you have completed the Unattached Content Database Recovery now! Wait, did you actually need that document? All you have is the export.cmp file, where to look next? There is no import available in the Central Administration UI. So what do you do next?

6. Start the SharePoint Management Shell, which is PowerShell with Microsoft.SharePoint.PowerShell snap-in already loaded. Then use the Import-SPWeb cmdlet to import the library. It is important to understand you cannot restore list or library under a different name. If a document library with the same name already exists in the destination site, import will merge contents and by default create new document versions where possible.

7. Finally, browse to the imported library and get the document you just restored. Once this is done, you can safely delete the imported document library from SharePoint, and delete the temporary database from SQL server.

Pros and Contras of Unattached Content Database Recovery

If you ever had to perform granular content restore via a recovery farm in SharePoint 2003 or SharePoint 2007, you can see the process is not very different with 2010. The big step forward is that there is no need to maintain the recovery farm for SharePoint 2010 and you don’t have to attach the temporary database to the farm. You also have the UI to do the export via Central Administration.

However, that’s where improvements end and all the limitations remain:

  • You have to know exactly which backup contains the requested data, there is no search available. If you make a mistake, it is not until the very last step in the process that you find out the document you looked for is missing after the import and you have to start it all over.
  • You must use higlhy privileged account to perfrom all operations in both SQL and SharePoint, which might not be possible in some environments. Sometimes in a large organization it would take 3 different people to perform the task.
  • There is no single UI to perform the operation from the first to the last step. You have to use SQL backup management tools, SharePoint Central Administration and PowerShell, which obviously increases time to restore.
  • Granularity is limitied. You can restore a site collection, a site or a list/library.
  • Finally, all inherited limitations of SharePoint export and import apply when restoring sites and lists from unattached content database.
Technorati Tags:

Ever searched for a document or list item in SharePoint 2007 Recycle Bin with no luck? You know the document was deleted from the SharePoint site, so why does it not show up here? Here’re possible reasons for that:

  • Are you looking at the correct site? Recycle Bin in SharePoint is site-specific, a document deleted from http://myportal/sites/projects/manhattan will not appear in the top level site’s (http://myportal/sites/projects) Recycle Bin.
  • Were it you who deleted the document? Recycle Bin is not only site-specific, it is also specific for each user. Thus the Recycle Bin contents you see is limited to documents, items, lists and libraries that you’ve deleted, content deleted by other users does not show up here.
  • How long ago was it deleted?  Recycle Bin does not keep deleted items for ever. The default setting in SharePoint is to keep content in Recycle Bin for 30 days after deletion, this can be changed by the SharePoint farm administrators. When this grace period is over, items are moved to the second stage aka Site Collection Recycle Bin.

If any of the above seems to be the likely reason, the Site Collection Recycle Bin can help. To access this, you should have the site collection administrator privileges. Site Collection Recycle Bin shows all the deleted content from all sub-sites within this site collection, regardless of who deleted this data. By default it keeps the data for the same period after it was moved from the first stage Recycle Bin, or until it reaches certain percentage of the site collection’s quota.

Still there can be situations when a deleted item/document does not appear in both site and site collection Recycle Bins. The most common is when a folder or entire list or library is deleted. Recycle Bin only shows the object that has been deleted, with no ability to expand or search its contents. When looking for a document make sure you consider that possibly its parent folder or library can be showing up in the Recycle Bin instead.

Finally, there are site deletes, which are not captured by the Recycle Bin. If this is a common situation in your SharePoint, you might want to extend your deployment with the MSIT Site Delete Capture tool (available at, or looks for 3rd party granular recovery tools.

Same applies to SharePoint 2007 as well as 2010, there are no changes in how you work with the Recycle Bin in SharePoint 2010.

Some useful links and resources for planning and using the Recycle Bin in SharePoint:

Technorati Tags:

%d bloggers like this: