SharePoint 2010 – Default MySite Quota’s

 

PROBLEM !!! – What Problem

I am using SharePoint 2010 server.

I tried to uploaded documents to SharePoint my site Shared Document Library, and got the following error,

Your changes could not be saved because this SharePoint Web site has exceeded the storage quota limit.
You must save your work to another location.  Contact your administrator to change the quota limits for the Web site

I run SharePoint Central Administration Tool, selected the web application from the dropdown listbox,  I changed the Quota limit, created Quota template, assigned the new Quota template. But no matter what I did, It seems the quota did not changed

When I go back to my site I still getting the above error. Anyone can tell me what I did wrong?

Fortunately there is a FREE and very useful tool from CodePlex that will take the pain away from managing Quotas on Mysite….. the tool looks like this:

image

Application for change user profile site disk quota, if you have too much my site web.

Because SharePoint implicitly cannot change my site quota templates for all my site web at once, you can use this applications.

This project is beta version. You can read more on this blogs.

There are three requirements before you publish:

– Run only on server with SharePoint Portal Server 2007 / 2010
– Run under SharePoint Farm system account

To Download the tools go to the following link: http://spmysitequota.codeplex.com/

or if you like the STSADM tool try the following command:

stsadm -o gl-syncquotas -scope webapplication -url http://mysites -quota “Personal Site” –setquota

Exporting and Importing site, library or list using STSADM SharePoint Administration tool

 

STSADM is a SharePoint administrative tool which generally resides in the  “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN” folder within the SharePoint 2007 environment and in the “C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN” folder in a SharePoint 2010 environment.

This tool is to be run on the same server of SharePoint by people who are member of Administrators group. In this section we are going to see how this tool can be used to export a site, library or list and import it back when required. These are the general command formats to export a site, library or list and import it back:

stsadm -o Export -URL -Filename -Quiet -Overwrite
stsadm -o Import -URL -Filename -Quiet

The Overwrite switch is required to overwrite a file if it is already existing on the specified location during an export operation whereas the Quiet switch is used to suppress the detail messages generated on the screen during the command execution. Similar to PowerShell cmdlets, you can specify the parameters for including security related detail and all the versions of the documents or lists with the STSADM tool as well. To learn about complete syntax, click here.

The first command, given below, will export the contents of all sites of the specified site collection.

The second command will export the contents of the specified site only.

TThe third command will export the content of the Shared Documents library of the specified site.

stsadm -o Export -URL http://mktaraliw2k8r2:8081 -Filename \\MKTARALIW2K8R2\SharePointBackupFolder\STAllSites.cmp -Overwrite -Quiet
stsadm -o Export -URL http://mktaraliw2k8r2:8081/hr -Filename \\MKTARALIW2K8R2\SharePointBackupFolder\STHRSite.cmp -Overwrite -Quiet
stsadm -o Export -URL “http://mktaraliw2k8r2:8081/hr/Shared Documents” -Filename \\MKTARALIW2K8R2\SharePointBackupFolder\STSharedDocuments.cmp -Overwrite -Quiet

The first command, given below, will import contents of all sites available in the exported file to the specified site collection.

The second command will import the contents to the specified site, and in this case the site must exist and the contents will be overwritten.

The third command will import the content to the specified site and document library, in this case the contents of the specified library will be overwritten.

stsadm -o Import -URL http://mktaraliw2k8r2:8081 -Filename \\MKTARALIW2K8R2\SharePointBackupFolder\STAllSites.cmp -Quiet
stsadm -o Import -URL http://mktaraliw2k8r2:8081/hr -Filename \\MKTARALIW2K8R2\SharePointBackupFolder\STHRSite.cmp -Quiet
stsadm -o Import -URL “http://mktaraliw2k8r2:8081/hr” -Filename \\MKTARALIW2K8R2\SharePointBackupFolder\STSharedDocuments.cmp -Quiet

Notes
  • While you can still use the old STSADM tool to perform content export and import, it is recommended not to use this tool (unless you are forced to use it for backward compatibility) as this tool has been deprecated and provided in SharePoint 2010 only for backward compatibility.
  • The SharePoint 2010 Central Administration UI provides a way to export a site, library or list but not for importing it back. You need to use PowerShell cmdlets or old STSADM tool for importing it back.
  • A log file gets created after an export and import operation (with this name : .export during export and .import during import), which contains all the details about the operation execution.
  • The granular backup/export and restore/import operations are more processing and read-intensive, as it uses Transact-SQL queries as opposed to farm backup.
  • If your SQL Server version supports database snapshot (Enterprise and Developer editions) , it is recommended to use UseSqlSnapshot parameter with Export-SPWeb command for a more consistent backup.
  • Workflows are not included when we export/import contents of sites, libraries, or lists.