[SOLVED] How to restore vm to different Proxmox Cluster?

lazypaul

Member
Aug 20, 2020
47
1
8
39
I have 2 cluster, using the same PBS to backup everyday, here is my question:
1. Why only see one snapshot?

root@pbsg8:~# proxmox-backup-client snapshots --repository 10.0.142.0:pbs-data-g8
┌─────────────────────────────┬───────────────┬────────────────────────────────────────────────────────────────────────────┐
│ snapshot │ size │ files │
╞═════════════════════════════╪═══════════════╪════════════════════════════════════════════════════════════════════════════╡
│ vm/200/2020-08-31T08:44:53Z │ 434865439468 │ client.log drive-ide0.img index.json qemu-server.conf │
├─────────────────────────────┼───────────────┼────────────────────────────────────────────────────────────────────────────┤
│ vm/201/2020-08-31T08:44:53Z │ 220117074814 │ client.log drive-virtio0.img index.json qemu-server.conf │
├─────────────────────────────┼───────────────┼────────────────────────────────────────────────────────────────────────────┤
│ vm/202/2020-08-31T08:44:53Z │ 220117074567 │ client.log drive-virtio0.img index.json qemu-server.conf │
├─────────────────────────────┼───────────────┼────────────────────────────────────────────────────────────────────────────┤
│ vm/203/2020-08-31T08:44:53Z │ 220117074583 │ client.log drive-virtio0.img index.json qemu-server.conf │
├─────────────────────────────┼───────────────┼────────────────────────────────────────────────────────────────────────────┤
│ vm/205/2020-08-31T08:44:53Z │ 215822107451 │ client.log drive-virtio0.img index.json qemu-server.conf │
├─────────────────────────────┼───────────────┼────────────────────────────────────────────────────────────────────────────┤
│ vm/206/2020-08-31T08:44:53Z │ 1529008358368 │ client.log drive-virtio0.img drive-virtio1.img index.json qemu-server.conf │
└─────────────────────────────┴───────────────┴────────────────────────────────────────────────────────────────────────────┘
root@pbsg8:~#


2. How to restore from datastore(backup of clusterA) to Proxmox Cluster B?
 
I had figure out , add pbs to another cluster, then can see the backup file, choose one to restore. It works.
 
Hi,
Hi @lazypaul can you tell me how you added PBS to the other cluster? I can't work out how to restore a VM even on the same cluster.
Thanks!
just add the PBS storage in the same way you added it to the first cluster (e.g. you can use Datacenter > Storage > Add > Proxmox Backup Server). To restore a VM, in the GUI, select the storage and go to Backups, or in the CLI, use qmrestore <PBS storage ID>:backup/vm/<snapshot> <new vm ID>.
 
  • Like
Reactions: JamesT

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!