Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

IIS backup not working

$
0
0

Im using Teamcity to build and deploy a website, all works very well, as soon as teamcity detects a commit, its built and deployed via webdeploy to my qa website. What I need to do now is to backup the existing site before the new site is deployed. Ive setup the configuration editor in IIS

continueSyncOnBackupFailure True

enabled True

turnedOn True

I also publish as a package which creates a .zip file in the apprporiate directory. The deployment and package creation process works perfectly, but no backup is ever created. Do I need to add a parameter to the MSBuild step in Teamcity ? Isnt is supposed to backup automatically if its activated on the webserver ? I cant see why its not happening


ive run this command

msdeploy -verb:dump -source:backupSettings="Default Web Site/mywebsite",computerName="computername",userName="user",password="password"

and it shows the correct flags set (enabled and turnedon)

and this command

msdeploy -verb:dump -source:backupManager="Default Web Site/mywebsite",computerName="computername",userName="user",password="password"

but I get no zip file listed, are there any steps im missing ? can anyone see where Im going wrong ?


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>