[SOLVED] Restore to different node with different datastore

christian.g

Member
Jun 4, 2020
49
32
23
Hi everyone,

maybe someone can point me in the right direction.

What i would like to do is to restore a VM made from one node into its datastore to a different node with its own datastore using a new VMID.

Let say i have two nodes with each having its own datastore:
node1 -> store1
node2 -> store2

Both nodes have VMs with IDs 100,101,102

Now i would like restore VM 100 from node1 to node2 but with VMID 103.

pbs-restore allows to give a repository url but doesn't seem to be able to restore to a different VMID.
qmrestore can restore to a different VMID but needs the datastore configured which i don't want to do because of possible backup clashes due to same VMIDs in both datastores.

So how can i do a one shot restore from a different datastore without configuring it in first place?

Thanks
 
there currently is no such one-shot functionality. setup the second datastore as storage, if you want to prevent accidents set ACLs accordingly and/or disable it when not in use.
 
Ok, thanks.
It would be very nice to be able to do such a one-shot restore from a different datastore or to copy backups between datastores in pbs (incl. changing VMID).
 

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!