How to move the server stored data to a new server install?

Hi, the server installed points to a remote data store, what’s the official way to move this data store to a complete new server and have access to the data?

There’s going to be a point when you loose your server install but still have access to the server, so how do we install a new server keeping all that data AND have clients be able to connect back to there old data on that new server install thats connected to the old data…

Many Thanks