Backup & Restore sharepoint site
Hello
I want to be able to back & restore of subsite in same application, or in another application, or another server. I want to make backup of site and restore it whereever I want :)
ThanksMomo
July 27th, 2010 9:23pm
I have used STSADM –o import and STSADM –o export it works for backing up an individual subsite though it does not keep any of the Metadata. this means that it will not copy `lastModefiedby` etc .. SharePoint treats this command almost like a copy
on a file system.
stsadm.exe -o export -url http://localhost/en/momo -filename C:\momo\subsite.cab -includeusersecurity -versions 3 -overwrite
stsadm.exe -o import -url http://localhost/en/newMomo -filename C:\momo\subsite.cab -includeusersecurity
Mohamed Hachem :)Momo
Free Windows Admin Tool Kit Click here and download it now
July 27th, 2010 9:25pm
If the purpose is to copy an entire site collection the best operation would be back/restore as follows:
stsadm -o restore -url http://Momozito.com/ -filename C:\Backups\Mysite.bak -overwrite
stsadm -o backup -url http://Hadzic.com/ -filename C:\Backups\Mysite.bak –overwrite
Smiles
Mohamed Hachem
October 19th, 2010 11:21pm


