Description
What is the problem?
On Capella testing of 7.6 we were seeing errors about directory version:
Backup repository creation failed: backup '2023-11-29T07_01_08.857350189Z' is an unsupported version,
|
please use an older version of 'cbbackupmgr'. See the 'Supported Backup Versions' section of the restore documentation for more information
|
When digging into it this appears to be due to a previously failing run of backup. The backup fails due to a network issue at which point it has uploaded the plan but only written the version to disk.
When the staging directory is kept around this is fine - we will notice the backup exists and make the user either resume or purge it. If the staging directory is deleted - something that happens every time the backup node goes down in Capella - then we repopulate the staging directory without a version file, causing this error.
What is the solution?
A couple of ideas come to mind:
- Always upload the version file to cloud storage
- Be tolerant to missing version files
I think #1 is the right way forward here. If the version is missing there could be other reasons (e.g. corruption) that means we should treat the backup as broken.
Attachments
Issue Links
- causes
-
AV-68100 Loading...