Backup verified even disk has broken superblock

Aug 31, 2021
2
0
1
48
Dear All,

i have a VM (Univention with Kopano) running nice and it is backed up with Proxmox-Backupserver.
The VM has sda for boot, sdb for data and sdc for swap.

Every Backup if verified ok. Here the backup i needed:
1630402976040.png

Last weekend i had to shut down the VM and was not able to boot it up because of a bad superblock of sdb.
When i restored the backup from the day before, the server also did not start with the same error.
When i selected the backup and opened the "File Restore" it showed me all 3 disk, but only for sda and sdc there was a "part" selectable.
1630402872717.png

Why does not the backupserver also verify the disk if it is accessible or not?

Sure i was able to recover the superblock with testdisk, but a verification-warning would help if the backed up disk is not accessible.
 

dcsapak

Proxmox Staff Member
Staff member
Feb 1, 2016
7,562
900
163
33
Vienna
Last weekend i had to shut down the VM and was not able to boot it up because of a bad superblock of sdb.
When i restored the backup from the day before, the server also did not start with the same error.
it seems the superblock was already damaged when you backed up. the backup saves your disks as is (it cannot really know if its broken or not)
this is the best reason why one should also do restore tests
 
Aug 31, 2021
2
0
1
48
Thank you Dominik for your reply.

Perhaps a featurerequest?
With the new feature of doing a filerestore, wouldn't it be nice, only to check, the accessibility of this in in the backupverificationjob?
Then i do not need to do it myself by clicking on filerestore...

Proxmox is great :)
 

dcsapak

Proxmox Staff Member
Staff member
Feb 1, 2016
7,562
900
163
33
Vienna
With the new feature of doing a filerestore, wouldn't it be nice, only to check, the accessibility of this in in the backupverificationjob?
no that does not work for a couple reasons:
* the server still cannot know what should be on the backup, so 'no partitions' might not be an error
* the file-restore feature for vms only works on pve, not on a pbs server, but the verify is done on the server

IMHO, a small script for pve that automatically queries the file-restore and checks for somethings should not be that complicated,
so it should be possible to write such a thing for your use case and put it in cron (or similar)
 

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!