1/25/2010To backup a SharePoint site there are a few methods, but what I found works the best for us is to use the stsadm.exe backup command. The stsadm.exe can found within the 12 hives directory within the bin folder.
- Run > cmd (depending on your configuration you might have to run the cmd prompt as a local admin)
- cd "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN"
- stsadm -o backup -url http://mysite.com -filename C:\temp\mysitefile -overwrite
- You are DONE!
To restore a site backup on another server:
- Login to Central Admin
- Create a new web application under the "Application Management" tab
- Once the site has been successfully created, there is no need to create a site collection because we are going to load it from the backup file
- Run > cmd > cd "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN"
- stsadm -o restore -url http://mynewsite.com -filename E:\temp\mysitefile -overwrite
- Once the restore has complete head back into the Central Admin > Application Management tab and choose "Policy for Web Application" and add a user account to login to the new restored website.
|
|
|
|
|
|