Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

How can I achieve the following scenario:

  • General users are unable to delete sites.
  • Site/Site Collection backup needs to be taken before it's deleted by admin users anywhere in the sharepoint web farm.
share|improve this question

4 Answers 4

up vote 1 down vote accepted

For site/site collection backups, you could try hooking into the WebDeleting and SiteDeleting event receivers and take the backups before it is deleted.

share|improve this answer
    
This sounds like a good approach, just wondering if we can get some clarification or examples on what this solution would look like (or how it was implemented) as it's marked as the answer. –  shufler Nov 14 '11 at 21:20

Only those users with elevated privileges of the Owners group or Site Collection Administrators can even see the Site Actions menu to delete, but for those users you can implement the following CodePlex project from Microsoft to take a 'Recycle Bin' snapshot of the site for posterity.

This will cover Site deleting. For Site Collections you would want to look to either 3rd party tools or creating a C#/Powershell daily or weekly snapshot solution.

share|improve this answer

Users can perform site backups using SharePoint Designer. This is only for SP2007, though. SPD no longer supports site backups in SP2010.

share|improve this answer

You can always save the Site coll as template using Site Settings > Site Actions > Save site as a template. Choose to include the content. Then go to the Solution gallery and save the template to disk. This is a WSP file that can be uploaded to another Solution gallery to recreate the site or deassembled using Visual Studio.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.