Hard to be precise but MigrateHelper is your friend.
https://wiki.koozali.org/MigratehelperAlso these days I keep my OS on a separate 'drive' and just mount the data folders into the OS drive eg:
# Mount /dev/vda1
UUID=1234567890 /mnt/data ext4 defaults 0 0
# Bind mount /dev/vda1 includes home files
/mnt/data/files /home/e-smith/files ext4 bind,uquota,gquota,noatime 0 0
To upgrade now I vaguely do something like this:
- I set up a new OS on a new 'drive'
- Create a spare 'drive' and attach to the old server (or a USB)
- Run Migratehelper on the old server to create a backup of just the configs onto the spare 'drive' mounted on the old server
- Mount the spare drive to the new server and restore your settings.
- Bind mount the old disk into the new server.
- Clearout all the old unrequired server folders on the drive and just leave the /home/e-smith/files folder (first time only)
In your scenario you can follow MigrateHelper and SCP the data files to Prox. Note you can also SSH mount your old server to Prox/your new server and then 'copy' across. I have done this before.
If in doubt ask on Rocket - most there use Proxmox.
Once you are on Prox it is much easier to move stuff about.