Ben Curry - CISSP, SharePoint Server MVP

All MindsharpBlogs

http://www.microsoft.com/mspress/books/10623.aspx

My Links

Archives

Image Galleries

Blog Stats

Favorite SharePoint Books

My Favorite Blogs

Partially Restore Sites

Haven't blogged in a while... did you miss me?

I was working with a customer a while back that had several hundred various objects deleted from a Site (site1). Their question was “Can I restore only the objects that were deleted”. They were told 'no' by their local admins. No fault of theirs, but let me show you how this is accomplished:

1. Restore the content database, to an alternate farm,that hosted the before-mentioned site collection. if you don't know, this can be found from Central Administration, Application Management, Site Collection List.

2. Browse to http://alternatewebapp/sites/sitecollection1

3. From the command line, stsadm.exe -o export -url http://alternatewebapp/sites/site1 -filename c:\filename.bak -includeusersecurity -versions 4

3a. If you haven't already done so, you need to run an stsadm.exe -o setproperty -pn max-template-document-size -pv 500000 to raise the default max size from 10MB.

4. Copy the backup file from step 3. to your production server

5. stsadm.exe -o import -url http://productionwebapp/sites/site1 -filename c:\filename.bak -includeusersecurity -updateversions 3

The '3' could be replaced with any of the following:

-updateversions
     1 - Add new versions to the current file (default)
     2 - Overwrite the file and all its versions (delete then insert)
     3 - Ignore the file if it exists on the destination]

Good luck!

 

Ben Curry

http://mindsharpblogs.com/ben

posted on Monday, September 10, 2007 2:15 PM

Feedback

No comments posted yet.
Title  
Name  
Url
CAPTCHA
Protected by Clearscreen.SharpHIPEnter the code you see:
Comments