Article ID: 939035 - Last Review: June 25, 2008 - Revision: 3.0 A new operation has been added to the Stsadm.exe tool to repartition a site collection of a Windows SharePoint Services 3.0 content databaseOn This PageINTRODUCTIONMicrosoft Windows SharePoint Services 3.0 includes the
Stsadm.exe tool for command-line administration of Windows SharePoint Services
servers and sites. We have added a new operation that you can use to
repartition a site collection in a content database. MORE INFORMATIONTo obtain this new operation, apply hotfix 939188. Then, use
the mergecontentdbs operation to repartition a site collection in a content database.
How to obtain the hotfixFor more information about hotfix 939188, click the following article number to view the article in the Microsoft Knowledge Base:939188
(http://support.microsoft.com/kb/939188/
)
Description of the Windows SharePoint Services 3.0 hotfix package: June 24, 2007
How to use the mergecontentdbs operationTo repartition a site collection in a content database, use the following syntax for the mergecontentdbs operation at a command prompt:stsadm.exe -o mergecontentdbs -url <url> -sourcedatabase <source database name> -destinationdatabasename <destination database name> [-operation <1, 2, or 3>] [-filename <file name that is saved from the stsadm -o enumsites operation>] Note The following table lists the values for the operation parameter.
Collapse this table
stsadm.exe -o mergecontentdbs -url "http://site collection URL" -sourcedatabase "source database name" -destinationdatabasename "destination database name" [-operation "1"] [-filename "file name"] Additional informationA new -databasename <databasename> parameter has been added to the Enumsites operation.For more information about the Enumsites operation, visit the following Microsoft Web site: http://technet2.microsoft.com/windowsserver/WSS/en/library/8f37f18d-81fc-4897-b3bd-c490e7fae0b71033.mspx
(http://technet2.microsoft.com/windowsserver/WSS/en/library/8f37f18d-81fc-4897-b3bd-c490e7fae0b71033.mspx)
For more information about the Stsadm.exe command-line tool,
visit the following Microsoft Web site: http://technet2.microsoft.com/windowsserver/WSS/en/library/f9f9a3eb-ce46-4dbb-a15c-9fad9eb32ec71033.mspx
(http://technet2.microsoft.com/windowsserver/WSS/en/library/f9f9a3eb-ce46-4dbb-a15c-9fad9eb32ec71033.mspx)
To
make sure that you have the correct permissions to repartition site
collections, temporarily grant yourself Full Control permissions in "Policy for
Web Application." Additionally, make sure that your account is a box administrator on the server that is running Microsoft SQL Server, or make sure that your account is granted the Database Owner fixed database role for all SharePoint products and technologies databases. To do this, follow these steps:
Moving sites... Another site already exists at
/sites/test. Delete this site before attempting to create a new site with the
same URL, choose a new URL, or create a new inclusion at the path you
originally specified.
| Article Translations
|

Back to the top
