2014-12-04 77 views

回答

1

只有在網站集沒有使用Stsadm command line tool的任何子網站時,您纔可以執行此操作。您可能會丟失大量網站收藏設置,因此請確保在嘗試此操作之前進行了備份。

下面是一個例子代碼來實現這一目標:

出口網站集:

stsadm.exe -o export -url http://yourtoplevelsite -filename c:\myfilename.bak -includeusersecurity -nofilecompression 

導入爲子網站:

stsadm.exe -o import -url http://yourotherhomesite/sites/youroldtoplevelsite -filename c:\myfilename.bak -includeusersecurity -nofilecompression 

This thread更詳細地討論的具體程序來實現這一點。

+0

非常感謝。不幸的是,有幾個子網站。 – Sporule 2014-12-05 13:16:49

相關問題