Share via


Updatequota: Stsadm operation (Windows SharePoint Services)

Applies To: Windows SharePoint Services 3.0

 

Topic Last Modified: 2009-08-25

Operation name: Updatequota

Enables an administrator to perform bulk updates to quota limits on a site collection. For additional information about quota limits, see Remarks.

Note

This operation was introduced in SharePoint Administration Toolkit version 4.0.

Syntax

stsadm -o updatequota

**   -quotaname <quotaTemplateName>**

**\[-contentdb \<contentDB\>\]**

**\[-nologfile\]**

**\[-quiet\]**

Parameters

Parameter name

Value

Required?

Description

quotaname

A valid quota template name

Yes

Updates all site collections that are specified with this quota template name.

contentdb

A valid name of a content database

No

Specifies the name of the content database where specific site collections are located.

If this parameter is not specified, then all site collections in the farm are updated.

nologfile

<none>

No

Specifies that no log file is created when quotas are updated.

By default, a log file is created.

quiet

<none>

No

Indicates that update status information is not displayed in the command-line window. However, error and warning messages are always displayed in the command-line window.

Remarks

In the current version of SharePoint Products and Technologies, once a quota limit is applied to a site collection, the only way to change the limit is to manually update the quota limit for each site collection or write custom code. The updatequota operation does not have any parameters to globally set a quota limit change (that is, from 2 GB to 5 GB). The quota limit change is set by an administrator by using Central Administration Web site. Once the limit change is set, you then use the updatequota operation to apply the change to the specific site collections.

For example, you have a quota template named “Global” with a quota limit of 2 gigabyte (GB) that has been applied to 2,000 site collections. Currently, there is no automated way to modify existing site collections with this value. With the updatequota stsadm operation, the quota limit for all exisiting site collections using the Global quota template can be automatically increased or decreased as needed.

Note

The updatequota operation supports continuance. That is, if the operation is halted for any reason, it will start where it left off.

Examples

For the following examples, it is assumed that the quota limits, quota template named “Global”, and a content database named “WSS_Content_DB” are manually configured by using the Central Administration Web site.

To update multiple site collections with a quota limit change from 2 GB to 10 GB using the template name “Global”, use the following syntax:

stsadm –o updatequota –quotaname Global

To update multiple site collections in a specific content database with a quota limit change from 2 GB to 10 GB using the template name “Global”, use the following syntax:

stsadm –o updatequota –quotaname Global –contentdb WSS_Content_DB