I've used something like
ssh root@<source_node> 'tar --one-file-system -C <source_mountpoint> -cf - .' | 
tar -C <target_mountpoint> -xf -

Source and target partition layouts may differ, just don't forget to update 
fstab accordingly and about boot partition for UEFI and re-run grub-install 
(maybe not needed for UEFI?).


16.11.2016 18:47, Marco Gaiarin wrote:
> I need to P2V a debian 8 server, installed on UEFI/GPT.
>
> A little complication born by the fact that i need to P2V in the same
> server (eg, image the server, reinstall it with proxmox, then create
> the VM), but i can move data elsewhere (to keep OS image minimal) and
> test the image with other PVE installation.
>
> Normally, i use 'mondobackup' for that, but mondo does not support UEFI
> (at least in debian).
>
>
> Also, i prefere to keep data in a second (virtual) disk, and backup
> that by other mean (bacula) so i need to ''repartition'' (better:
> reorganize data) in disks.
>
>
> So, summarizing: what tool it is better to use to do a (preferibly
> offline) image of some partition of a phisical server, respecting UEFI
> partitioning schema?
>
>
> I hope i was clear. Thanks.
>

_______________________________________________
pve-user mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Reply via email to