La migrazione di una site collection da una farm sorgente ad una farm destinazione diversa non è una operazione possibile utilizzando la GUI di Sharepoint.
Una delle metodologie che si può usare è la tecnica di export/import di STSADM.
è importate, in ogni caso, sottoliniare questo: "The backup contains library content, list content, navigation, user information, security settings, personalize settings like views and content types and customization but does not contain alerts, workflows and properties"
Inoltre il mio consiglio è quello di creare una site collection "Blank" sulla Farm di desitnazione all'indirizzo che si intende utilizzare. Inoltre l'utenza con cui eseguite il backup ed il restore deve essere almeno Site Collection Administrator.
i comandi sono i seguenti:
| Parameter |
Description |
| url |
URL of the site collection / site |
| filename |
Name of the backup file |
| overwrite |
Overwrite the already existed backup file |
| includeusersecurity |
Maintain the security settings |
| haltonwarning |
Stop the export operation when a warning occur |
| haltonfatalerror |
Stop the export operation when an error occur |
| nologfile |
No log file will be generated at the end of the export operation. |
| versions |
Values ranges from 1 to 41- Default value, last major versions of the files and list items included.2- The current version, either the major or the last minor version included.3- Last major and last minor version of the files and list items included.4- All versions of the files and list items included. |
| cabsize |
Value ranges from 1 to 1024. set the total size of cabinet file. Once size limit is reached, another cabinet file is created. |
| nofilecompression |
Disable file compression. If compression is allowed, export operation can increase by 30% |
| quiet |
Export operation information will not be displayed and operation will end with success message. |
BACKUP
stsadm –o export –url htpp://URL –filename E:\backup\test.cab –versions 4
RESTORE
stsadm –o import –url htpp://URL –filename E:\backup\test.cab