如何在 TFS Release Management 中进行备份和回滚 [英] How to do backup and rollback in TFS Release Management

查看:25
本文介绍了如何在 TFS Release Management 中进行备份和回滚的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 TFS 的新手,因此正在寻找有关人们如何进行备份和回滚的策略.

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.

我的应用程序是一个在 IIS 上运行的网站,并且有 SQL 数据库.任何提示或您如何完成它都会有所帮助.关于创建什么任务、如何触发备份以及如何启动回滚等方面的想法.

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.

推荐答案

一旦你安装了 Release Management Utility Tasks 扩展在您的帐户中,您将在任务目录中看到一个名为Rollback powershell"的新任务.对于回滚,您需要将此任务添加到工作流程中.

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.

关于备份,您可以添加一个Powershell任务来执行原始文件的备份.

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

这是一个有用的博客供您参考:https://blogs.msdn.microsoft.com/visualstudioalm/2016/03/28/implement-rollback-with-release-management-for-tfs-2015/

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/

这篇关于如何在 TFS Release Management 中进行备份和回滚的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆