Development Blog
SharePoint Backup and Restore
To 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.
 
  1. Run > cmd (depending on your configuration you might have to run the cmd prompt as a local admin)
  2. cd "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN"
  3. stsadm -o backup -url http://mysite.com -filename C:\temp\mysitefile -overwrite
  4. You are DONE!

To restore a site backup on another server:

  1. Login to Central Admin
  2. 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
  3. Run > cmd > cd "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN"
  4. stsadm -o restore -url http://mynewsite.com -filename E:\temp\mysitefile -overwrite
  5. 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.

Comments

There are no comments yet for this post.
Akira Systems
39 Enterprise Drive
London, Ontario
Canada, N6N 1A3
tel: 519.652.5230
fax: 519.652.5230
em: info@akirasystems.com