We are likely to be moving off of CentOs linux for our farm build server and onto a recent Amazon Linux version. During the transition we want to maintain data integrity on the server database (for instance, we wouldn't want build IDs to restart at 1). We have developed our own telemetry to track build history in an external DB in a format that helps us build useful powerbi graphs, and this system would also need to be reset if we just start fresh with a new quick build server install.
What is the proper/best/recommended method to move a build server to another host without losing any history and preferably keeping the existing build database?