Second-stage-recycle-bin-quota: Stsadm properties (Office SharePoint Server)
Applies To: Office SharePoint Server 2007
This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.
Topic Last Modified: 2015-03-09
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