首页 > 其他专区 > SharePoint >

如何快速备份SharePoint Farm Solution

SharePoint 2023-01-12

在SharePoint版本升级之前,我们会对当前SharePoint环境进行系统备份,而数据备份之中就包括farm solution的备份。那如何快速对farm solution进行备份呢?下面就对这部分做介绍。

  1. 首先我们会打开Central Administration-> system settings -> farm solution查看当前SharePoint都有哪些solution.

如何快速备份SharePoint Farm Solution

  1. Run as administrator方式打开SharePoint Management Shell,定位到要备份solution的path,然后执行下面命令。

(Get-SPFarm).Solutions| ForEach-Object{$var = (Get-Location).Path +“” + $_.Name; $_.SolutionFile.SaveAs($var)} 

如何快速备份SharePoint Farm Solution

  1. 命令执行完成后,到输入的路径下查看,solution备份成功。

如何快速备份SharePoint Farm Solution

感谢阅读。


Copyright © 2016-2023 office学习教程网 office.tqzw.net.cn. All Rights Reserved.