Friday, June 10, 2011

STSADM command for Backup and Restore

Backup a Site Collection

In the cmd window navigate to the “C:\Program files\common files\microsoft shared\web server extensions\12\bin” directory.

Type stsadm -o backup -url “http://theurlofthesitecollection” -filename “C:\MyFirstBackup.bak” -overwrite



To Restore a Site Collection

In the cmd window navigate to the “C:\Program files\common files\microsoft shared\web server extensions\12\bin” directory.

Type stsadm -o restore -url “http://theurlofthetargetsitecollection” -filename “C:\MyFirstBackup.bak” -overwrite


you can also restore site at same plce

No comments:

Post a Comment

SharePoint document metadata not updating

I faced a weird issue today, Metadata for document which has lookup column was not updating even after saving the item. There was no erro...