-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Describe the feature you'd like to have.
For longer snpashot intervals such as yearly snapshots, it would be nice to get an immediate snapshot and then honor the schedule as defined after that. This behavior could be turned on or off with a boolean.
eg; yearly
cron: 0 0 1 1 *
effective date: 2023-01-18
desired action: yearly snapshot created with 2023-01-18 snapshot, then next yearly snapshot on 2024-01-01
For that matter, every schedule could have a flag to create an immediate snapshot if no existing snapshots exist for that interval.
What is the value to the end user? (why is it a priority?)
No manual snapshots needed at the beginning of the snapshot schedule.
No manipulating cron entries to get semi-immediate initial snapshot made for each interval.
How will we know we have a good solution? (acceptance criteria)
Each snapshot schedule adds a flag to create an immediate snapshot. When that flag is set and a schedule is implemented in a namespace, all relevant PVCs are snapshotted immediately and then on their defined schedules afterward.
Additional context
If i get some time, will take a stab at pushing enough characters around the screen to million monkey shakespeare it, until then putting this RFE in. :)