Second-stage-recycle-bin-quota: Stsadm property (Windows SharePoint Services)
Updated: November 8, 2007
Applies To: Windows SharePoint Services 3.0
Topic Last Modified: 2007-11-06
Specifies how much hard disk space is available to a second stage Recycle Bin as a percentage of the quota allotted to the Web application.
For example, if you have allotted 200 megabytes (MB) of hard disk space for the Web application, allotting 50 percent quota for the second stage Recycle Bin allots 100 MB for the second stage Recycle Bin and 300 MB for the Web application as a whole.
By default, a second stage Recycle Bin stores items that are deleted from a Recycle Bin. The administrator of the site collection manages this second stage Recycle Bin.
This property is equivalent to the Add __ percent of live site quota for second stage deleted items user interface setting that is located on the Web Application General Settings page of the SharePoint Central Administration Web site.
The syntax for the setproperty operation is:
stsadm -o setproperty
-propertyvalue <Numeric value indicating a percentage>
The syntax for the getproperty operation is:
stsadm -o getproperty
|You can substitute -pn for -propertyname and -pv for -propertyvalue.|
The following table shows possible values.
Gets or sets the name of the property.
The quota amount expressed as a percentage. The default value is 50 percent.
Typically, a path to the URL of the Web application, in the form http://server_name.
To increase the quota amount for the second stage Recycle Bin to 60 percent, use the following syntax:
stsadm -o setproperty -pn second-stage-recycle-bin-quota -pv 60 -url http://server_name
To view the current setting of the second-stage-recycle-bin property, use the following syntax:
stsadm -o getproperty -pn second-stage-recycle-bin-quota -url http://server_name