Export (0) Print
Expand All

Updatequota: Stsadm operation (Office SharePoint Server)

Office 2007

Updated: August 27, 2009

Applies To: Office SharePoint Server 2007

 

Topic Last Modified: 2009-08-25

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

NoteNote:
This operation was introduced in SharePoint Administration Toolkit version 4.0.

stsadm -o updatequota

   -quotaname <quotaTemplateName>

   [-contentdb <contentDB>]

   [-nologfile]

   [-quiet]

 

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.

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.

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

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft