首页 > 代码库 > SharePoint 备份还原站点集(Site Collection)

SharePoint 备份还原站点集(Site Collection)

在SharePoint Management Shell中,

备份Site Collection:

backup-spsite -identity http://spserver -Path c:\123.bak -force

还原Site Collection:

restore-spsite -identity http://spserver -Path c:\123.bak -databaseserver spserver -databaseName WSS_Content -force