Can WebDeploy Backup on Application Level Not the Whole Site?

182 views Asked by At

I have successfully setup an auto-backup when I deploy thru WebDeploy.

However, when it archives, it zips the whole "Default Web Site".

What I am looking for is a way to set the auto-backup to archive only that application.

Update1: My Current Setting

PS> Get-BackupSettings -SiteName "Default Web Site/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 "Default Web Site"

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> Get-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

There are 0 answers