ScheduledBackup is the Schema for the scheduledbackups API
5 top-level fields, 2 required · last changed in CloudNativePG v1.19.5
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Specification of the desired behavior of the ScheduledBackup. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Indicates which ownerReference should be put inside the created backup resources.<br /> - none: no owner reference for created backup objects (same behavior as before the field was introduced)<br /> - self: sets the Scheduled backup object as owner of the backup<br /> - cluster: set the cluster as owner of the backup<br />
The cluster to backup
Name of the referent.
If the first backup has to be immediately start after creation or not
The schedule does not follow the same format used in Kubernetes CronJobs as it includes an additional seconds specifier, see https://pkg.go.dev/github.com/robfig/cron#hdr-CRON_Expression_Format
If this backup is suspended or not
The policy to decide which instance should perform this backup. If empty, it defaults to `cluster.spec.backup.target`. Available options are empty string, which will default to `primary` policy, `primary` to have backups run always on primary instances, `prefer-standby` to have backups run preferably on the most updated standby, if available.
Most recently observed status of the ScheduledBackup. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
The latest time the schedule
Information when was the last time that backup was successfully scheduled.
Next time we will run a backup
Source: postgresql.cnpg.io_scheduledbackups.yaml
Changes to ScheduledBackup (postgresql.cnpg.io/v1) in each CloudNativePG version, compared to the version before it.
3 properties are now required
Released · View ScheduledBackup in v1.19.5
1 property has been added
Released · View ScheduledBackup in v1.19.1
1 property has changed the description
Released · View ScheduledBackup in v1.17.2
1 property has changed the description
Released · View ScheduledBackup in v1.17.0
1 property has changed the description
Released · View ScheduledBackup in v1.16.4
1 property has been added
Released · View ScheduledBackup in v1.15.1
ScheduledBackup was first seen on this version of CloudNativePG
Released · View ScheduledBackup in v1.15.0
No examples of ScheduledBackup yet. Contribute one on GitHub.