SharePoint Use backup, restore and export

"%systemdrive%\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o backup -url http://XXXXXXX:1231/sites/abc -filename \\10.163.192.1\abc\abcBackUp0705.bak -overwrite

pause

 

"%systemdrive%\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o restore -url http://XXXXXXX:1231/sites/abc -filename E:\abc\abcBackUp0705.bak -overwrite

pause

 

"%systemdrive%\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o export -url http://XXXXXXX:1231 -filename E:\abc\abcBackUp0705.dat

posted @ 2012-10-29 11:34  Areas  阅读(168)  评论(0编辑  收藏  举报