In SharePoint 2007 è possibile spostare più site collection da un database ad un altro.
Lo spostamento si esegue tramite il comando stsadm con il parametro mergecontentdbs.

Per prima cosa dobbiamo avere un file xml con l'elenco delle site collection da spostare:
DOS / Batch file
STSADM.EXE -o enumsites -url http://sharepoint2007 > sitetomove.xml

poi va editato il file con notepad (o altro editor xml) per rimuovere tutti i siti che NON vogliamo spostare, rimarranno solo quelli da spostare.

Successivamente si può eseguire lo spostamento:
DOS / Batch file
STSADM.EXE -o mergecontentdbs -url http://sharepoint2007 -sourcedatabasename SP_DB_SOURCE -destinationdatabasename SP_DB_NEW -operation 3 -filename .\sitetomove.xml

Vedi anche Mergecontentdbs: Stsadm operation (Windows SharePoint Services)
Potrebbe interessarti anche: