Migration of a moss site refers to the migration of a moss site set on different machines. If you back up data on a single server, you can use the backup and restore functions of the SharePoint management center.
The migration between different servers is described as follows:
Step 1:Log on to the migration server and use stsadm.exe for backup. By default, the backup file is stored in the root directory of drive D. The website to be backed up is http: // localhost: 60000/, and the backup file name is wsite. Bak. The tool stsadm.exe is in the c: \ Program Files \ common files \ microsoft shared \ Web Server Extensions \ 12 \ bin directory, therefore, in this directory, enter the following command in the command line for backup:
Stsadm.exe-O backup-URL http: /localhost: 60000/-filename D:/wsite. Bak
For example:
As shown in: The operation is successfully completed, so that the backup is OK.
Step 2:Log on to the target server, open management center> application management, and create a new Web application. I also set the port to 60000. After the creation, IIS is automatically restarted.
Step 3:First, I copy the website backup on the source server to the E:/wangxiaocheng directory of the target server.
Then, use the command line to enter the following directory: C: \ Program Files \ common files \ microsoft shared \ Web Server Extensions \ 12 \ bin. Run the following command to restore the database:
Stsadm.exe-O restore-URL http: // localhost: 60000/-filename D:/wangxiaocheng/wsite. Bak
For example:
As shown in, the message "Operation completed successfully" is displayed, so far, OK. The website has been successfully migrated from one server to another.
Now let's take a look at what the website looks like before and after migration. The website before migration looks like this:
The migrated website looks like this:
As shown in the preceding two figures, the webpart is not migrated. Therefore, the webpart must be configured manually. The restored content and users are restored.
This article is based on phonefans.