Proxmox backup of physical server and restore to vm

telvenes

Active Member
Oct 5, 2020
35
2
28
36
Is it possible to backup a physical server and restore it to a VM?
Use it as a tool to convert servers?
 
You could probably do a backup, boot a VM from a live iso and restore everything to your new disk.
It might be easier to install a VM with the bare OS from scratch and then rsync everything over with rsync -aAXv --numeric-ids --exclude={"etc/fstab","dev/*","proc/*","sys/*","tmp/*","run/*","mnt/*","media/*","lost+found"} -e "ssh -p <SSHPORT>" root@<yourIP>:/* / though.
 
Wow, why I never thought about this before. This worked perfectly and in a super easy way. You should add this to the Proxmox Manual in ways to migrate.