How to do migration to new server?

TauriRed

Member
Apr 11, 2022
13
1
8
I do have Proxmox server
Some VMs, some containers
Everything is on lvmthin using locally-attached SSDs.
Backups are to Proxmox backup server (which is located on other machine and uses usb-attached hdd).
There's is also Synology box which was used as old backup target. Server still sees it as network target via CIFS.
Everything is connected via 1 Gbit/s network.
I plan to migrate to more powerful machine.

How to do it better?
Perform fresh setup of Proxmox on new machine, configure 2 node cluster and migration?(is it ever possible?)
Perform fresh setup of Proxmox on new machine, move some things from /etc(which is important?) and restore everything from backup?
Migrate everything to synology(it would be very slow), shutdown everything except critical VMs which handle internet connectivity, perform fresh setup on new box, make
Just move disks and boot new one? And after that move to some VMs to NVMe(old machine doesn't support NVMe)


Potential issues:
- there will be no working internet connectivity until new server would be online with all its VMs

How to migrate all remote storage settings(cifs,proxmox backup,etc)?
 
A two-node cluster is like asking for problems. You can migrate VMs between separate installation using the command line. Via backup/restore is the safest way.
 
Perform fresh setup of Proxmox on new machine, move some things from /etc(which is important?) and restore everything from backup?
This would be my choice.

As you can change some configuration settings (datastore, vmid, ...) during restore from the backup this is more flexible than preparing a cluster just for this task. Other things (network/bridges) can get adjusted after restore.

Best regards