Friday, March 23, 2007

Installation a sharedpoint website

Follows these steps:

1. Backup the website in test server with:
smigrate.exe -w http://sps_server/testsite -f c:\temp\testsite.fwp -u admin_name -pw admin_pwd


2. Create a new subsite on new sps server:
stsadm.exe -o createweb -url http://new_sps_server/new_site

3.re-store the backup to the new site:
smigrate.exe -r -w http://new_sps_server/new_site -f c:\temp\testsite.fwp -u admin_name -pw admin_pwd

and, delete subsite:

stsadm.exe -o deleteweb -url http://new_sps_server/new_site

No comments: