BackupSchedule: support automatic backup log truncate
when only maxBackups
is supplied
#6068
Labels
backup log truncate
when only maxBackups
is supplied
#6068
Feature Request
Is your feature request related to a problem? Please describe:
In a BackupSchedule CR, if
logBackupTemplate
is setup, it will run log backup. According to the docs, the streaming logs will be truncated only according tomaxReservedTime
.Expiry of snapshot backup can be configured with either
maxBackups
ormaxReservedTime
. Because theschedule
may be irregular, it is not always possible to usemaxReservedTime
to reproduce the effect ofmaxBackups
.(internal - see GTOC-7367 for details)
Describe the feature you'd like:
When some snapshots are deleted by
maxBackups
, additionally use that oldest snapshot's CommitTS has the TruncateTSO and performbr log truncate
.Describe alternatives you've considered:
Keep the status quo? 🤔
Teachability, Documentation, Adoption, Migration Strategy:
In the BackupSchedule CR documentation, change this sentence:
The text was updated successfully, but these errors were encountered: