How Can I move ProxMox Virtual Machines from a server to another without cluster?

Hi,

How Can I move ProxMox Virtual Machines from a server to another without cluster?
That is: the two servers are into different ISP...:confused:

make a backup and do a restore (with vzdump).
 
Hi,
Have a server crash here , only have harddrive left, so how do i find vz machines ? them in /etc/qemu-server/* i found but thats only KVM , need to move VZ before doing a reinstall.
//Coffe
 
Yes, Here is what i did using a USB Drive and I have written it up for dummies like me ; ):

Connect the USB drive to the Source Proxmox server.

Go to source proxmox console
Determine which drive is the USB drive (in my case it was /dev/sdc):
fdisk -l

prepare disk for mounting:
cfdisk /dev/sdc
create primary partition and write and quit

Format new partition:
mkfs.ext4 /dev/sdc1

Manually mount disk (in my case I called it backuplocal1TB):
create folder /mnt/backuplocal1TB
mount -t ext4 /dev/sdc1 /mnt/backuplocal1TB

Go to source proxmox web interface to setup local proxmox backup directory:
Select Datacenter folder
Select Storage tab
Click Add | Directory
ID: backup1TB
Directory: /mnt/backuplocal1TB
Content: Backups
OK

Backup vms to USB drive:
Select vm
Goto Backup tab
Ensure the USB Storage location is selected
Click the Backup now button
Do this for every vm you want to migrate

Remove USB directory from source:
Datacentre
Storage
Select backuplocal1TB and click the remove button

Restore backups to Destination Proxmox server:
Connect USB backup drive to destination proxmox server

Go to destination proxmox console
Determine which drive is the USB drive (in my case it was /dev/sdc):
fdisk -l

Manually mount disk (in my case I again called it backuplocal1TB):
create folder /mnt/backuplocal1TB
mount -t ext4 /dev/sdc1 /mnt/backuplocal1TB

Go to destination proxmox web interface to setup local proxmox backup directory:
Select Datacenter folder
Select Storage tab
Click Add | Directory
ID: backup1TB
Directory: /mnt/backuplocal1TB
Content: Backups
OK

Expand destination proxmox server folder and select backuplocal1TB
Select Content tab
Select backup and click the Restore button
Confirm Storage location and VM ID and click Restore again.
Do this for each vm

All VM config settings are preserved.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!