简体   繁体   English

如何从 Azure DevOps 服务迁移到 Azure DevOps Server

[英]How can i Migrate from Azure DevOps services to Azure DevOps Server

I am having my project collection running in Azure DevOps Online(Services).我正在 Azure DevOps Online(服务)中运行我的项目集合。 And I would like to migrate that to Azure DevOps On-Prem Server.我想将它迁移到 Azure DevOps On-Prem Server。

Help me out here with the incompatibility issue i will be facing and how to overcome that.在这里帮助我解决我将面临的不兼容问题以及如何克服它。

Options to Migrate from Azure DevOps online(services) to Azure DevOps Server(On-Prem).从 Azure DevOps 在线(服务)迁移到 Azure DevOps 服务器(本地)的选项。

Is there any services available in azure to successfully acheive the above migration with out any data loss? azure 中是否有任何服务可以成功实现上述迁移而不会丢失任何数据?

Should I must use third party tool to do the above migration with out any data loss?我是否必须使用第三方工具进行上述迁移而不会丢失任何数据?

Help me out here with the Downtime required for the 100 GB of Project collection with multiple repository.在这里帮助我解决具有多个存储库的 100 GB 项目集合所需的停机时间。

Project Collection size - 100 GB项目集合大小 - 100 GB

One of the previous answers (since deleted?) has captured most of the critical points, and that no tool can migrate 100% of data with zero data loss (Actually, 100% migration with no loss is not feasible as inherently some of the automatically generated and configuration values, like work item ids etc., will inherently be different between two instances).先前的答案之一(自从删除?)已经抓住了大部分关键点,并且没有工具可以迁移 100% 的数据而零数据丢失(实际上,100% 的无丢失迁移是不可行的,因为本质上一些自动生成的和配置的值,如工作项 ID 等,在两个实例之间本质上是不同的)。 Therefore, the only way to get zero data loss migration is to lift and shift the complete project collection image from Azure DevOps Services to Azure DevOps Server, which is not supported by the official Azure DevOps migration tool.因此,实现零数据丢失迁移的唯一方法是将完整的项目集合映像从 Azure DevOps Services 提升并转移到 Azure DevOps Server,官方 Azure DevOps 迁移工具不支持这种方式。 Given that, the only way left to migrate data is using Azure DevOps APIs.鉴于此,迁移数据的唯一方法是使用 Azure DevOps API。

So, the best approach is to understand what data cannot be migrated by the migration tools that you are evaluating, and then decide what works best for you.因此,最好的方法是了解您正在评估的迁移工具无法迁移哪些数据,然后确定最适合您的方法。 Also, it will not be a black and white selection when it comes to choosing a migration solution.此外,在选择迁移解决方案时,它不会是非黑即白的选择。 First, you need to define the must-haves you expect from migration and then evaluate the different migrators available in the market.首先,您需要定义迁移所需的必备条件,然后评估市场上可用的不同迁移器。 Here are a few common selection criteria:以下是一些常见的选择标准:

  • Data Loss:数据丢失:

Understand what data can be and cannot be migrated by the migration solution.了解迁移解决方案可以迁移和不能迁移哪些数据。 Ideally, the tool should be able to migrate work items (along with history, attachments, mentions, and inline images) and test management, including Test Results, Source code, Dashboards, Areas and Iterations.理想情况下,该工具应该能够迁移工作项(连同历史记录、附件、提及和内联图像)和测试管理,包括测试结果、源代码、仪表板、区域和迭代。 For Builds and pipelines, you can use the native Export-Import feature, as they require manual changes to tweak the connection.对于构建和管道,您可以使用本机导出-导入功能,因为它们需要手动更改来调整连接。

  • Zero Downtime:零停机时间:

Downtime adds operational costs and impacts development operations as teams cannot use Azure DevOps tools.由于团队无法使用 Azure DevOps 工具,停机时间会增加运营成本并影响开发运营。 Understand thoroughly that there is no scenario in which downtime will be required for any type of data.彻底了解任何类型的数据都不需要停机。

  • Ease of Use:使用方便:

Some tools are a collection of unsupported scripts (Naked Agility) which require very high degree of sophistication to use.一些工具是不受支持的脚本(Naked Agility)的集合,需要非常高的复杂度才能使用。 These can be extremely expensive (even though the scripts are open source), error prone and hinder operations.这些可能非常昂贵(即使脚本是开源的),容易出错并阻碍操作。

  • Project Consolidation or Customized Templates:项目合并或定制模板:

Analyze if you want to consolidate multiple projects into one project while migrating or if the templates need to be customized.分析您是否希望在迁移时将多个项目合并为一个项目,或者是否需要自定义模板。 If that is the need, evaluate if the migration tool can support such configuration with ease and has a UI to do so.如果需要,请评估迁移工具是否可以轻松支持此类配置并有 UI 来支持。 Manually configuring mappings for each project can be tedious and highly error prone.为每个项目手动配置映射可能很乏味且极易出错。

  • Migration Time:迁移时间:

Many migration tools migrate projects one by one, hence consuming a lot of effort and time to migrate the data spread across multiple projects.许多迁移工具会一个一个地迁移项目,因此需要花费大量的精力和时间来迁移分布在多个项目中的数据。 Understand how many projects can be parallelly migrated to have speedy migration.了解可以并行迁移多少个项目以实现快速迁移。

  • Reverse Synchronization:反向同步:

Do you want to keep the data in sync between Services and Server for some time post-migration?您是否希望在迁移后一段时间内保持服务和服务器之间的数据同步? Will data be integrated bidirectionally or unidirectionally?数据是双向整合还是单向整合? Answer these questions and then evaluate the migration solution if it will meet the requirements.回答这些问题,然后评估迁移解决方案是否满足要求。

  • Commercial Support:商业支持:

Migration can be tricky and time-consuming, as, over time, different teams have created all the odd stuff in there.迁移可能既棘手又耗时,因为随着时间的推移,不同的团队已经在其中创建了所有奇怪的东西。 Better to have a team of experts do the migration for you while you focus on defining requirements and validating the completeness of migration.当您专注于定义需求和验证迁移的完整性时,最好让专家团队为您完成迁移。

I hope this helps.我希望这有帮助。 Full disclosure: I work for OpsHub , where we are experts at data migration and using OpsHub Azure DevOps migrator have migrated multiple organizations to and from Azure DevOps Services and Server over the last decade.全面披露:我在OpsHub工作,我们是数据迁移方面的专家,在过去十年中,我们使用 OpsHub Azure DevOps 迁移器将多个组织迁移到 Azure DevOps 服务和服务器。 Contact us if you need more help.如果您需要更多帮助,请联系我们

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM