Creating the Backups for wss projects in sharepoint

Creating the Backup for WSS project in share point?

1) Open the command prompt
2) Type cd\ -ENTER
3) c:\cd “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN” -ENTER
4)Then type the following command
Stsadm –o backup –url “yoursiteurl(“http:/test:970”)” -filename “e:\test\backwsss.dat”

Then the backup will be created in the test folder with the name of backwss.dat


If u want to create the restore the use the RESTORE instead of BACKUP

Stsadm –o restore –url - filename -overwrite


Comments

Author: Varun Sharma14 Nov 2008 Member Level: Gold   Points : 2

At the time of restore, you may need to give another parameter called -overwrite.
The reason being that, you will restore the backup to a existing site collection.
In order to tell stsadm to overwrite the current site collection with the backup file one we need to add the parameter.
So the restore command will be like

Stsadm –o restore –url <YourSiteURL> - filename <YourBackupFileName> -overwrite

Varun



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: