Backup is the Schema for the backups API
5 top-level fields · last changed in CloudNativePG v1.19.1
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 backup. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
The cluster to backup
Name of the referent.
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 backup. 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 credentials to use to upload data to Azure Blob Storage
The connection string to be used
The key to select
Name of the referent.
Use the Azure AD based authentication without providing explicitly the keys.
The storage account where to upload data
The key to select
Name of the referent.
The storage account key to be used in conjunction with the storage account name
The key to select
Name of the referent.
A shared-access-signature to be used in conjunction with the storage account name
The key to select
Name of the referent.
The ID of the Barman backup
The Name of the Barman backup
The starting xlog
The starting WAL
The backup command output in case of error
Unused. Retained for compatibility with old versions.
The path where to store the backup (i.e. s3://bucket/path/to/folder) this path, with different destination folders, will be used for WALs and for data. This may not be populated in case of errors.
Encryption method required to S3 API
The ending xlog
The ending WAL
EndpointCA store the CA bundle of the barman endpoint. Useful when using self-signed certificates to avoid errors with certificate issuer and barman-cloud-wal-archive.
The key to select
Name of the referent.
Endpoint to be used to upload data to the cloud, overriding the automatic endpoint discovery
The detected error
The credentials to use to upload data to Google Cloud Storage
The secret containing the Google Cloud Storage JSON file with the credentials
The key to select
Name of the referent.
If set to true, will presume that it's running inside a GKE environment, default to false.
Information to identify the instance where the backup has been taken from
The container ID
The pod name
The last backup status
The credentials to use to upload data to S3
The reference to the access key id
The key to select
Name of the referent.
Use the role based authentication without providing explicitly the keys.
The reference to the secret containing the region name
The key to select
Name of the referent.
The reference to the secret access key
The key to select
Name of the referent.
The references to the session key
The key to select
Name of the referent.
The server name on S3, the cluster name is used if this parameter is omitted
When the backup was started
When the backup was terminated
Source: postgresql.cnpg.io_backups.yaml
Changes to Backup (postgresql.cnpg.io/v1) in each CloudNativePG version, compared to the version before it.
2 properties have been added
1 property is no longer required
1 property has changed the description
Released · View Backup in v1.19.1
1 property has been removed
1 property is now required
1 property has changed the description
Released · View Backup in v1.19.0
1 property has been added
1 property is no longer required
1 property has changed the description
Released · View Backup in v1.18.3
1 property is no longer required
1 property has changed the description
Released · View Backup in v1.17.5
2 properties have changed the description
Released · View Backup in v1.16.1
2 properties have been added
Released · View Backup in v1.16.0
Backup was first seen on this version of CloudNativePG
Released · View Backup in v1.15.0
No examples of Backup yet. Contribute one on GitHub.