Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backup-fetch does not pull the latest backup when using LATEST as argument (data loss) #398

Open
benmod opened this issue Jul 3, 2018 · 0 comments

Comments

@benmod
Copy link

benmod commented Jul 3, 2018

Current behaviour:

  • When restoring from an Azure Blob Storage (WABS) bucket containing 14 basebackups (and associated WALs), dating from 20th of June to 3rd of July (and not touched since, the last modified date for each of them is the date of their day of creation), using the argument LATEST as the backup name (to get the latest backup).
  • The restore process takes place and completes, but uses the basebackup from the 27th of June. The database then works perfectly but all the data added between the 27th of June and the 2nd of July is lost.
  • When specifying the name of the latest basebackup instead (base_xxxx), it restores perfectly with the latest basebackup and function with all the data.

Expected behaviour:

  • When restoring from an Azure Blob Storage (WABS) bucket containing 14 basebackups (and associated WALs), dating from 20th of June to 3rd of July (and not touched since, the last modified date for each of them is the date of their day of creation), using the argument LATEST as the backup name (to get the latest backup).
  • The restore process should take place and complete with the latest basebackup (dating from 3rd of July) without having to specify it by name. Or throw and explicit error if for some reason the latest basebackup is not accessible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant