Restore full VM backup including virtual hard disk from PBS

Eagle99

New Member
Jan 25, 2024
1
0
1
Hi,
I'm new to PBS, and I tried to find the clue to resolve my problem. But the Ubuntu VM seems not fully restored as it doesn't have network connectivity (originally it did) and the network interface doesn't come up after I used "netplan apply". So, I'm posting the question here; please forgive me if I'm reposting the same topic.

I used the command below in PVE to restore the backup, and the progress is complete.

pbs-restore --repository root@pam@192.168.1.240:backup vm/100/2024-11-03T16:00:03Z drive-sata0.img.fidx /dev/sdd --verbose --format raw --skip-zero

connecting to repository 'root@pam@192.168.1.240:backup'
open block backend for target '/dev/sdd'
starting to restore snapshot 'vm/100/2024-11-03T16:00:03Z'
download and verify backup index
progress 1% (read 5003804672 bytes, zeroes = 4% (218103808 bytes), duration 60 sec)
progress 2% (read 10003415040 bytes, zeroes = 3% (306184192 bytes), duration 120 sec)
progress 100% (read 500107862016 bytes, zeroes = 76% (384487653376 bytes), duration 1269 sec)
restore image complete (bytes=500107862016, duration=1269.57s, speed=375.67MB/s)

backup in pbs
1731674890263.png

backup configuration
1731674097112.png
The hard disk sata0: /dev/disk/by-id/ata-ST3500418AS_9VMGPZHF, size=488386584K, was added by qm set 100 -sata0 /dev/disk/by-id/ata-ST3500418AS_9VMGPZHF and it is /dev/sdd in PVE.

My Ubuntu system and everything is on /dev/disk/by-id/ata-ST3500418AS_9VMGPZHF, my purpose is to restore everything on it.
Could anyone advise me on whether I'm using the correct command to restore my VM full backup? Thank you in advance.
 
Last edited:

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!