How to do backup and rollback in TFS Release Management

旧巷老猫 提交于 2019-12-11 06:37:56

问题


I am new to TFS hence looking for strategies on how people do backup and rollbacks.

I would imagine it would go like any other release management system where before new release we backup the old one and keep it easy to re-deploy incase of rollback.

My application is a website running on IIS and has SQL databases. Any hints or how you've accomplished it will be helpful. Ideas on the lines of whats Tasks were created, how backups were triggered, and how rollbacks were initiated.


回答1:


Once you install the Release Management Utility Tasks extension in your account, you’ll see a new task called “Rollback powershell” in the task catalog. For rollback, you’ll need to add this task to the workflow.

Regarding backup, you can add a Powershell task to perform a backup of the original files.

Here is a useful blog for your reference: https://blogs.msdn.microsoft.com/visualstudioalm/2016/03/28/implement-rollback-with-release-management-for-tfs-2015/



来源:https://stackoverflow.com/questions/39728517/how-to-do-backup-and-rollback-in-tfs-release-management

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!