Today i'm giving a presentation for a group of students about a project using SharePoint. In my case its a project built in Windows SharePoint Services (WSS).
Last week i was at the customers location and did a backup of the WSS site. Today i tried to set it up in my Virtual PC environment, and with success! :)
There are still some issues which are not handled by the backup / restore functionality of stsadm command.
Just for your information some of these issues:
- It is only possible to restore the WSS site when the same or higher service pack is installed
- If you're using Custom WebParts. You have to copy them into your bin folder or install them into the GAC.
- Also do not forget to place the <SafeControl> entry in the web.config file
- If you're using SessionState do not forget to turn it on in the web.config file
- I always advise to create per site your own layouts and images folder. Change the paths of the virtual directories in IIS
I used the following command line to restore the database:
stsadm -o -restore -url http://somsite -filename d:\pub\somesite.bkp -overwrite