Great. So it's called migration. I'll read through all of that, thanks.Yes. You might want to have a look at this: https://pve.proxmox.com/wiki/Advanced_Migration_Techniques_to_Proxmox_VE
Thank you very much, do you have a guide for the first one? I can do these things with guides as I'm still learning, and enjoying it.It's a little more hands-on (you have to edit bash scripts) but I have fsarchiver backup and restore scripts that can do P2V
https://github.com/kneutron/ansitest/tree/master/VIRTBOX
Or you can give Veeam agent for Linux a try
https://www.youtube.com/watch?v=g9J-mmoCLTs
Thanks for taking the time to reply, really appreciate it.Put BKPDEST.mrg in /root/bin/boojum (in the VM) and chmod +x it, define your backup target to be separate non-root disk or NAS
apt-get install -y fsarchiver
Run the bkpsys-2fsarchive script (after putting it in /root/bin and chmod +x it)
To restore, boot systemrescuecd on the target instance:
https://github.com/nchevsky/systemrescue-zfs/releases
scp the RESTORE-fsarchive-root.sh to /tmp on the systemrescuecd root filesystem, and chmod +x it
fdisk the target disk and make 2 partitions, 1 for swap and 1 for the rootfs restore
mkswap /dev/sda1 # substitute whatever disk/partition you want for swap, the restore script should detect and use it
EDIT the RESTORE-fsarchive-root.sh script and change the TODO line for what partition you want to restore to
^ This is important!
Use sshfs per the comments in the script to mount the remote directory that contains the .fsa backup file (or samba / nfs, whatever works for you)
cd to the directory that has the .fsa backup file, Run /tmp/RESTORE-fsarchive-root.sh *.fsa # put the .fsa filename here, exact command as shown will work if there is only one; rootfs will be restored to the partition you defined in the script and it should be made bootable for you.
If it doesn't boot, have a copy of super grub disc and rescatux ready to go; once you are able to boot into the restore, you can reinstall grub.
https://distrowatch.com/table.php?distribution=supergrub
https://www.supergrubdisk.org/rescatux/
DO THIS AT YOUR OWN RISK, I take no responsibility for data loss. Test a restore to a VM first to familiarize yourself with the procedure.
There are additional steps involved if the VM is EFI bootable, not getting into that right now. This should work fine for non-GPT BIOS boot.
Veeam is a bit more straightforward, but I've done dozens of P2V, V2P, etc with fsarchiver and I know it works.
https://github.com/kneutron/ansitest/blob/master/VIRTBOX/0HOWTO-bare-metal-restore-linux-root.txt
We use essential cookies to make this site work, and optional cookies to enhance your experience.