Export (0) Print
Expand All

Job-gradual-site-deletion: Stsadm property (Windows SharePoint Services)

Office 2007

Updated: May 14, 2009

Applies To: Windows SharePoint Services 3.0

 

Topic Last Modified: 2009-04-27

Lets a site collection be marked as deleted, which immediately prevents any further access to its content.

Added in the April Cumulative Update to perform gradual deletion of site collections. When an operation uses gradual deletion, a site collection is immediately marked as deleted, which prevents any further access to its content. The data in the deleted site collection is then deleted gradually over time by this timer job instead of all at once, which reduces its effect on Windows SharePoint Services 3.0 and SQL Server performance. Gradual deletion is available in the Deletesite: Stsadm operation (Windows SharePoint Services) and Mergecontentdbs: Stsadm operation (Windows SharePoint Services) operations.

stsadm -o setproperty

   -propertyname job-gradual-site-deletion

   -propertyvalue <valid date and time interval>

   [-url <http://server_name>]

The syntax for the getproperty operation is:

stsadm -o getproperty

   propertyname job-gradual-site-deletion

   [-url <http://server_name>]

NoteNote:
You can substitute -pn for -propertyname and -pv for -propertyvalue.

The following table shows possible values.

 

Value Description

propertyname

Gets or sets the name of the property.

propertyvalue

A valid Windows SharePoint Services Timer service (SPTimer) schedule in the form of any one of the following schedules:

  • "Every 5 minutes between 0 and 59"

  • "Hourly between 0 and 59"

  • "Daily at 15:00:00"

  • "Weekly between Fri 22:00:00 and Sun 06:00:00"

  • "Monthly at 15 15:00:00"

  • "Yearly at Jan 1 15:00:00"

url

Typically, a path to the URL of the Web application, in the form http://server_name.

To set the schedule of a site collection deletion for the Web application http://test, use the following syntax:

stsadm -o setproperty -pn job-gradual-site-deletion -pv "daily at 15:00:00" -url http://test

To view the current setting of the job-gradual-site-deletion property, use the following syntax:

stsadm -o getproperty -pn job-gradual-site-deletion

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