1

我正在使用Microsoft Web Deploy 2.0与IIS7和Visual Studio 2010“发布”功能发布到我的服务器。有没有办法自动创建旧网站的备份副本,或者作为以前网站的副本或zip文件?在Web上自动备份网站部署

我的希望是,如果需要的话,我可以回滚到以前版本的网站。

回答

-1

Backup Utility UI

使用System.IO's DirectoryDirectoryInfo classescreate foldersdelete foldersrecursively copy folders from one location to the next。利用DirectoryInfo class找出给定文件夹的年龄,以便删除它。

codeproject

+2

请提供[更多实质性的细节(http://meta.stackexchange.com/a/72002/141525),而不是仅仅发布一个链接。 – animuson