Use pbs-restore command

seyed514

New Member
May 22, 2023
5
0
1
Hello everyone
To restore a specific disk from a backup, is it correct to use the pbs-restore command directly?
 
Hello everyone
To restore a specific disk from a backup, is it correct to use the pbs-restore command directly?
Hi,
you can directly restore a disk by running
Code:
proxmox-backup-client restore <snapshot> <archive-name> <target>
snapshot will be the name of the snapshot, archive-name the name of the disk as provided by
Code:
proxmox-backup-client list
and target the destination you want the data to write to.
 
Hi,
you can directly restore a disk by running
Code:
proxmox-backup-client restore <snapshot> <archive-name> <target>
snapshot will be the name of the snapshot, archive-name the name of the disk as provided by
Code:
proxmox-backup-client list
and target the destination you want the data to write to.

thanks
but this command not skip zero in sparse file and not convert raw file to qcow2. how can do this?
 
An option would be to map the disk using proxmox-backup-client map <snapshot> <volume> and use qemu-img convert -f raw <loopdevice> -O qcow2 <filename>.qcow2
 
An option would be to map the disk using proxmox-backup-client map <snapshot> <volume> and use qemu-img convert -f raw <loopdevice> -O qcow2 <filename>.qcow2

Thanks, can I use
Bash:
pbs-restore <snapshot> <volume> <filename>.qcow2 --verbose --format qcow2 --skip-zero
instead of map and convert?
 

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!