@@ -649,6 +649,15 @@ <h3 id="planetscale.com/v2.AzblobBackupLocation">AzblobBackupLocation
649649</ tr >
650650</ tbody >
651651</ table >
652+ < h3 id ="planetscale.com/v2.BackupScope "> BackupScope
653+ (< code > string</ code > alias)</ p > </ h3 >
654+ < p >
655+ (< em > Appears on:</ em >
656+ < a href ="#planetscale.com/v2.VitessBackupScheduleStrategy "> VitessBackupScheduleStrategy</ a > )
657+ </ p >
658+ < p >
659+ < p > BackupScope defines the scope at which a backup strategy operates.</ p >
660+ </ p >
652661< h3 id ="planetscale.com/v2.CephBackupLocation "> CephBackupLocation
653662</ h3 >
654663< p >
@@ -2687,6 +2696,35 @@ <h3 id="planetscale.com/v2.VitessBackupScheduleStatus">VitessBackupScheduleStatu
26872696Note that these are not the times when the last execution started, only the scheduled times.</ p >
26882697</ td >
26892698</ tr >
2699+ < tr >
2700+ < td >
2701+ < code > generatedSchedules</ code > < br >
2702+ < em >
2703+ map[string]string
2704+ </ em >
2705+ </ td >
2706+ < td >
2707+ < em > (Optional)</ em >
2708+ < p > GeneratedSchedules maps expanded strategy names to their generated cron expressions.
2709+ This is populated when Frequency is used instead of Schedule, providing observability
2710+ into the deterministic per-shard cron schedules.</ p >
2711+ </ td >
2712+ </ tr >
2713+ < tr >
2714+ < td >
2715+ < code > nextScheduledTimes</ code > < br >
2716+ < em >
2717+ < a href ="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#*k8s.io/apimachinery/pkg/apis/meta/v1.time-- ">
2718+ map[string]*k8s.io/apimachinery/pkg/apis/meta/v1.Time
2719+ </ a >
2720+ </ em >
2721+ </ td >
2722+ < td >
2723+ < em > (Optional)</ em >
2724+ < p > NextScheduledTimes maps expanded strategy names to the next scheduled execution time.
2725+ This is populated for both cron-based and frequency-based schedules.</ p >
2726+ </ td >
2727+ </ tr >
26902728</ tbody >
26912729</ table >
26922730< h3 id ="planetscale.com/v2.VitessBackupScheduleStrategy "> VitessBackupScheduleStrategy
@@ -2721,13 +2759,30 @@ <h3 id="planetscale.com/v2.VitessBackupScheduleStrategy">VitessBackupScheduleStr
27212759</ tr >
27222760< tr >
27232761< td >
2762+ < code > scope</ code > < br >
2763+ < em >
2764+ < a href ="#planetscale.com/v2.BackupScope ">
2765+ BackupScope
2766+ </ a >
2767+ </ em >
2768+ </ td >
2769+ < td >
2770+ < em > (Optional)</ em >
2771+ < p > Scope defines whether this strategy targets a single Shard, all shards in a Keyspace,
2772+ or all shards in the Cluster. Defaults to “Shard” for backward compatibility.</ p >
2773+ </ td >
2774+ </ tr >
2775+ < tr >
2776+ < td >
27242777< code > keyspace</ code > < br >
27252778< em >
27262779string
27272780</ em >
27282781</ td >
27292782< td >
2730- < p > Keyspace defines the keyspace on which we want to take the backup.</ p >
2783+ < em > (Optional)</ em >
2784+ < p > Keyspace defines the keyspace on which we want to take the backup.
2785+ Required for Shard and Keyspace scopes.</ p >
27312786</ td >
27322787</ tr >
27332788< tr >
@@ -2738,7 +2793,9 @@ <h3 id="planetscale.com/v2.VitessBackupScheduleStrategy">VitessBackupScheduleStr
27382793</ em >
27392794</ td >
27402795< td >
2741- < p > Shard defines the shard on which we want to take a backup.</ p >
2796+ < em > (Optional)</ em >
2797+ < p > Shard defines the shard on which we want to take a backup.
2798+ Required only for Shard scope.</ p >
27422799</ td >
27432800</ tr >
27442801< tr >
@@ -2794,7 +2851,26 @@ <h3 id="planetscale.com/v2.VitessBackupScheduleTemplate">VitessBackupScheduleTem
27942851</ em >
27952852</ td >
27962853< td >
2797- < p > The schedule in Cron format, see < a href ="https://en.wikipedia.org/wiki/Cron "> https://en.wikipedia.org/wiki/Cron</ a > .</ p >
2854+ < em > (Optional)</ em >
2855+ < p > The schedule in Cron format, see < a href ="https://en.wikipedia.org/wiki/Cron "> https://en.wikipedia.org/wiki/Cron</ a > .
2856+ Mutually exclusive with Frequency.</ p >
2857+ </ td >
2858+ </ tr >
2859+ < tr >
2860+ < td >
2861+ < code > frequency</ code > < br >
2862+ < em >
2863+ string
2864+ </ em >
2865+ </ td >
2866+ < td >
2867+ < em > (Optional)</ em >
2868+ < p > Frequency is a Go duration string that defines how often backups should run.
2869+ Since schedules are executed via cron, only frequencies that can be represented exactly
2870+ in cron are supported. Examples include 1m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 12h, and 24h.
2871+ When set, the controller generates deterministic per-shard cron schedules staggered
2872+ across the interval to avoid bandwidth spikes.
2873+ Mutually exclusive with Schedule.</ p >
27982874</ td >
27992875</ tr >
28002876< tr >
0 commit comments