Merge MOSS (Sharepoint) 2007 Content DBs Using STSADM
STSADM rocks my world sometimes. MERGECONTENTDBS is no different.
Permits a site collection to be moved from one content database to another when the sourcedatabasename and destinationdatabasename parameters are specified.
The source and destination databases must be in the same Microsoft SQL Server instance and must be attached to the same Web application. For optimal performance, move no more than 250 site collections at a time. Moving more site collections at a time can greatly diminish performance.
Important: Before you perform the Stsadm mergecontentdbs operation, you must have available free space that is at least three times the size of the source site collection.
Use the Enumsites: Stsadm operation (Windows SharePoint Services) [ http://technet.microsoft.com/en-us/library/cc288252.aspx ] to determine the size of the site collection.
Important: In order to move a site collection from one database to another, you must be a member of both the Farm Administrators group and the Local Administrators group, and must have the Full Control permission granted for any site collection that needs to be moved. To grant this permission, in Central Administration, click Application management, and then Application Security, and then Policy for Web application. The account that you use to perform this procedure must be a member of the db_owner fixed database role in SQL Server.
After the site has been moved successfully, remove or change your account permission level by using the Policy for Web Application page. If your account is used for other services, reset it to the original permission level.
If you do not have the correct permissions to perform the operation, you will receive the following error message: “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.”
After the move is complete, you must run the iisreset /noforce command on each of the front-end Web servers in your farm. If a large amount of data has been moved, you may want to shrink the Microsoft SQL databases and transaction logs. For further information on shrinking databases in SQL, see How to: Shrink a Database (SQL Server Management Studio) [ http://go.microsoft.com/fwlink/?LinkId=102959&clcid=0x409 ] (http://go.microsoft.com/fwlink/?LinkId=102959&clcid=0x409).
Note: The mergecontentdbs operation was first introduced in Windows SharePoint Services 3.0 Service Pack 1.
I believe in the power of positive thinking and learning from the strengths and weaknesses from loving our enemies and friends alike. Thought-leader in the business-intelligence realm, strong believer in the value and power of social networking both personally and professionally. In the office, I am focused on the 60,000 foot strategic view yet have a keen ability to execute quickly without sacrificing on quality, even when "amongst the weeds"...translated: I am willing to get my hands dirty to get the job done and am always up to the challenge of the "bigger picture".
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home