Skip to content

Split backup and retreive backup info#32

Merged
l00ptr merged 2 commits into
mainfrom
split-backup-and-retreive-backup-info
Dec 15, 2025
Merged

Split backup and retreive backup info#32
l00ptr merged 2 commits into
mainfrom
split-backup-and-retreive-backup-info

Conversation

@l00ptr
Copy link
Copy Markdown
Collaborator

@l00ptr l00ptr commented Dec 15, 2025

No description provided.

Refactor PgBackrest.Backup() to return only an error and no longer fetch
backup info. Backup metadata is now retrieved explicitly via
GetBackupInfo() in the backup service.

Update backup action to call GetBackupInfo() after a successful backup.

- Use LatestBackup() to populate BackupResult
- Simplify Backup() by removing implicit info retrieval
- Remove unused env parameter from GetBackupInfo()
@l00ptr l00ptr force-pushed the split-backup-and-retreive-backup-info branch from 0a70473 to cdbff00 Compare December 15, 2025 06:34
Extend RepositoryStatus with a new `recoveryWindow` field. Generate CRD
schema for RecoveryWindow, including first/last backup details. Update
Backup() function to compute first/last backups and update repository
status when taking a backup.
@l00ptr l00ptr force-pushed the split-backup-and-retreive-backup-info branch from cdbff00 to c26fb06 Compare December 15, 2025 06:51
@l00ptr l00ptr merged commit 4386147 into main Dec 15, 2025
4 checks passed
@l00ptr l00ptr deleted the split-backup-and-retreive-backup-info branch April 24, 2026 09:29
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