应用程序级别的WebDeploy备份可以不是整个站点吗?

时间:2015-06-11 22:55:58

标签: iis backup webdeploy

通过WebDeploy部署时,我已成功设置了自动备份。

但是,当它存档时,它会压缩整个“默认网站”。

我正在寻找的是一种将自动备份设置为仅归档该应用程序的方法。

Update1 :我的当前设置

PS> Get-BackupSettings -SiteName“默认网站/ Service1”

CanSetContinueSyncOnFailure : False
ExcludedProviders           : {appPoolEnable32Bit, setAcl, appPoolPipeline, createApp...}
BackupPath                  : {SitePathParent}\{siteName}_snapshots
ContinueSyncOnFailure       : False
CanAddExcludedProviders     : False
NumberOfBackups             : 5
Enabled                     : True
SiteName                    : Default Web Site/Service1
CanSetEnabled               : False
CanSetNumberOfBackups       : False

PS> Get-BackupSettings -SiteName“默认网站”

CanSetContinueSyncOnFailure : False
ExcludedProviders           : {appPoolEnable32Bit, setAcl, appPoolPipeline, createApp...}
BackupPath                  : {SitePathParent}\{siteName}_snapshots
ContinueSyncOnFailure       : False
CanAddExcludedProviders     : False
NumberOfBackups             : 5
Enabled                     : False
SiteName                    : Default Web Site
CanSetEnabled               : False
CanSetNumberOfBackups       : False

PS>得到-BackupSettings

CanSetContinueSyncOnFailure : False
ExcludedProviders           : {appPoolEnable32Bit, setAcl, appPoolPipeline, createApp...}
BackupPath                  : {SitePathParent}\{siteName}_snapshots
ContinueSyncOnFailure       : False
CanAddExcludedProviders     : False
NumberOfBackups             : 5
Enabled                     : True
SiteName                    :
CanSetEnabled               : False
CanSetNumberOfBackups       : False

0 个答案:

没有答案