unless your server has a lot of data, that is the hard drive size is prohibitively big, you can try FOG server for cloning.
the steps are:
Step 1: setup FOG server VM on your Proxmox. give the VM twice the amount the space needed for your target machine.
I have found it difficult to add extra space to use for image storing to FOG VM after setup so plan to have all space you might need. if your physical server takes up 20GB space on the real harddrive, plan to give FOG at least 50GB Virtual hard drive space on install, plus make sure your Proxmox host have at least additional 60GB to accommodate new VM and what not
This is a safety net specs. that I feel needed for problem free conversion and that I use in my setup.
Step 2: make sure your FOG VM works ok and you can see it on network.
boot your server (the one you want to image it) from PXE. you may need to configure this in BIOS etc...
and add it to inventory. than reboot and create an image on the for server.
while image is created read up on FOG on how to add image to the menu to begin cloning
Step 3: when Step 2 is done, you can reboot the physical server back up and let it be on the network.
Create new VM. try to match the specs to the original machine. at least CPU/RAM specs. you can adjust the hard drive size using the stats FOG imaging give you. most often than none the OS drive can be shrunk on clone, but thread carefully.
Step 4: boot the new VM and select PXE booting. it should boot up into FOG menu giving you chance to select image for cloning. select the image and let it run.
once done it should reboot, maybe several time and than into a working status.
word of caution: if you use static IP make sure your real server is off network when VM is booting.
you do not have to shut down just unplug the cable from the switch.
Step 5: login to your VM server and make sure all is working. also try to run any remote clients that depend on this server to make sure all is ok. shut down the physical server and keep it on the shelf for a few weeks until you are 100% sure all is working.
PS>> this should work fine for Linux based machines. Linux is very sturdy and resilient when it comes to hardware changes,with very few exceptions. (setups with raid on boot disks etc..)
I have mass-clone 15 PC so far with Linux Mint at work this way. that is physical to physical cloning but with very different hardware configs. as long as it can connect to internet it will find and install all drivers it needs to work.