Someone had asked me how to migrate Sharepoint data from one server to another. Here's what needs to be done:
1. Take a backup of the Content database.
2. Install Windows Sharepoint Services on the new server and extend the virtual server.
3. Now create a database in the new server, and restore the backup of the old content database.
4. Go to central Administration -> Configure Virtual Server Settings -> Select the Virtual Server -> Under Virtual Server Management -> Manage Content Databases.
5. In the manage content database page, enter the database server, name, username and password and click OK.
6. Now the restored Content Database is added to the Virtual Server.
7. If requierd, you can delete the content database created at the time of extending the virtual server.
8. All the sites will be restored back as it was in the old WSS server.
Now the sites are restored and you can use the new WSS as it was previously.
//Akila