Export (0) Print
Expand All
8 out of 23 rated this helpful - Rate this topic

Sync: Stsadm operation (Office SharePoint Server)

SharePoint 2007

Updated: March 22, 2007

Applies To: Office SharePoint Server 2007

Updated: 2007-03-22

Operation name: Sync

Configures the Windows SharePoint Services 3.0 synchronization job. Normally, this operation is used in conjunction with the preparetomove operation.

Syntax

stsadm -o sync

   -excludewebapps <Web applications>

   -synctiming <schedule>

   -sweeptiming <schedule>

   -listolddatabases <days>

   -deleteolddatabases <days>

Parameters

Parameter Value Required? Description

excludewebapps

A valid URL, such as "http://server_name"

Yes

Comma-delimited list of Web application URLs to exclude from consideration in the synchronization process. The values specified delete any existing values set.

synctiming

Yes

Sets the schedule for the main synchronization job. "M" denotes every n minutes (for example, “m:5” means every 5 minutes). "H" denotes every n hours (for example, “h:1” means every 1 hour). "D" denotes the number of times per day (for example, “D:3” means three times per day).

The default is once per hour.

NoteNote:

You can use the SPSchedule.FromString() string method to pass in the strings, “every 5 minutes” or “weekly xxxxxxx”. For additional information about the SPSchedule.FromString method, see SPSchedule.FromString method (http://go.microsoft.com/fwlink/?LinkId=85966&clcid=0x409).

sweeptiming

A valid time value in the form of minutes, such as "1"

Yes

Performs the same tasks as the synctiming parameter. However, the sweeptiming parameter sets the schedule for the “sweep” job. The sweep job is driven by the Windows SharePoint Services 3.0 change log and is used as a lightweight way to capture new users added. For example, you might have a fully synchronized site, but then a user is added to the site. The sweep job ensures that the incremental newly added user gets the user profile properties replicated quickly.

The default value is every 1 minute.

listolddatabases

A valid number of days, such as "2"

Yes

Lists content databases that have not been synchronized since n days. The presumption is that they have been deleted or moved.

deleteolddatabases

A valid number of days

Yes

Performs the same operation as the listolddatabases parameter, except it deletes old records corresponding to these databases. It does not delete the databases themselves.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.