Tuesday, 7 June 2011

SharePoint Site Locked (Read Only Mode) after backup


We have our backup script which execute off hours every day. But we start facing the problem as the database site grows as after backup site remains in the read only mode.

There are two ways to back to normal way the site:

Follow the following url 

Central Administration > Application Management > Site Collection Quotas and Locks And select the in Site 

Lock Information  select the “Not locked” option and click OK.

Other is using stsadm command which we have insert just end of the backup command :

stsadm -o  setsitelock -url "http://yourweb" -lock none

stsadm option in the command prompt :