I’m trying to get my head around how backup/restore works. I’ve been making non-continuous backups every hour to a blob store, but when I describe these backups, only one of them shows as being restorable=true.
Each snapshot was create successively by running fdb backup start -w
Does this output (specifically the MaxRestorableVersion value) mean that I can only restore data from 0.05 days ago, even though I successfully ran backups 0.00 days ago?
Your output is from describing a successful backup, right?
For your unrestorable backups, did you try running describe with --deep ? I found recently that if you run describe before the backup is complete, it caches the metadata (including that is is incomplete and unrestorable) and still continues to report that if you run describe after the backup completes: Backups not "restorable" after 6.3 upgrade - #2 by amanda
I believe the backups I’m describing are successful - each one terminates with Submitted and now waiting for the backup on tag hourly’ to complete.` and an exit code of 0.
I have tried running the describe command with --deep, but that doesn’t alter the output, in my case.
How is it that the only restorable=true backup is somewhere in the middle of the history?
Is the issue possibly that my database is not being heavily used, (since the totalBytes doesn’t seem to be changing much)
Surely if MaxLogEndVersion is up-to-date, then preceding backups must have succeeded, but if that’s the case, then why is MaxRestorableVersion so far out-of-date?
Is there a way to “re-index” or “scan” the backups and refresh the backup metadata?
I’m on 6.3.16 currently - I’ll try on 6.3.22 today in case…