Reading blob files (qemu-server.conf.blob)

dcsapak

Proxmox Staff Member
Staff member
Feb 1, 2016
8,640
1,126
174
34
Vienna
hi,

if the backup is not encrypted, you can:
* download it via the web interface
* wait until a new package version which contains the 'proxmox-backup-debug' tool (should be in one of the coming updates) and use that
* you can manually decode it (its just zstd compressed with a custom 12 byte header): dd if=/path/to/blob bs=1 skip=12 | zstdcat
* use the proxmox-backup-client on the pbs server to restore it

if the backup is encrypted, you have to use the pbs client from a host that has the key
 

maxprox

Well-Known Member
Aug 23, 2011
405
38
53
Germany - Nordhessen
www.fair-comp.de
one more question please:
In the new Version PBS 2.1.x the described solution above works for me
Code:
proxmox-backup-debug inspect file /srv/pbs4tpool/pbstore/vm/100/2022-04-19T23:45:02Z/qemu-server.conf.blob --decode -
but:
I'm looking for a way to read the pbs log files on command line, and doesn't found any
how I can read the client.log.blob files on command line?
with
Code:
root@pbs~# proxmox-backup-debug inspect file /srv/pbs4tpool/pbstore/vm/100/2022-04-19T23:45:02Z/client.log.blob --decode -
Error: Data blob has wrong CRC checksum.
I only get this error,
any suggestions?

Best regards,
gerd
 
Last edited:

dcsapak

Proxmox Staff Member
Staff member
Feb 1, 2016
8,640
1,126
174
34
Vienna
was the backup done encrypted? if yes the client.log.blob will also be encrypted and you have to give the correct keyfile
 

maxprox

Well-Known Member
Aug 23, 2011
405
38
53
Germany - Nordhessen
www.fair-comp.de
was the backup done encrypted? if yes the client.log.blob will also be encrypted and you have to give the correct keyfile
Hi Dominik,
no, the backup isn't encrypted.
This command in the same directory works for the "qemu-server.conf.blob", an you get the whole text file

Code:
proxmox-backup-debug inspect file /srv/pbs4tpool/pbstore/vm/100/2022-04-19T23:45:02Z/qemu-server.conf.blob --decode -

EDIT:
now I try it on an other machine and there it also works for the "client.log.blob" file:
Code:
root@cloudpbs ~ # proxmox-backup-debug inspect file /srv/pbspool/pbstore/vm/100/2022-04-09T23:33:00Z/client.log.blob --decode -
2022-04-10 01:33:00 INFO: Starting Backup of VM 100 (qemu)
2022-04-10 01:33:00 INFO: status = running
2022-04-10 01:33:00 INFO: VM Name: rumpelstilschen.de
2022-04-10 01:33:00 INFO: include disk 'scsi0' 'local-zfs:vm-100-disk-0' 32G
2022-04-10 01:33:00 INFO: backup mode: snapshot
2022-04-10 01:33:00 INFO: ionice priority: 7
2022-04-10 01:33:00 INFO: creating Proxmox Backup Server archive 'vm/100/2022-04-09T23:33:00Z'
2022-04-10 01:33:00 INFO: issuing guest-agent 'fs-freeze' command
2022-04-10 01:33:01 INFO: issuing guest-agent 'fs-thaw' command
2022-04-10 01:33:01 INFO: started backup task '8f4df015-e365-45e6-9633-8dd2a2ebe72d'
2022-04-10 01:33:01 INFO: resuming VM again
.....
and so on

EDIT II:
Sorry it was my fault: now try an other directory on the same first machine, and it also works fine. perhaps the first client.log.blob file is broken because a reboot or so
Thank you for your Help

regards,
gerd
 
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 your own in 60 seconds.

Buy now!