proxmox image clone

pvenub

Member
Mar 17, 2014
38
0
6
Does anyone know if there is a protocol to clone the entire Proxmox install along with accompanying vms so can migrate to new hardware server? Thank you,
 
Certain things will change with a migration like that - for example, the MAC address of the ethernet adapters will change so the associations will be different (unless you transfer the physical cards from one box to another). Is this part of a cluster? if it is, why not just spin up a new box with a new name, migrate the VMs and retire the old box?
 
Thanks for the reminder and suggestion Nethfel.... looks like we got it to copy with clonezilla and will keep an eye on the stability of the
new spin up...

Just wondering if anyone had worked out fast track to do this yet, as the low level clone we finally got up today took quite a while to run.
 
Hi, I have done a lot of time with rsync.


1) install a new proxmox server

2) stop services on both source and destination server

/etc/init.d/pvestatd stop
/etc/init.d/pvedaemon stop
/etc/init.d/pve-cluster stop
/etc/init.d/cman stop
/etc/init.d/pve-manager stop
/etc/init.d/postfix stop
/etc/init.d/rsyslog stop
/etc/init.d/nfs-common stop


3) launch rsync

rsync --exclude=/mnt/* --exclude=/etc/pve/* --exclude=/etc/udev/rules.d/70-persistent-net.rules --exclude=/var/lock --exclude=/etc/fstab --exclude=/etc/mtab --exclude=/proc/* --exclude=/tmp/* --exclude=/dev/* --exclude=/sys/* --exclude=/lost+found/* --exclude=/var/cache/apt/archives/* -e ssh --delete-after --numeric-ids -avpogtStlHz / root@target:/
 
@spirit Thanks for share.
What is the different with VMS's backup and restore ?