Hi.. newbie here to msdeploy and trying to get through what are probably some basic problems:
FYI,
We have a server farm web1,2,3,4 and use DFS on our Database servers.. Basically for now I would like to be able to archive the metadatabase information just to a archive folder and test restoring that infomation and their dependancies. IE backup Delete IIS information and App pool information and restore with msdeploy.
so archiving just one site without the dependencies is fine:
msdeploy.exe -verb:sync -source:metakey=lm/w3svc/1 -dest:archivedir=c:\archive
> webdeployarchive.log
where 1 would be changed to whatever metakey you want to back up.. but how do I make it also grab the app pools too?
i.e
msdepoy.exe -verb:sync -source:metakey=lm/w3svc/apppools/XXXXX -dest:archivedir=c:\archive > test.log
this gives an error of:
Fatal: The source '/lm/w3svc/apppools/XXXXX' and destination '/lm/w3svc/1' are at different levels of hierarchy in the configuration system. This can have unexpected consequences. Please make sure that the paths are correct.
Fatal: The dependency check 'ProviderPathLevelMismatch' found issues up to 'Fatal' level that must be resolved before the current operation can be processed. See previous messages.
Change count: 0
Fatal count: 2
If someone could give me some example code of this point me in the right direction it would be deeply appreciated.