microsoft / iis-docker

Dockerfile for IIS
https://hub.docker.com/r/microsoft/iis/
MIT License
288 stars 128 forks source link

Support for IIS backup/restore #206

Open ccampbell-pg opened 4 months ago

ccampbell-pg commented 4 months ago

Should there be support for doing a backup and restore with appcmd? I was hoping to use restore to quickly configure a site and apppool. Here is what I tried with mcr.microsoft.com/windows/servercore/iis:latest and I get the same error result with a restore of a legitmate backup.

C:\Windows\System32\inetsrv>appcmd add backup "TheBackup" ERROR ( hresult:80071ab0, message:Command execution failed.
This object is not allowed to be opened in a transaction. )