In SharePoint 2007 you’d use stsadm, but it’s much easier in 2010 when you flex your PowerShell skills. Here’s the commands and an example for backing up and restoring your site collections with PowerShell.
Backup-SPSite -Identity <Site collection name> -Path <backup file> [-Force] [-NoSiteLock] [-UseSqlSnapshot] [-Verbose]
restore-spsite -identity http://contosoweb -path \\server\backupshare\backupfile.bak
<img src="http://www.associmg.com/assoc/uk/home_multi.gif?tag-id=onlserandshai-21" border="0" alt="In Association with Amazon.co.uk"> </a>
Office Web Apps SharePoint 2010 error: Word Web App cannot open this document due to an unknown error. If the problem persists, try opening the file in Microsoft Word.
After installing Micrsooft Office Web Apps and then deactivating it, users have been reporting problem when attempting to open Word documents. Users would generally receive the following error message: “Word Web App cannot open this document due to an unknown error. If the problem persists, try opening the file in Microsoft Word.”
There are two features that need to be activated and deactivated at the Site Collection level.
1. Ensure Office Web Apps is deactivated.
2. Ensure that Open Documents in Client Applications by Default has been activated.
You should now be able to access content through the client applications by default.
A user with permissions to be able to create items may find the ‘New’ menu missing from documents and libraries. The reason is that the backup process temporarily sets each site to read-only and should revert this once completed. Occassionaly a site can be left read-only.
First check whether the backup is still running. Check for a completed backup e-mail in the SharePoint.Project mailbox. If one has not been received the backup is still running.
If the backup has completed then the site collection lock status can be checked by logging onto one of the farm’s servers and running the following from a command prompt.
stsadm -o getsitelock -url http://<fullsiteurl>
If the site is read-only it can be reset by running the following from a command prompt:
stsadm -o setsitelock -url http://<fullsiteurl> -lock none
Ever wanted to analyse your hard drive quickly to identify where your disk space has gone, here’s a great free tool that can help you do just that: