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

Read backup's last modification timestamp from metadata #1064

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

keeprocking
Copy link

Hello folks,

This patch adds support for reading last modification timestamp for a particular backup from its metadata.

I've encountered a situation just like in wal-g/wal-g#1770: sometimes wal-g backup-list reports wrong last modification timestamp, which breaks the whole point-in-time recovery process.
Luckily, WAL-G has an option (wal-g backup-list --detail) to read some additional information for the given backup from its metadata, including the needed timestamp.

I've already tested the added functionality on a real PostgreSQL cluster at work and it does fix the problem. Let me know, however, if you think that some additional tests should be added.

Thanks.

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

Successfully merging this pull request may close these issues.

1 participant