1

How to recover Pipelines (builds) in Azure DevOps Server 2020 that got removed during install?

Before upgrade: ADS 20219 After upgrade: ADS 2020 (missing build history for 30+ day builds)

The ADS 2020 install will silently REMOVE any builds (pipelines) that are over 30 days old when you install the update from ADS 2019.

Is there a way to RECOVER these other than restoring the database and reinstalling again?

There REALLY SHOULD be a WARNING on this install if MS is going to SILENTLY DELETE MONTHS of build history (data).

user5855178
  • 567
  • 1
  • 7
  • 17
  • 1
    Agreed on the warning. Would have been a nice gesture. It's mentioned in the release notes, but that isn't any consolation. https://devblogs.microsoft.com/devops/safely-upgrade-from-azure-devops-server-2019-to-server-2020/ – jessehouwing Apr 15 '22 at 18:24
  • 1
    From what e can tell, after the cleanup jobs have done their job, there's no way to get these builds back other than to roll back to pre-upgrade state and performing a new upgrade after performing the steps outlined in the blog post I mentioned above. – jessehouwing Apr 15 '22 at 18:28
  • Yes, I found that blogpost AFTER the upgrade. It was helpful to clarify what the mystery was quickly.. but I am NOT at all impressed with MS SILENTLY removing months or even years of build history without any warning... MS is usually much more professional than that. :D – user5855178 Apr 15 '22 at 21:11
  • 1
    They're really professional cleaners in this case. But yeahmm. I've seen quite a few surprised admins post-upgrade. – jessehouwing Apr 16 '22 at 06:21

1 Answers1

0

From what I can tell, once the cleanup job runs and trauncates the data, your only way to get it back is to revert to pre-upgrade databasses, run the commands to turn off the new retention model outlined in the blog post and perform a new upgrade.

In case you detected these issues way past your migration date, you'd have to replay any changes made in source control and have people verify all the work items they edited in the meantime.

jessehouwing
  • 106,458
  • 22
  • 256
  • 341