We are planning to migrate our on-premises Almalinux 9 server to Google Cloud.
Our goal is to perform a complete migration, including all user settings, workloads, and stored files…
We were wondering if there’s a straightforward way to accomplish this migration.
Or, would we need to rely on methods like SCP, SFTP, or FTP?
What if your server breaks down now. How would you recover from that?
A system has essentially three things:
Installed packages
Configuration (for those packages, including accounts)
“User” data (home directories, databases, containers, …)
On-premise and cloud machines do not need exact same set of packages (or config).
If you have used configuration management of some sort to set up the system,
then you should be able to adapt and redeploy to the new system.
The data is files. You cannot copy files without copying files. My personal preference is rsync – a versatile file copy tool.