We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • Re: web deploy max web site size

    Feb 27, 2017 06:36 AM|Yuk Ding|LINK

    Hi christopher877,

    Based on my understanding, there is a limitation of 2GB for single file and 65536 files in web deploy package. It is said that there is also a 4gb limitation of web deploy package.

    https://www.iis.net/learn/publish/troubleshooting-web-deploy/web-deploy-error-codes

    To resolve this issue, you could use the archiveDir provider when creating a package instead. Currently there is no solution for this limit with respect to automatic backups:

    msdeploy -verb:sync -source:apphostconfig="Site1" -dest:archivedir=c:\archive 
    msdeploy -verb:sync -source:archivedir=c:\archive -dest:appHostConfig="Site1",computerName=NewServer
    
    

    https://technet.microsoft.com/en-us/library/dd569042(v=ws.10).aspx

    Best Regards,

    Yuk Ding

    Yuk Ding

    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue.