Moving VM and Disk to new cluster

Calanon

New Member
Feb 4, 2019
14
1
1
52
Hi there,

I have two proxmox clusters each with their own ceph clusters attached. I want to move VMs one by one from one cluster to another. I understand normally this can be achieved with a backup and restore to and from a mounted disk but what if I do not have enough space on the backup target to facilitate this?

If I am wrong I would be welcome to any insights.

Does anyone have any ideas or experience with this?
 
Hi,

I would pipe a backup into a restore over ssh.

ssh into the target machine (make sure you can passwordless ssh to your source machine) and use the following command (change this to your setup accordingly):

Code:
ssh 10.1.13.2 'vzdump 100 --mode stop --stdout' | qmrestore - 105 --storage local-zfs
 

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!