TASK ERROR: command '/usr/bin/pbs-restore --repository

Sahil

Member
Jun 14, 2022
32
1
6
Hi team,

Greetings,

I am using Proxmox for 1 year I am unable to restore the backup and I am getting the following error

==========================================================================================

Error:

Formatting '/proxdata/images/143/vm-143-cloudinit.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off preallocation=metadata compression_type=zlib size=4194304 lazy_refcounts=off refcount_bits=16
new volume ID is 'proxdata:143/vm-143-cloudinit.qcow2'
Formatting '/proxdata/images/143/vm-143-disk-0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off preallocation=metadata compression_type=zlib size=128849018880 lazy_refcounts=off refcount_bits=16
new volume ID is 'proxdata:143/vm-143-disk-0.qcow2'
restore proxmox backup image: /usr/bin/pbs-restore --repository root@pam@10.0.0.20:setup02 vm/1812/2022-06-16T01:37:58Z drive-scsi0.img.fidx /proxdata/images/143/vm-143-disk-0.qcow2 --verbose --format qcow2 --skip-zero
connecting to repository 'root@pam@10.0.0.20:setup02'
open block backend for target '/proxdata/images/143/vm-143-disk-0.qcow2'
starting to restore snapshot 'vm/1812/2022-06-16T01:37:58Z'
download and verify backup index
restore failed: reading file "/backupserver/setup02/.chunks/5330/53302daee7a748f23e2104967dd7dceabcc61c7d1ad7f069386e513ea3a821bb" failed: No such file or directory (os error 2)
temporary volume 'proxdata:143/vm-143-disk-0.qcow2' sucessfuly removed
error before or during data restore, some or all disks were not completely restored. VM 143 state is NOT cleaned up.
TASK ERROR: command '/usr/bin/pbs-restore --repository root@pam@10.0.0.20:setup02 vm/1812/2022-06-16T01:37:58Z drive-scsi0.img.fidx /proxdata/images/143/vm-143-disk-0.qcow2 --verbose --format qcow2 --skip-zero' failed: exit code 255

=============================================================================================

1657890655997.png

Please check the issue and give us the solution.

Kindly do the needful

Thanks & Regards
Sahil Ahmed F
 
restore failed: reading file "/backupserver/setup02/.chunks/5330/53302daee7a748f23e2104967dd7dceabcc61c7d1ad7f069386e513ea3a821bb" failed: No such file or directory (os error 2)
the chunk is missing, so either you can restore it by syncing the snapshot again from another pbs/tape backup or it gets reuploaded when you do another backup
when both is not working, you can try to use the 'proxmox-backup-debug' tool to restore the images with '--ignore-missing-chunks' but this only replaces the missing chunks with zeroes,
so the data may be corrupt

otherwise there is no way to restore deleted chunks
 
HI.

Thank you for the response and the update,

I have checked the chunks are available, but still, the backup is not restored and throwing this error,

anyhow now I have created another datastore and it is getting restored.

Thanks & Regards
Sahil Ahmed F